summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjblum2009-01-08 01:53:08 +0000
committerjblum2009-01-08 01:53:08 +0000
commit1a68a69e67e72842f815bcc4a2af466118cde382 (patch)
tree1c5ad3cf61a37e2430070455b88ddd4ebc634d39
parent183b989d40805b0fd5d4890ef83314434a693141 (diff)
downloadgnuradio-1a68a69e67e72842f815bcc4a2af466118cde382.tar.gz
gnuradio-1a68a69e67e72842f815bcc4a2af466118cde382.tar.bz2
gnuradio-1a68a69e67e72842f815bcc4a2af466118cde382.zip
fixed syntax error cases
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10199 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r--config/grc_grc.m412
1 files changed, 7 insertions, 5 deletions
diff --git a/config/grc_grc.m4 b/config/grc_grc.m4
index 0db5334fa..d1e343988 100644
--- a/config/grc_grc.m4
+++ b/config/grc_grc.m4
@@ -28,8 +28,9 @@ AC_DEFUN([GRC_GRC],[
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 @@ AC_DEFUN([GRC_GRC],[
dnl ########################################
if test $passed = yes; then
PYTHON_CHECK_MODULE([Cheetah],[Python Cheetah templates],[],[passed=no])
- PYTHON_CHECK_MODULE([pygtk],[Python GTK wrappers],[],[passed=no])
PYTHON_CHECK_MODULE([lxml],[Python XML wrappers],[],[passed=no])
+ PYTHON_CHECK_MODULE([pygtk],[Python GTK 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])