Commit 932edfc3 authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

2005-03-04 Kristian Høgsberg <krh@redhat.com>

        * configure.ac: Implement same check for gtk+-2.0 tests as for
        cairo.
parent c632b35a
2005-03-04 Kristian Høgsberg <krh@redhat.com>
* configure.ac: Implement same check for gtk+-2.0 tests as for
cairo.
2005-03-04 Kristian Høgsberg <krh@redhat.com> 2005-03-04 Kristian Høgsberg <krh@redhat.com>
* configure.ac: Only fail hard in check for cairo if the user * configure.ac: Only fail hard in check for cairo if the user
......
...@@ -125,12 +125,17 @@ AM_CONDITIONAL(BUILD_CAIRO_OUTPUT, test x$enable_cairo_output = xyes) ...@@ -125,12 +125,17 @@ AM_CONDITIONAL(BUILD_CAIRO_OUTPUT, test x$enable_cairo_output = xyes)
AC_ARG_ENABLE(gtk-test, AC_ARG_ENABLE(gtk-test,
AC_HELP_STRING([--disable-gtk-test], AC_HELP_STRING([--disable-gtk-test],
[Don't compile GTK+ test program.]),, [Don't compile GTK+ test program.]),
enable_gtk_test="yes") enable_gtk_test=$enableval,
AM_CONDITIONAL(BUILD_GTK_TEST, test x$enable_gtk_test = xyes) enable_gtk_test="try")
if test x$enable_gtk_test = xyes; then if test x$enable_gtk_test = xyes; then
PKG_CHECK_MODULES(GTK_TEST, gtk+-2.0 >= 2.2.0) PKG_CHECK_MODULES(GTK_TEST, gtk+-2.0 >= 2.2.0)
elif test x$enable_gtk_test = xtry; then
PKG_CHECK_MODULES(GTK_TEST, gtk+-2.0 >= 2.2.0,
[enable_gtk_test="yes"],
[enable_gtk_test="no"])
fi fi
AM_CONDITIONAL(BUILD_GTK_TEST, test x$enable_gtk_test = xyes)
AC_OUTPUT([ AC_OUTPUT([
Makefile Makefile
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment