summaryrefslogtreecommitdiff
path: root/recordmydesktop/configure.ac
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2009-01-10 11:35:06 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2009-01-10 11:35:06 +0000
commitfc7f2f1b2aa271bed2fa9130e4a0c9b4a4034cbb (patch)
tree9e83c1a91b983b5ba6a1fbab343ef913b6513cf0 /recordmydesktop/configure.ac
parent07469d8b9000aeb7285e4422a1c7c8b6f8ed4a61 (diff)
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
Diffstat (limited to 'recordmydesktop/configure.ac')
-rw-r--r--recordmydesktop/configure.ac5
1 files changed, 4 insertions, 1 deletions
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
© All Rights Reserved