From e47f342f23712a3a2a251f18396e0dafed5fa17a Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Mon, 16 Oct 2006 16:33:27 +0000
Subject: [PATCH] another test check

---
 auxdir/x_ac_gtk.m4 | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/auxdir/x_ac_gtk.m4 b/auxdir/x_ac_gtk.m4
index 2242f4e69f8..c5d5035d792 100644
--- a/auxdir/x_ac_gtk.m4
+++ b/auxdir/x_ac_gtk.m4
@@ -34,23 +34,15 @@ AC_DEFUN([X_AC_GTK],
     fi
 
 
-### Check for gtk2 package
+### Check for gtk2.6 package
     if test "$ac_have_gtk" == "yes" ; then
-        $HAVEPKGCONFIG --exists gtk+-2.0
+        $HAVEPKGCONFIG --exists gtk+-2.6.0
         if ! test $? -eq 0 ; then
-            AC_MSG_WARN([*** gtk+-2.0 is not available.])
+            AC_MSG_WARN([*** gtk+-2.6.0 is not available.])
             ac_have_gtk="no"
         fi
     fi
 
-### Check for gtk2.6+ package
-    if test "$ac_have_gtk" == "yes" ; then
-	AM_PATH_GTK_2_0(2.6.0,ac_have_gtk=yes,ac_have_gtk=no)
-	if test "$ac_have_gtk" == "no" ; then
-		AC_MSG_WARN([*** gtk+-2.6.0+ is not available.])
-	fi
-    fi
-
 ### Run a test program
     if test "$ac_have_gtk" == "yes" ; then
         GTK2_CFLAGS=`$HAVEPKGCONFIG --cflags libglade-2.0 gtk+-2.0 gthread-2.0`
-- 
GitLab