Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 161903 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 161903