6c6d94640a
pasosdeJesus.org). Tweaks and help from landry@. ok landry@
61 lines
2.1 KiB
Plaintext
61 lines
2.1 KiB
Plaintext
$OpenBSD: patch-configure,v 1.6 2010/04/08 09:50:06 stephan Exp $
|
|
--- configure.orig Tue Oct 20 10:46:34 2009
|
|
+++ configure Fri Mar 26 07:38:59 2010
|
|
@@ -5458,7 +5458,7 @@ elif test $ac_cv_prog_cxx_g = yes; then
|
|
fi
|
|
else
|
|
if test "$GXX" = yes; then
|
|
- CXXFLAGS="-O2"
|
|
+ CXXFLAGS=
|
|
else
|
|
CXXFLAGS=
|
|
fi
|
|
@@ -8832,13 +8832,13 @@ fi
|
|
|
|
else
|
|
# Some library is needed. Try libpthread and libc_r.
|
|
- { echo "$as_me:$LINENO: checking for pthread_kill in -lpthread" >&5
|
|
-echo $ECHO_N "checking for pthread_kill in -lpthread... $ECHO_C" >&6; }
|
|
+ { echo "$as_me:$LINENO: checking for pthread_kill in -pthread" >&5
|
|
+echo $ECHO_N "checking for pthread_kill in -pthread... $ECHO_C" >&6; }
|
|
if test "${ac_cv_lib_pthread_pthread_kill+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
|
|
@@ -8895,8 +8895,8 @@ fi
|
|
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_kill" >&6; }
|
|
if test $ac_cv_lib_pthread_pthread_kill = yes; then
|
|
gl_have_pthread=yes
|
|
- LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
|
|
- LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
|
|
+ LIBTHREAD=-pthread LTLIBTHREAD=-pthread
|
|
+ LIBMULTITHREAD=-pthread LTLIBMULTITHREAD=-pthread
|
|
fi
|
|
|
|
if test -z "$gl_have_pthread"; then
|
|
@@ -21720,7 +21720,7 @@ LIBTHREAD!$LIBTHREAD$ac_delim
|
|
LTLIBTHREAD!$LTLIBTHREAD$ac_delim
|
|
LIBMULTITHREAD!$LIBMULTITHREAD$ac_delim
|
|
LTLIBMULTITHREAD!$LTLIBMULTITHREAD$ac_delim
|
|
-LIBICONV!$LIBICONV$ac_delim
|
|
+LIBICONV!$LTLIBICONV$ac_delim
|
|
LTLIBICONV!$LTLIBICONV$ac_delim
|
|
INTLBISON!$INTLBISON$ac_delim
|
|
GLIBC21!$GLIBC21$ac_delim
|
|
@@ -21737,8 +21737,8 @@ INSTOBJEXT!$INSTOBJEXT$ac_delim
|
|
GENCAT!$GENCAT$ac_delim
|
|
INTLOBJS!$INTLOBJS$ac_delim
|
|
INTL_LIBTOOL_SUFFIX_PREFIX!$INTL_LIBTOOL_SUFFIX_PREFIX$ac_delim
|
|
-INTLLIBS!$INTLLIBS$ac_delim
|
|
-LIBINTL!$LIBINTL$ac_delim
|
|
+INTLLIBS!$LTLIBINTL$ac_delim
|
|
+LIBINTL!$LTLIBINTL$ac_delim
|
|
LTLIBINTL!$LTLIBINTL$ac_delim
|
|
POSUB!$POSUB$ac_delim
|
|
XMKMF!$XMKMF$ac_delim
|