Changeset 19149


Ignore:
Timestamp:
02/24/15 11:44:09 (10 years ago)
Author:
Mathieu Morlighem
Message:

CHG: more flexible test on python include

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r19148 r19149  
    550550                if test -f "$PYTHON_ROOT/include/Python.h"; then
    551551                        PYTHONINCL=-I$PYTHON_ROOT/include
    552                 else if test -f "$PYTHON_ROOT/include/python2.7/Python.h"; then
    553                         PYTHONINCL=-I$PYTHON_ROOT/include/python2.7
     552                else if test -f "$PYTHON_ROOT/include/python$PYTHON_VERSION/Python.h"; then
     553                        PYTHONINCL=-I$PYTHON_ROOT/include/python$PYTHON_VERSION
    554554                else
    555555                        AC_MSG_ERROR([Python.h not found, locate this file and contact ISSM developers]);
Note: See TracChangeset for help on using the changeset viewer.