From: Marcel Holtmann Date: Sun, 18 Jan 2009 12:40:15 +0000 (+0100) Subject: Require GLib 2.16 or later for GHashTableIter support X-Git-Tag: accepted/2.0alpha-wayland/20121110.002834~4063 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04cde7cfde844455325ad03cf2e61ea2da4adf15;p=profile%2Fivi%2Fconnman.git Require GLib 2.16 or later for GHashTableIter support --- diff --git a/configure.ac b/configure.ac index 5ef1863..61870b6 100644 --- a/configure.ac +++ b/configure.ac @@ -150,21 +150,21 @@ AM_CONDITIONAL(PPPD, test "${enable_ppp}" = "yes") 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)) +PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.16, dummy=yes, + AC_MSG_ERROR(GLib >= 2.16 is required)) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) if (test "${enable_threads}" = "yes"); then AC_DEFINE(NEED_THREADS, 1, [Define if threading support is required]) - PKG_CHECK_MODULES(GTHREAD, gthread-2.0, dummy=yes, - AC_MSG_ERROR(gthread is required)) + PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= 2.16, dummy=yes, + AC_MSG_ERROR(GThread >= 2.16 is required)) GLIB_CFLAGS="$GLIB_CFLAGS $GTHREAD_CFLAGS" GLIB_LIBS="$GLIB_LIBS $GTHREAD_LIBS" fi PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.0, dummy=yes, - AC_MSG_ERROR(libdbus is required)) + AC_MSG_ERROR(D-Bus >= 1.0 is required)) AC_SUBST(DBUS_CFLAGS) AC_SUBST(DBUS_LIBS) DBUS_DATADIR="`$PKG_CONFIG --variable=sysconfdir dbus-1`"