Changeset 15574
- Timestamp:
- 07/24/13 10:12:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/m4/issm_options.m4
r15529 r15574 593 593 if test -d "$PETSC_ROOT"; then 594 594 AC_MSG_CHECKING(for petsc version) 595 if ! test -f "$PETSC_ROOT/include/petscversion.h"; then 596 AC_MSG_ERROR([PETSc not instaled corretly: file ($PETSC_ROOT/include/petscversion.h) does not exist]); 597 fi 595 598 PETSC_MAJOR=`cat $PETSC_ROOT/include/petscversion.h | grep "#define PETSC_VERSION_MAJOR" | sed 's/#define PETSC_VERSION_MAJOR//' | sed 's/ //g'` 596 599 PETSC_MINOR=`cat $PETSC_ROOT/include/petscversion.h | grep "#define PETSC_VERSION_MINOR" | sed 's/#define PETSC_VERSION_MINOR//' | sed 's/ //g'`
Note:
See TracChangeset
for help on using the changeset viewer.