commit-gnuradio
[Top][All Lists]
Advanced

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

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


From: jblum
Subject: [Commit-gnuradio] r10638 - gnuradio/trunk/config
Date: Wed, 18 Mar 2009 22:45:23 -0600 (MDT)

Author: jblum
Date: 2009-03-18 22:45:23 -0600 (Wed, 18 Mar 2009)
New Revision: 10638

Modified:
   gnuradio/trunk/config/grc_grc.m4
Log:
gtk version test through pkg config

Modified: gnuradio/trunk/config/grc_grc.m4
===================================================================
--- gnuradio/trunk/config/grc_grc.m4    2009-03-19 03:30:13 UTC (rev 10637)
+++ gnuradio/trunk/config/grc_grc.m4    2009-03-19 04:45:23 UTC (rev 10638)
@@ -32,10 +32,17 @@
         PYTHON_CHECK_MODULE([sys],[Python >= 
2.5],[],[passed=no],[sys.version.split()[[0]] >= "2.5"])
         PYTHON_CHECK_MODULE([Cheetah],[Python Cheetah templates >= 
2.0.0],[],[passed=no],[Cheetah.Version >= "2.0.0"])
         PYTHON_CHECK_MODULE([lxml.etree],[Python lxml wrappers >= 
2.0.0],[],[passed=no],[lxml.etree.LXML_VERSION >= (2, 0, 0, 0)])
-        PYTHON_CHECK_MODULE([gtk],[Python gtk wrappers >= 
2.10.0],[],[passed=no],[gtk.pygtk_version >= (2, 10, 0)])
+        PYTHON_CHECK_MODULE([pygtk],[Python gtk wrappers],[],[passed=no])
     fi
 
     dnl ########################################
+    dnl # gtk version test w/ pkg-config
+    dnl ########################################
+    if test $passed = yes; then
+        PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.10.0,[],[passed=no])
+    fi
+
+    dnl ########################################
     dnl # platform dependency pythonw
     dnl ########################################
     dnl FIXME: move this test to Python config m4





reply via email to

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