pkgsrc/emulators/uae/patches/patch-ac
2006-04-28 15:10:18 +00:00

44 lines
1.5 KiB
Text

$NetBSD: patch-ac,v 1.10 2006/04/28 15:10:18 joerg Exp $
--- configure.orig 2005-07-01 13:00:17.000000000 +0000
+++ configure
@@ -12767,7 +12767,7 @@ echo "$as_me:$LINENO: checking for pthre
echo $ECHO_N "checking for pthread library... $ECHO_C" >&6
TMP_SAVE_CFLAGS=$CFLAGS
TMP_SAVE_LIBS=$LIBS
-LIBS="$LIBS -lpthread"
+LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -14385,16 +14385,16 @@ else if [ "x$WANT_ALSA" = "xyes" ]; then
echo "${ECHO_T}ALSA" >&6
SOUNDDEP=sd-alsa
USE_SOUND=yes
-else if [ "x$HAVE_USS_SOUND" = "xyes" ]; then
- echo "$as_me:$LINENO: result: USS" >&5
-echo "${ECHO_T}USS" >&6
- SOUNDDEP=sd-uss
- USE_SOUND=yes
else if [ "x$ac_cv_header_sys_audioio_h" = "xyes" -o "x$ac_cv_header_sun_audioio_h" = "xyes" ]; then
echo "$as_me:$LINENO: result: Solaris/NetBSD" >&5
echo "${ECHO_T}Solaris/NetBSD" >&6
SOUNDDEP=sd-solaris
USE_SOUND=yes
+else if [ "x$HAVE_USS_SOUND" = "xyes" ]; then
+ echo "$as_me:$LINENO: result: USS" >&5
+echo "${ECHO_T}USS" >&6
+ SOUNDDEP=sd-uss
+ USE_SOUND=yes
else if [ "x$HAVE_AF_LIB" = "xyes" ]; then
echo "$as_me:$LINENO: result: AF sound" >&5
echo "${ECHO_T}AF sound" >&6
@@ -14466,7 +14466,7 @@ if [ "x$USE_THREADS" = "xyes" -o "x$NEED
else if [ "x$HAVE_PTHREAD_LIB" = "xyes" ]; then
THREADDEP=td-posix
CFLAGS="$CFLAGS -DSUPPORT_THREADS -D_REENTRANT"
- LIBS="$LIBS -lpthread"
+ LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
if [ "x$HAVE_POSIX4_LIB" = "xyes" ]; then
LIBS="$LIBS -lposix4"
fi