From b9e1ef0522fd3aabc8f8ba9f4403d9301e5e9207 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 20 Apr 2008 08:34:02 +0200 Subject: [PATCH] Check for GLib development files --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index 402120d..042f85b 100644 --- a/configure.in +++ b/configure.in @@ -44,6 +44,11 @@ AC_ARG_ENABLE(pie, AC_HELP_STRING([--enable-pie], AC_PATH_PROG(DHCLIENT, [dhclient]) AC_PATH_PROG(WPASUPPLICANT, [wpa_supplicant]) +PKG_CHECK_MODULES(GLIB, glib-2.0, dummy=yes, + AC_MSG_ERROR(glib is required)) +AC_SUBST(GLIB_CFLAGS) +AC_SUBST(GLIB_LIBS) + PKG_CHECK_MODULES(GTHREAD, gthread-2.0, dummy=yes, AC_MSG_ERROR(gthread is required)) AC_SUBST(GTHREAD_CFLAGS) -- 2.7.4