Changeset 19148
- Timestamp:
 - 02/24/15 09:22:26 (11 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  issm/trunk-jpl/m4/issm_options.m4 (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
issm/trunk-jpl/m4/issm_options.m4
r19146 r19148 531 531 dnl python specifics 532 532 if test "x$HAVE_PYTHON" = "xyes"; then 533 AC_MSG_CHECKING( for python version)533 AC_MSG_CHECKING([for python version]) 534 534 dnl Query Python for its version number. Getting [:3] seems to be the 535 535 dnl best way to do this; it's what "site.py" does in the standard library. … … 546 546 fi 547 547 548 PYTHONINCL=-I$PYTHON_ROOT/include 548 AC_MSG_CHECKING([for python header file Python.h]) 549 dnl Python.h mighty be in different locations: 550 if test -f "$PYTHON_ROOT/include/Python.h"; then 551 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 554 else 555 AC_MSG_ERROR([Python.h not found, locate this file and contact ISSM developers]); 556 fi 557 fi 558 AC_MSG_RESULT(found) 559 549 560 PYTHONLIB="-L$PYTHON_ROOT/lib -lpython$PYTHON_VERSION" 550 561 PYTHONEXT=.so  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)