diff options
author | jblum | 2009-03-19 04:45:23 +0000 |
---|---|---|
committer | jblum | 2009-03-19 04:45:23 +0000 |
commit | f686f6ac05db1f8b91d216b38a0748dddcef3e20 (patch) | |
tree | e344ba4620b4d5adea386e22cbb13aabe051e63c /config/grc_grc.m4 | |
parent | 545f3de12e535862a2fca41186ba5d9888cd0e2c (diff) | |
download | gnuradio-f686f6ac05db1f8b91d216b38a0748dddcef3e20.tar.gz gnuradio-f686f6ac05db1f8b91d216b38a0748dddcef3e20.tar.bz2 gnuradio-f686f6ac05db1f8b91d216b38a0748dddcef3e20.zip |
gtk version test through pkg config
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10638 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'config/grc_grc.m4')
-rw-r--r-- | config/grc_grc.m4 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config/grc_grc.m4 b/config/grc_grc.m4 index 07463a52c..74bcc82e0 100644 --- a/config/grc_grc.m4 +++ b/config/grc_grc.m4 @@ -32,7 +32,14 @@ AC_DEFUN([GRC_GRC],[ 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 ######################################## |