From c26f00879436d715503e7d8da9645651bb7e05f2 Mon Sep 17 00:00:00 2001 From: gdt Date: Sat, 25 Nov 2006 13:00:42 +0000 Subject: [PATCH] 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 --- config/grc_gr_wxgui.m4 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/grc_gr_wxgui.m4 b/config/grc_gr_wxgui.m4 index dff666b0..8c8848f4 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 -- 2.47.2