Changeset 1174 for trunk/configure.ac


Ignore:
Timestamp:
19/01/09 17:30:29 (3 years ago)
Author:
Freddie Akeroyd
Message:

MinGW fix for configure of python path. Refs #101.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1168 r1174  
    239239if test x$with_python != xno; then 
    240240    AC_CHECK_ROOT([python],[PYTHONROOT],[/usr /usr/local],[bin/python]) 
    241     if test x$PYTHONROOT != x; then PYTHON=$PYTHONROOT/bin/python; fi 
     241    if test x$PYTHONROOT != x; then 
     242        if test -r "$PYTHONROOT/bin/python"; then PYTHON="$PYTHONROOT/bin/python"; fi 
     243        if test -r "$PYTHONROOT/python"; then PYTHON="$PYTHONROOT/python"; fi 
     244    fi 
    242245    AM_PATH_PYTHON(,, :) 
    243246fi 
Note: See TracChangeset for help on using the changeset viewer.