diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-07-17 23:54:40 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-07-17 23:54:40 +0000 |
commit | efeaceed9d6280f41318405b37a6f385e44b169b (patch) | |
tree | 93a6667fb83a413ebabb62a6ff5c433d73dde7fc /recordmydesktop/configure.ac | |
parent | fbf943215a37482aa237b58a6e01c2bb795bc4c6 (diff) |
configure.ac: version change to 0.3.5.1, fixed lookup of dlopen to be
on libc when the host is of type *BSD.
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@393 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/configure.ac')
-rw-r--r-- | recordmydesktop/configure.ac | 14 |
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) |