blob: 676fb4a589b4fc18b6a3872b2dfa938d365bc58d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- configure.ac.old 2007-01-18 17:54:08.000000000 +0100
+++ configure.ac 2007-01-18 17:57:38.000000000 +0100
@@ -119,11 +119,8 @@
AC_SUBST(GW_LANGUAGES)
dnl Check for optional libraries
-AC_CHECK_PROG(have_glib, glib-config, yes, no)
-if test "$have_glib" = yes; then
- PKG_CHECK_MODULES(GLIB, glib, [echo building GLib 1.2 support])
-else
- echo Not building Glib 1.2 support
+if test "x$with_glib" != "xno"; then
+ PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib=yes], [have_glib=no])
fi
AM_CONDITIONAL(HAVE_GLIB, test "$have_glib" = yes)
|