$OpenBSD: patch-configure,v 1.3 2011/10/02 08:55:40 ajacoutot Exp $

Don't use built-in timezone, but the system one.

--- configure.orig	Mon Aug 30 22:09:44 2010
+++ configure	Sat Oct  1 11:46:25 2011
@@ -19098,6 +19098,10 @@ case "$host" in
     use_builtin_timezone=no
     os_win32=no
     ;;
+*openbsd*)
+    use_builtin_timezone=no
+    os_win32=no
+    ;;
 *)
     use_builtin_timezone=yes
     os_win32=no
@@ -19581,13 +19585,13 @@ _ACEOF
 		PTHREAD_LIBS=-pthread;;
 
 	*)
-	echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
+	echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6
 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread  $LIBS"
+LIBS="-pthread  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -19655,7 +19659,7 @@ cat >>confdefs.h <<\_ACEOF
 #define HAVE_PTHREAD
 _ACEOF
 
-	   PTHREAD_LIBS=-lpthread
+	   PTHREAD_LIBS=-pthread
 	fi;;
 esac
 
