Changeset 14183


Ignore:
Timestamp:
12/18/12 08:38:42 (12 years ago)
Author:
Mathieu Morlighem
Message:

BUG: FORTRAN_LIB provided might be a directory

File:
1 edited

Legend:

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

    r14173 r14183  
    10461046                if test -n "$FORTRAN_LIB" ; then
    10471047                        dnl check that library provided EXISTS!
    1048                         if test -f "$FORTRAN_LIB"; then
     1048                   FORTRAN_DIR=$(echo $FORTRAN_LIB | sed -e "s/-L//g" | awk '{print $[1]}')
     1049                        if test -d "$FORTRAN_DIR" || test -f "$FORTRAN_DIR"; then
    10491050                                FORTRANLIB="$FORTRAN_LIB"
    10501051                                AC_DEFINE([_HAVE_FORTRAN_],[1],[with FORTRAN in ISSM src])
Note: See TracChangeset for help on using the changeset viewer.