Lines 119-131
Link Here
|
119 |
AC_SUBST(GW_LANGUAGES) |
119 |
AC_SUBST(GW_LANGUAGES) |
120 |
|
120 |
|
121 |
dnl Check for optional libraries |
121 |
dnl Check for optional libraries |
122 |
AC_CHECK_PROG(have_glib, glib-config, yes, no) |
122 |
PKG_CHECK_MODULES(GLIB, glib-2.0, |
123 |
if test "$have_glib" = yes; then |
123 |
[echo building GLib 2.0 support], |
124 |
PKG_CHECK_MODULES(GLIB, glib, [echo building GLib 1.2 support]) |
124 |
[echo Not building glib-2.0 support]) |
125 |
else |
125 |
AM_CONDITIONAL(HAVE_GLIB, test "$GLIB" = yes) |
126 |
echo Not building Glib 1.2 support |
|
|
127 |
fi |
128 |
AM_CONDITIONAL(HAVE_GLIB, test "$have_glib" = yes) |
129 |
|
126 |
|
130 |
|
127 |
|
131 |
dnl Check for compiler flags and warnings. This should be last, since |
128 |
dnl Check for compiler flags and warnings. This should be last, since |