openbsd-ports/audio/portaudio-svn/patches/patch-configure
2008-03-24 05:26:46 +00:00

41 lines
1.3 KiB
Plaintext

$OpenBSD: patch-configure,v 1.2 2008/03/24 05:26:46 jakemsr Exp $
--- configure.orig Mon Feb 25 17:37:48 2008
+++ configure Mon Feb 25 18:37:09 2008
@@ -19799,7 +19799,7 @@ fi
-for ac_header in sys/soundcard.h linux/soundcard.h machine/soundcard.h
+for ac_header in sys/soundcard.h linux/soundcard.h machine/soundcard.h soundcard.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
@@ -21711,13 +21711,13 @@ _ACEOF
*)
- { 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
@@ -21823,8 +21823,8 @@ _ACEOF
fi
- DLL_LIBS="$DLL_LIBS -lm -lpthread"
- LIBS="$LIBS -lm -lpthread"
+ DLL_LIBS="$DLL_LIBS -lm -pthread"
+ LIBS="$LIBS -lm -pthread"
PADLL="libportaudio.so"
## support sun cc compiler flags