Lines 119-132
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 |
AC_ARG_WITH([glib], AS_HELP_STRING([--without-glib], [Build without glib (default: test)])) |
123 |
if test "$have_glib" = yes; then |
|
|
124 |
PKG_CHECK_MODULES(GLIB, glib, [echo building GLib 1.2 support]) |
125 |
else |
126 |
echo Not building Glib 1.2 support |
127 |
fi |
128 |
AM_CONDITIONAL(HAVE_GLIB, test "$have_glib" = yes) |
129 |
|
123 |
|
|
|
124 |
if test "x$with_glib" != "xno"; then |
125 |
PKG_CHECK_MODULES([GLIB], [echo building GLib support], [echo Not building GLib support]) |
126 |
fi |
127 |
AM_CONDITIONAL(HAVE_GLIB, test $GLIB = yes) |
130 |
|
128 |
|
131 |
dnl Check for compiler flags and warnings. This should be last, since |
129 |
dnl Check for compiler flags and warnings. This should be last, since |
132 |
dnl it can infere with other checks due to changed CFLAGS. |
130 |
dnl it can infere with other checks due to changed CFLAGS. |