1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/games/flightgear/files/patch-aa
Dag-Erling Smørgrav deef1edf2e Use threads. Temporarily add an extra dependency on SimGear to make sure
we get a version that was compiled with thread support.
2003-03-03 20:26:50 +00:00

37 lines
1.1 KiB
Plaintext

--- configure.orig Thu Dec 5 16:31:39 2002
+++ configure Mon Mar 3 13:00:03 2003
@@ -4206,6 +4206,7 @@
if test -r /usr/include/soundcard.h \
-o -r /usr/include/linux/soundcard.h \
-o -r /usr/include/machine/soundcard.h \
+ -o -r /usr/include/sys/soundcard.h \
-o -r /usr/include/audio.h \
-o "x$ac_cv_header_windows_h" = "xyes" \
-o "$HOSTTYPE" = "macintosh"; then
@@ -5385,13 +5386,13 @@
base_LIBS="$LIBS"
-echo "$as_me:$LINENO: checking for pthread_exit in -lpthread" >&5
-echo $ECHO_N "checking for pthread_exit in -lpthread... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking for pthread_exit in -pthread" >&5
+echo $ECHO_N "checking for pthread_exit in -pthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_pthread_exit+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
#line $LINENO "configure"
#include "confdefs.h"
@@ -5439,7 +5440,7 @@
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
fi