configure.ac: detect jack_set_info_function()

jack_set_info_function() is not provided by older libjack versions.
Attempt to detect if it is available.
This commit is contained in:
Max Kellermann
2009-01-30 19:43:25 +01:00
parent 5b85288664
commit 5900827675
2 changed files with 15 additions and 0 deletions

View File

@@ -620,6 +620,16 @@ if test x$enable_jack = xyes; then
[enable_jack=no;AC_MSG_WARN([JACK not found -- disabling])])
fi
if test x$enable_jack = xyes; then
# check whether jack_set_info_function() is available
old_LIBS=$LIBS
LIBS="$LIBS $JACK_LIBS"
AC_CHECK_FUNCS(jack_set_info_function)
LIBS=$old_LIBS
fi
AM_CONDITIONAL(HAVE_JACK, test x$enable_jack = xyes)
if test x$enable_id3 = xyes; then