From efeaceed9d6280f41318405b37a6f385e44b169b Mon Sep 17 00:00:00 2001 From: iovar Date: Tue, 17 Jul 2007 23:54:40 +0000 Subject: 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 --- recordmydesktop/configure.ac | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'recordmydesktop/configure.ac') 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 exists) -- cgit v1.2.1