aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2011-09-01 12:18:55 +0200
committerJiri Vanek <[email protected]>2011-09-01 12:18:55 +0200
commitbe9d4a2f8b5399e806f69ad3ff08bbb5665492b9 (patch)
treefd389303acc8fef67198fb4182b33032eaf4165e /acinclude.m4
parent55136f436dd81bba4e5d849efdfb61b14e47a531 (diff)
made compatible with rhel5 libraries
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index c5b9f4c..4d84244 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -484,6 +484,10 @@ AM_CONDITIONAL(HAS_PKGVERSION, test "x${PKGVERSION}" != "xnone")
AC_SUBST(PKGVERSION)
])
+AC_DEFUN_ONCE([IT_CHECK_GLIB_VERSION],[
+ PKG_CHECK_MODULES([GLIB2_V_216],[glib-2.0 >= 2.16],[],[AC_DEFINE([LEGACY_GLIB])])
+ ])
+
AC_DEFUN([IT_CHECK_WITH_GCJ],
[
AC_MSG_CHECKING([whether to compile ecj natively])