summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-10-14 17:39:39 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-10-14 17:39:39 +0200
commita8f986749e6ae18eadc1a681fc9d9b534200e559 (patch)
treea6c90c5f7624be9039f07caa9697ced475dfd9b6 /configure.ac
parent2be75e86beed6bee061266354854dd5bd5d0204b (diff)
downloadconnman-a8f986749e6ae18eadc1a681fc9d9b534200e559.tar.gz
connman-a8f986749e6ae18eadc1a681fc9d9b534200e559.tar.bz2
connman-a8f986749e6ae18eadc1a681fc9d9b534200e559.zip
Use dynamic linking loader directly
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 3 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 1d438b17..11078965 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,6 +48,9 @@ AC_ARG_ENABLE(pie, AC_HELP_STRING([--enable-pie],
AC_PATH_PROG(DHCLIENT, [dhclient], ,$PATH:/sbin:/usr/sbin)
AC_PATH_PROG(WPASUPPLICANT, [wpa_supplicant], ,$PATH:/sbin:/usr/sbin)
+AC_CHECK_LIB(dl, dlopen, dummy=yes,
+ AC_MSG_ERROR(dynamic linking loader is required))
+
PKG_CHECK_MODULES(GLIB, glib-2.0, dummy=yes,
AC_MSG_ERROR(glib is required))
AC_SUBST(GLIB_CFLAGS)
@@ -58,11 +61,6 @@ PKG_CHECK_MODULES(GTHREAD, gthread-2.0, dummy=yes,
AC_SUBST(GTHREAD_CFLAGS)
AC_SUBST(GTHREAD_LIBS)
-PKG_CHECK_MODULES(GMODULE, gmodule-2.0, dummy=yes,
- AC_MSG_ERROR(gmodule is required))
-AC_SUBST(GMODULE_CFLAGS)
-AC_SUBST(GMODULE_LIBS)
-
PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.0, dummy=yes,
AC_MSG_ERROR(libdbus is required))
AC_SUBST(DBUS_CFLAGS)