commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r4017 - gnuradio/trunk/config


From: gdt
Subject: [Commit-gnuradio] r4017 - gnuradio/trunk/config
Date: Sat, 25 Nov 2006 06:00:42 -0700 (MST)

Author: gdt
Date: 2006-11-25 06:00:42 -0700 (Sat, 25 Nov 2006)
New Revision: 4017

Modified:
   gnuradio/trunk/config/grc_gr_wxgui.m4
Log:
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.



Modified: gnuradio/trunk/config/grc_gr_wxgui.m4
===================================================================
--- gnuradio/trunk/config/grc_gr_wxgui.m4       2006-11-22 18:20:33 UTC (rev 
4016)
+++ gnuradio/trunk/config/grc_gr_wxgui.m4       2006-11-25 13:00:42 UTC (rev 
4017)
@@ -26,9 +26,7 @@
          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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]