configure.ac : Add patch from Conrad Parker to add --disable-jack.

This commit is contained in:
Erik de Castro Lopo 2009-06-24 18:53:01 +10:00
commit 1aa663f9ed
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Add patch from Conrad Parker to add --disable-jack.
2009-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/alaw.c src/float32.c src/htk.c src/pcm.c src/sds.c src/ulaw.c

View File

@ -121,6 +121,9 @@ AC_ARG_ENABLE(bow-docs,
AC_ARG_ENABLE(sqlite,
AC_HELP_STRING([--disable-sqlite], [disable use of sqlite]))
AC_ARG_ENABLE(jack,
AC_HELP_STRING([--disable-jack], [disable use of JACK]))
AC_ARG_ENABLE(alsa,
AC_HELP_STRING([--disable-alsa], [disable use of ALSA]))
@ -353,7 +356,11 @@ AC_DEFINE_UNQUOTED([HAVE_SQLITE3],$HAVE_SQLITE3,[Set to 1 if you have libsqlite3
#====================================================================================
# Check for JACK (only used for examples/sndfile-jackplay).
PKG_CHECK_MOD_VERSION(JACK, jack >= 0.100, ac_cv_jack=yes, ac_cv_jack=no)
ac_cv_jack=no
if test x$enable_jack != xno ; then
PKG_CHECK_MOD_VERSION(JACK, jack >= 0.100, ac_cv_jack=yes, ac_cv_jack=no)
fi
if test x$ac_cv_jack = "xyes" ; then
HAVE_JACK=1