Changeset 4017

Show
Ignore:
Timestamp:
11/25/06 06:00:42
Author:
gdt
Message:

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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gnuradio/trunk/config/grc_gr_wxgui.m4

    r3746 r4017  
    2727    ]) 
    2828 
    29     # FIXME: this breaks pkgsrc by calling python without a version number 
    30     # gdt--patch welcome :-) 
    31     if python -c 'import wx'; then 
     29    if ${PYTHON} -c 'import wx'; then 
    3230        passed=yes 
    3331    else