commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r10145 - gnuradio/trunk/config


From: jblum
Subject: [Commit-gnuradio] r10145 - gnuradio/trunk/config
Date: Sat, 20 Dec 2008 16:59:16 -0700 (MST)

Author: jblum
Date: 2008-12-20 16:59:15 -0700 (Sat, 20 Dec 2008)
New Revision: 10145

Modified:
   gnuradio/trunk/config/grc_grc.m4
Log:
dont check gtk version if first test failed

Modified: gnuradio/trunk/config/grc_grc.m4
===================================================================
--- gnuradio/trunk/config/grc_grc.m4    2008-12-20 20:54:52 UTC (rev 10144)
+++ gnuradio/trunk/config/grc_grc.m4    2008-12-20 23:59:15 UTC (rev 10145)
@@ -48,12 +48,14 @@
     dnl ########################################
     dnl # test gtk version
     dnl ########################################
-    AC_MSG_CHECKING([for GTK version >= 2.10.0])
-    if test `${PYTHON} -c "import gtk; print gtk.pygtk_version >= (2, 10, 0)"` 
= 'True'; then
-        AC_MSG_RESULT([yes])
-    else
-        AC_MSG_RESULT([no])
-        passed=no
+    if test $passed = yes; then
+        AC_MSG_CHECKING([for GTK version >= 2.10.0])
+        if test `${PYTHON} -c "import gtk; print gtk.pygtk_version >= (2, 10, 
0)"` = 'True'; then
+            AC_MSG_RESULT([yes])
+        else
+            AC_MSG_RESULT([no])
+            passed=no
+        fi
     fi
 
     dnl ########################################





reply via email to

[Prev in Thread] Current Thread [Next in Thread]