summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recordmydesktop/configure.ac14
1 files changed, 12 insertions, 2 deletions
diff --git a/recordmydesktop/configure.ac b/recordmydesktop/configure.ac
index ee3e966..ef7da98 100644
--- a/recordmydesktop/configure.ac
+++ b/recordmydesktop/configure.ac
@@ -3,7 +3,7 @@
AC_PREREQ(2.59)
AC_INIT(src/recordmydesktop.c)
-AM_INIT_AUTOMAKE(recordmydesktop,0.3.5,)
+AM_INIT_AUTOMAKE(recordmydesktop,0.3.5.1,)
AC_CONFIG_SRCDIR([src/recordmydesktop.c])
AM_CONFIG_HEADER(config.h)
@@ -14,6 +14,8 @@ AM_CONFIG_HEADER(config.h)
AC_PROG_CC
+AC_CANONICAL_HOST
+
# Checks for header files.
AC_HEADER_DIRENT
@@ -104,7 +106,15 @@ else
fi
if test x$jack_headers_present = xtrue; then
- AC_CHECK_LIB([dl],[dlopen],,libdl_np=true)
+ case "$host_os" in
+ *bsd*)
+ AC_CHECK_LIB([c], [dlopen],,libdl_np=true)
+ ;;
+ *)
+ AC_CHECK_LIB([dl],[dlopen],,libdl_np=true)
+ ;;
+ esac
+
if test x$libdl_np != xtrue; then
AC_DEFINE([HAVE_JACK_H],1,
define to 1 if <jack/jack.h> exists)
© All Rights Reserved