From fc7f2f1b2aa271bed2fa9130e4a0c9b4a4034cbb Mon Sep 17 00:00:00 2001 From: enselic Date: Sat, 10 Jan 2009 11:35:06 +0000 Subject: configure.ac: Fix check for libjack by adding default actions to action-if-found. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@587 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'recordmydesktop') diff --git a/recordmydesktop/configure.ac b/recordmydesktop/configure.ac index 2de2f9e..a345529 100644 --- a/recordmydesktop/configure.ac +++ b/recordmydesktop/configure.ac @@ -95,7 +95,10 @@ AC_CHECK_LIB([pthread],[pthread_mutex_lock],, AC_MSG_ERROR([Can't find libpthread])) if test x$jack = xtrue ; then -AC_CHECK_LIB([jack],[jack_activate],jack_lib_found=true,) +AC_CHECK_LIB([jack],[jack_activate], + [LIBS="$LIBS -ljack" + AC_DEFINE([HAVE_LIBJACK], [1], [Define to 1 if you have libjack.]) + jack_lib_found=true]) fi if test x$oss = xfalse; then -- cgit v1.2.3