From e614891d38cae63957d0bfc00d34ecdbad4f8322 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 20 Jan 2006 22:56:11 +0000 Subject: * add new API function avahi_nss_support() * add new DBUS method Server.IsNSSSupportAvailable() * add support for IsNSSSupportAvailabke() to avahi-bookmarks git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1092 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e412a2f..efa0d5e 100644 --- a/configure.ac +++ b/configure.ac @@ -235,6 +235,12 @@ if test "x$enable_chroot" = "xyes" ; then AC_DEFINE([ENABLE_CHROOT], 1, [Enable chroot() usage]) fi +AC_CHECK_LIB(dl, dlopen, [ AC_CHECK_HEADERS(dlfcn.h, HAVE_DLOPEN=yes, HAVE_DLOPEN=no) ], HAVE_DLOPEN=no) +if test "x$HAVE_DLOPEN" = "xyes" ; then + AC_DEFINE([HAVE_DLOPEN],1,[Have dlopen()]) +fi +AM_CONDITIONAL(HAVE_DLOPEN, test "x$HAVE_DLOPEN" = "xyes") + # Check for pkg-config manually first, as if its not installed the # PKG_PROG_PKG_CONFIG macro won't be defined. AC_CHECK_PROG(have_pkg_config, pkg-config, yes, no) -- cgit