[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r9986 - gnuradio/trunk/config
From: |
jblum |
Subject: |
[Commit-gnuradio] r9986 - gnuradio/trunk/config |
Date: |
Thu, 13 Nov 2008 12:15:33 -0700 (MST) |
Author: jblum
Date: 2008-11-13 12:15:33 -0700 (Thu, 13 Nov 2008)
New Revision: 9986
Modified:
gnuradio/trunk/config/grc_grc.m4
Log:
grc check python version
Modified: gnuradio/trunk/config/grc_grc.m4
===================================================================
--- gnuradio/trunk/config/grc_grc.m4 2008-11-13 15:24:59 UTC (rev 9985)
+++ gnuradio/trunk/config/grc_grc.m4 2008-11-13 19:15:33 UTC (rev 9986)
@@ -26,12 +26,23 @@
AM_CONDITIONAL(XDG_UTILS, $XDG_UTILS)
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_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ passed=no
+ fi
+
+ dnl ########################################
dnl # test python dependencies
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([Cheetah],[Python Cheetah
templates],[],[passed=no])
+ PYTHON_CHECK_MODULE([pygtk],[Python GTK wrappers],[],[passed=no])
+ PYTHON_CHECK_MODULE([lxml],[Python XML wrappers],[],[passed=no])
fi
dnl ########################################
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r9986 - gnuradio/trunk/config,
jblum <=