summaryrefslogtreecommitdiff
path: root/games/flightgear-data/files/patch-aa
blob: 1a304ab52cb7396924b73c54b93056fbf6abc5b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- 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