3940040a18
- regen PLIST - update patch ok ajacoutot@
41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
$OpenBSD: patch-configure,v 1.2 2009/12/23 12:01:10 benoit Exp $
|
|
--- configure.orig Wed Dec 9 07:35:12 2009
|
|
+++ configure Fri Dec 18 11:35:20 2009
|
|
@@ -18758,8 +18758,8 @@
|
|
case "$host_os" in
|
|
darwin*) CFLAGS="-g -O2 -Wall"
|
|
LDFLAGS="-headerpad_max_install_names";;
|
|
-*) CFLAGS="-g -O6 -Wall"
|
|
- CXXFLAGS="-g -O6 -Wall";;
|
|
+*) CFLAGS="-g -Wall"
|
|
+ CXXFLAGS="-g -Wall";;
|
|
esac
|
|
|
|
if test $CC = "gcc"; then
|
|
@@ -19548,13 +19548,13 @@
|
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
|
|
-{ $as_echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
|
|
-$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
|
|
+{ $as_echo "$as_me:$LINENO: checking for pthread_mutex_init in -pthread" >&5
|
|
+$as_echo_n "checking for pthread_mutex_init in -pthread... " >&6; }
|
|
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lpthread $LIBS"
|
|
+LIBS="-pthread $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -19614,7 +19614,7 @@
|
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
|
|
$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
|
|
if test "x$ac_cv_lib_pthread_pthread_mutex_init" = x""yes; then
|
|
- THREAD_LIBS="-lpthread"
|
|
+ THREAD_LIBS="-pthread"
|
|
else
|
|
THREAD_LIBS=""
|
|
fi
|