mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
$NetBSD: patch-ak,v 1.11 2010/01/19 20:33:26 drochner Exp $
|
|
|
|
--- configure.orig 2010-01-01 01:02:28.000000000 +0000
|
|
+++ configure
|
|
@@ -11614,7 +11614,7 @@ $as_echo "$ac_cv_always_inline" >&6; }
|
|
fi
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
-#define always_inline $always_inline
|
|
+#define gxine_always_inline $always_inline
|
|
_ACEOF
|
|
|
|
|
|
@@ -16578,14 +16578,14 @@ case $host in
|
|
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
|
;;
|
|
*)
|
|
- THREAD_LIBS="-lpthread"
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
|
|
-$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
|
|
+ THREAD_LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
|
|
+$as_echo_n "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... " >&6; }
|
|
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lpthread $LIBS"
|
|
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|