From: jblum Date: Thu, 19 Mar 2009 20:23:48 +0000 (+0000) Subject: wxpython 2.8 version check X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=5407ac629e56300936cfbf0b5877aab607ddfef5;p=debian%2Fgnuradio wxpython 2.8 version check git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10653 221aa14e-8319-0410-a670-987f0aec2ac5 --- diff --git a/config/grc_gr_wxgui.m4 b/config/grc_gr_wxgui.m4 index 30c9b438..c443f7c6 100644 --- a/config/grc_gr_wxgui.m4 +++ b/config/grc_gr_wxgui.m4 @@ -29,8 +29,8 @@ AC_DEFUN([GRC_GR_WXGUI],[ dnl yes : if the --enable code passed muster and all dependencies are met dnl no : otherwise if test $passed = yes; then - PYTHON_CHECK_MODULE([wx],[Python wxWidgets wrappers],[],[passed=no]) - PYTHON_CHECK_MODULE([numpy],[Numeric Python extensions],[],[passed=no]) + PYTHON_CHECK_MODULE([wx],[Python wxWidgets wrappers >= 2.8],[],[passed=no],[wx.version().split()[[0]] >= "2.8"]) + PYTHON_CHECK_MODULE([numpy],[Numeric Python extensions],[],[passed=no]) fi AC_CONFIG_FILES([ \ @@ -38,7 +38,7 @@ AC_DEFUN([GRC_GR_WXGUI],[ gr-wxgui/gr-wxgui.pc \ gr-wxgui/src/Makefile \ gr-wxgui/src/python/Makefile \ - gr-wxgui/src/python/plotter/Makefile \ + gr-wxgui/src/python/plotter/Makefile \ ]) GRC_BUILD_CONDITIONAL(gr-wxgui)