[gtkglext] GDK is packaged with GTK+, so don't bother checking GDK's version (since we check GTK+'s). And do t



commit 34a768720172b939a925fd37195197db4acc9388
Author: Braden McDaniel <braden bolt endoframe net>
Date:   Sun Dec 13 02:14:23 2009 -0500

    GDK is packaged with GTK+, so don't bother checking GDK's version (since we check GTK+'s).  And do the GTK+ check first since its failure will be less mysterious than if the GDK check failed.

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f74aca4..3193893 100644
--- a/configure.ac
+++ b/configure.ac
@@ -262,12 +262,12 @@ if test "x$enable_rebuilds" = "xyes" && \
 fi
 AC_SUBST([REBUILD])
 
-PKG_CHECK_MODULES([GDK], [gdk-2.0 >= 2.4], ,
-                  [AS_IF([test -z "${GDK_LIBS+x}"],
-                         [AC_MSG_FAILURE([GDK 2.4 or newer is required.])])])
 PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.4], ,
                   [AS_IF([test -z "${GTK_LIBS+x}"],
                          [AC_MSG_FAILURE([GTK+ 2.4 or newer is required.])])])
+PKG_CHECK_MODULES([GDK], [gdk-2.0], ,
+                  [AS_IF([test -z "${GDK_LIBS+x}"],
+                         [AC_MSG_FAILURE([GDK is required.])])])
 PKG_CHECK_MODULES([PANGOX], [pangox], ,
                   [AS_IF([test -z "${PANGOX_LIBS+x}"],
                          [AC_MSG_FAILURE([Pango X font support is required.])])])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]