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

Collapse All | Expand All

(-)configure.ac (-1 / +8 lines)
Lines 55-60 Link Here
55
AC_ARG_WITH(libpng,
55
AC_ARG_WITH(libpng,
56
            AC_HELP_STRING([--without-libpng], [Do not use libpng.]),
56
            AC_HELP_STRING([--without-libpng], [Do not use libpng.]),
57
            [], [with_libpng=yes])
57
            [], [with_libpng=yes])
58
AC_ARG_WITH(gtk,
59
            AC_HELP_STRING([--without-gtk], [Do not use gtk.]),
60
            [], [with_gtk=yes])
58
AC_ARG_WITH(libsdl,
61
AC_ARG_WITH(libsdl,
59
            AC_HELP_STRING([--without-libsdl], [Do not use libsdl.]),
62
            AC_HELP_STRING([--without-libsdl], [Do not use libsdl.]),
60
            [], [with_libsdl=yes])
63
            [], [with_libsdl=yes])
Lines 270-276 Link Here
270
dnl not be a problem on recent distributions).
273
dnl not be a problem on recent distributions).
271
dnl   (defines GTK_CFLAGS and GTK_LIBS)
274
dnl   (defines GTK_CFLAGS and GTK_LIBS)
272
dnl ********************************************************************
275
dnl ********************************************************************
273
PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.4.0], have_gtk="true", have_gtk="false")
276
have_gtk=false
277
if test x$with_gtk != xno ; then
278
  PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.4.0],
279
                    have_gtk="true", have_gtk="false")
280
fi
274
AM_CONDITIONAL(HAVE_GTK, test x$have_gtk = xtrue)
281
AM_CONDITIONAL(HAVE_GTK, test x$have_gtk = xtrue)
275
282
276
dnl ********************************************************************
283
dnl ********************************************************************

Return to bug 361799