diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-01-20 22:56:11 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-01-20 22:56:11 +0000 |
commit | e614891d38cae63957d0bfc00d34ecdbad4f8322 (patch) | |
tree | 55336f0efd0999e0ed17bec823470844587fe65c /configure.ac | |
parent | 7d59b3ba820c19488b0637b5dd9798deb68fb0dc (diff) |
* 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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
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) |