mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-27 03:50:29 +00:00
configure.ac : Add patch from Conrad Parker to add --disable-jack.
This commit is contained in:
commit
1aa663f9ed
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user