diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2013-03-19 04:14:59 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2013-03-19 04:14:59 (GMT) |
commit | 626fb1b02fee15e1954583f7ec06b3e09eb7bffc (patch) | |
tree | e6122bc9039c8add2fd313550aa583a3eab74594 | |
parent | 76a8599736e22ede7506e550fcfe9c3443ff0a3d (diff) | |
download | hdf5-626fb1b02fee15e1954583f7ec06b3e09eb7bffc.zip hdf5-626fb1b02fee15e1954583f7ec06b3e09eb7bffc.tar.gz hdf5-626fb1b02fee15e1954583f7ec06b3e09eb7bffc.tar.bz2 |
[svn-r23379] HDFFV-8297 h5fc does not recognize files ending in .f95, .f03, and .f08 as source files
added missing extensions.
Tested: jam (gnu)
-rw-r--r-- | fortran/src/h5fc.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fortran/src/h5fc.in b/fortran/src/h5fc.in index 2d7b5b4..c55b496 100644 --- a/fortran/src/h5fc.in +++ b/fortran/src/h5fc.in @@ -233,8 +233,13 @@ for arg in $@ ; do *) allargs="$allargs $arg" if [ -s "$arg" ] ; then ext=`expr "$arg" : '.*\(\..*\)'` - if [ "$ext" = ".f" -o "$ext" = ".F" -o "$ext" = ".f90" -o \ - "$ext" = ".for" -o "$ext" = ".FOR" -o "$ext" = ".F90" ] ; then + if [ "$ext" = ".f" -o "$ext" = ".F" -o \ + "$ext" = ".for" -o "$ext" = ".FOR" -o \ + "$ext" = ".ftn" -o "$ext" = ".FTN" -o \ + "$ext" = ".f90" -o "$ext" = ".F90" -o \ + "$ext" = ".f95" -o "$ext" = ".F95" -o \ + "$ext" = ".f03" -o "$ext" = ".F03" -o \ + "$ext" = ".f08" -o "$ext" = ".F08" ] ; then do_compile="yes" compile_args="$compile_args $arg" fname=`basename $arg $ext` |