aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-04-16 18:17:30 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-04-16 18:23:02 +0200
commit1a79248e6be548696715f3bb2ddcf01630cf2c69 (patch)
tree8838cd96aee2f5da94d62c7829d70632da032e27
parent2c8caaf0ba13afea5c2603859339cb1deb0ba671 (diff)
downloadbluez-1a79248e6be548696715f3bb2ddcf01630cf2c69.tar.gz
bluez-1a79248e6be548696715f3bb2ddcf01630cf2c69.tar.xz
bluez-1a79248e6be548696715f3bb2ddcf01630cf2c69.zip
build: Require GLib 2.28 or later
-rw-r--r--acinclude.m410
1 files changed, 2 insertions, 8 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index d83e2e9d..dcf9a482 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -99,14 +99,8 @@ AC_DEFUN([AC_PATH_DBUS], [
])
AC_DEFUN([AC_PATH_GLIB], [
- PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.16, dummy=yes,
- AC_MSG_ERROR(GLib library version 2.16 or later is required))
- AC_CHECK_LIB(glib-2.0, g_slist_free_full, dummy=yes,
- AC_DEFINE(NEED_G_SLIST_FREE_FULL, 1,
- [Define to 1 if you need g_slist_free_full() function.]))
- AC_CHECK_LIB(glib-2.0, g_list_free_full, dummy=yes,
- AC_DEFINE(NEED_G_LIST_FREE_FULL, 1,
- [Define to 1 if you need g_list_free_full() function.]))
+ PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.28, dummy=yes,
+ AC_MSG_ERROR(GLib >= 2.28 is required))
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
])