9298370ad5
- convert @perl goo to SUBST_CMD "looks good" pval@
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
$OpenBSD: patch-configure,v 1.4 2008/06/09 23:46:20 okan Exp $
|
|
--- configure.orig Sat Apr 19 16:17:12 2008
|
|
+++ configure Sat May 31 14:32:07 2008
|
|
@@ -3867,7 +3867,6 @@ fi
|
|
rend_posix=true
|
|
|
|
STATIC_LIBS=no
|
|
-CPPFLAGS="${CPPFLAGS} -g"
|
|
|
|
{ echo "$as_me:$LINENO: checking for pthread_creat in -lc_r" >&5
|
|
echo $ECHO_N "checking for pthread_creat in -lc_r... $ECHO_C" >&6; }
|
|
@@ -3950,13 +3949,13 @@ if test $ac_cv_lib_c_r_pthread_creat = yes; then
|
|
LDFLAGS="${LDFLAGS} -lc_r"
|
|
else
|
|
|
|
- { 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
|
|
@@ -4028,7 +4027,7 @@ fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
|
|
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
|
|
if test $ac_cv_lib_pthread_pthread_create = yes; then
|
|
- LDFLAGS="${LDFLAGS} -lpthread"
|
|
+ LDFLAGS="${LDFLAGS} -pthread"
|
|
fi
|
|
|
|
fi
|