$OpenBSD: patch-configure,v 1.2 2010/03/21 10:25:55 ajacoutot Exp $ Don't use built-in timezone, but the system one. --- configure.orig Sun Sep 27 04:40:12 2009 +++ configure Wed Jan 13 16:54:57 2010 @@ -19096,6 +19096,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 @@ -19579,13 +19583,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 @@ -19653,7 +19657,7 @@ cat >>confdefs.h <<\_ACEOF #define HAVE_PTHREAD _ACEOF - PTHREAD_LIBS=-lpthread + PTHREAD_LIBS=-pthread fi;; esac