summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-02-01 12:47:55 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-02-01 12:47:55 +0000
commitafd6fc8027379f34b6e5934defcec8a45cf4c357 (patch)
treea6c11a7849c64a118f038e0e2bbd21a537011335 /acinclude.m4
parent767e85b10ab1ae294e6d9128250544b225a6e680 (diff)
Avoid adding of -ldl if not needed
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index e1d981a0..37040480 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -101,7 +101,7 @@ AC_DEFUN([AC_PATH_GLIB], [
AC_DEFUN([AC_PATH_GMODULE], [
PKG_CHECK_MODULES(GMODULE, gmodule-2.0, gmodule_found=yes, gmodule_found=no)
- AC_CHECK_LIB(dl, dlopen)
+ AC_CHECK_LIB(dl, dlopen, dummy=yes, dummy=no)
AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
])