summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorSantiago Carot-Nemesio <sancane@gmail.com>2012-01-25 14:12:39 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-03 10:45:17 -0800
commit82ad2b53d24d53b4d0c6b445d572534b3a01b818 (patch)
tree414a878ec511a3a4ca35c526bf5f57f7d1a8ff63 /acinclude.m4
parentef3a19375ff1266505fdb03ae39e24c159fba484 (diff)
downloadbluez-82ad2b53d24d53b4d0c6b445d572534b3a01b818.tar.gz
glib-compat: Add g_list_free_full to deal with issues in old GLib versions
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 57fc5e0eb..48a59a2be 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -111,6 +111,9 @@ AC_DEFUN([AC_PATH_GLIB], [
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.]))
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
])