summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt@221aa14e-8319-0410-a670-987f0aec2ac5>2006-11-25 13:00:42 +0000
committergdt <gdt@221aa14e-8319-0410-a670-987f0aec2ac5>2006-11-25 13:00:42 +0000
commitc26f00879436d715503e7d8da9645651bb7e05f2 (patch)
tree83d27d89454b1cabfd713bf9a1b575ed311c40e4
parenteeebc6bf08230ff905262d08b33fbd10dcddb306 (diff)
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.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/config/grc_gr_wxgui.m4 b/config/grc_gr_wxgui.m4
index dff666b0aa..8c8848f4f4 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