commit-gnuradio
[Top][All Lists]
Advanced

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

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


From: jblum
Subject: [Commit-gnuradio] r10199 - gnuradio/trunk/config
Date: Wed, 7 Jan 2009 18:53:10 -0700 (MST)

Author: jblum
Date: 2009-01-07 18:53:08 -0700 (Wed, 07 Jan 2009)
New Revision: 10199

Modified:
   gnuradio/trunk/config/grc_grc.m4
Log:
fixed syntax error cases

Modified: gnuradio/trunk/config/grc_grc.m4
===================================================================
--- gnuradio/trunk/config/grc_grc.m4    2009-01-07 19:50:19 UTC (rev 10198)
+++ gnuradio/trunk/config/grc_grc.m4    2009-01-08 01:53:08 UTC (rev 10199)
@@ -28,8 +28,9 @@
     dnl ########################################
     dnl # test python version
     dnl ########################################
-    AC_MSG_CHECKING([for Python version 2.5])
-    if test `${PYTHON} -c "import sys; print sys.version.split()[[0]] >= 
'2.5'"` = 'True'; then
+    AC_MSG_CHECKING([for Python version >= 2.5])
+    result=`${PYTHON} -c "import sys; print sys.version.split()[[0]] >= '2.5'"`
+    if test "$result" = "True"; then
         AC_MSG_RESULT([yes])
     else
         AC_MSG_RESULT([no])
@@ -41,16 +42,17 @@
     dnl ########################################
     if test $passed = yes; then
         PYTHON_CHECK_MODULE([Cheetah],[Python Cheetah 
templates],[],[passed=no])
+        PYTHON_CHECK_MODULE([lxml],[Python XML wrappers],[],[passed=no])
         PYTHON_CHECK_MODULE([pygtk],[Python GTK wrappers],[],[passed=no])
-        PYTHON_CHECK_MODULE([lxml],[Python XML wrappers],[],[passed=no])
     fi
 
     dnl ########################################
     dnl # test gtk version
     dnl ########################################
     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)" 2> /dev/null` = 'True'; then
+        AC_MSG_CHECKING([for Python GTK version >= 2.10.0])
+        result=`${PYTHON} -c "import gtk; print gtk.pygtk_version >= (2, 10, 
0)" 2> /dev/null`
+        if test "$result" = "True"; then
             AC_MSG_RESULT([yes])
         else
             AC_MSG_RESULT([no])





reply via email to

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