diff options
author | gdt | 2006-11-25 13:00:42 +0000 |
---|---|---|
committer | gdt | 2006-11-25 13:00:42 +0000 |
commit | c26f00879436d715503e7d8da9645651bb7e05f2 (patch) | |
tree | 83d27d89454b1cabfd713bf9a1b575ed311c40e4 | |
parent | eeebc6bf08230ff905262d08b33fbd10dcddb306 (diff) | |
download | gnuradio-c26f00879436d715503e7d8da9645651bb7e05f2.tar.gz gnuradio-c26f00879436d715503e7d8da9645651bb7e05f2.tar.bz2 gnuradio-c26f00879436d715503e7d8da9645651bb7e05f2.zip |
When using python to check for wx module, call it via the variable
earlier set with the path to the python interpreter, rather than
hard-coding 'python'. Fixes build on systems where python is
installed with a version suffix (e.g. python2.4), such as pkgsrc.
From Berndt Josef Wulf via gnuradio-discuss; change is below the
copyright threshold.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4017 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r-- | config/grc_gr_wxgui.m4 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/grc_gr_wxgui.m4 b/config/grc_gr_wxgui.m4 index dff666b0a..8c8848f4f 100644 --- a/config/grc_gr_wxgui.m4 +++ b/config/grc_gr_wxgui.m4 @@ -26,9 +26,7 @@ AC_DEFUN([GRC_GR_WXGUI],[ gr-wxgui/src/python/Makefile \ ]) - # FIXME: this breaks pkgsrc by calling python without a version number - # gdt--patch welcome :-) - if python -c 'import wx'; then + if ${PYTHON} -c 'import wx'; then passed=yes else passed=no |