a55a56f8d2
From MAINTAINER Remi Pointel with lots of tweaks from ajacoutot@ ok ajacoutot@
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
$OpenBSD: patch-configure,v 1.1.1.1 2010/09/06 18:55:42 landry Exp $
|
|
--- configure.orig Sun Sep 5 17:09:07 2010
|
|
+++ configure Sun Sep 5 17:10:29 2010
|
|
@@ -4300,13 +4300,13 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
|
|
|
|
|
|
-{ 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
|
|
@@ -4378,7 +4378,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
|
|
- LIBS="$LIBS -lpthread"
|
|
+ LIBS="$LIBS -pthread"
|
|
else
|
|
{ { echo "$as_me:$LINENO: error: pthread library is required" >&5
|
|
echo "$as_me: error: pthread library is required" >&2;}
|
|
@@ -9538,10 +9538,10 @@ host_cpu!$host_cpu$ac_delim
|
|
host_vendor!$host_vendor$ac_delim
|
|
host_os!$host_os$ac_delim
|
|
INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
|
|
-LIBICONV!$LIBICONV$ac_delim
|
|
+LIBICONV!$LTLIBICONV$ac_delim
|
|
LTLIBICONV!$LTLIBICONV$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
|
|
LIBOBJS!$LIBOBJS$ac_delim
|