From dc09b6e5ecc38f0051b5bc66eefcdd7108ccd797 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 24 Mar 2007 11:28:22 +0000 Subject: [PATCH] this should fix the jack test --- configure.ac | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index e4a8472b5..3e8985cfe 100644 --- a/configure.ac +++ b/configure.ac @@ -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