mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
this should fix the jack test
This commit is contained in:
parent
605d7bde6a
commit
dc09b6e5ec
1 changed files with 3 additions and 8 deletions
|
@ -958,7 +958,6 @@ AC_ARG_ENABLE(sound,
|
|||
[ --disable-sound disable sound outright])
|
||||
|
||||
unset SOUND_TYPES
|
||||
AC_MSG_CHECKING(for sound support)
|
||||
|
||||
HAVE_ALSA=no
|
||||
if test "x$enable_alsa" != "xno"; then
|
||||
|
@ -1042,7 +1041,9 @@ JACK_LIBS=""
|
|||
if test "x$enable_jack" != "xno"; then
|
||||
if test "x$PKG_CONFIG" != "x"; then
|
||||
PKG_CHECK_MODULES([JACK], [jack], HAVE_JACK=yes, HAVE_JACK=no)
|
||||
if test "x$HAVE_JACK" = "xyes"; then
|
||||
SOUND_TYPES="$SOUND_TYPES JACK"
|
||||
fi
|
||||
else
|
||||
AC_CHECK_LIB(jack, jack_client_open, HAVE_JACK=yes, HAVE_JACK=no,
|
||||
[$LIBS])
|
||||
|
@ -1181,12 +1182,6 @@ if test "x$enable_sound" = "xno"; then
|
|||
unset SOUND_TYPES
|
||||
fi
|
||||
|
||||
if test "$SOUND_TYPES"; then
|
||||
AC_MSG_RESULT([$SOUND_TYPES])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
|
||||
dnl Tests for joystick support
|
||||
AC_MSG_CHECKING(for joystick support)
|
||||
if test -z "$JOYTYPE" -a "x$ac_cv_header_linux_joystick_h" = "xyes"; then
|
||||
|
|
Loading…
Reference in a new issue