this should fix the jack test

This commit is contained in:
Bill Currie 2007-03-24 11:28:22 +00:00 committed by Jeff Teunissen
parent 605d7bde6a
commit dc09b6e5ec

View file

@ -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)
SOUND_TYPES="$SOUND_TYPES JACK"
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