From 626fb1b02fee15e1954583f7ec06b3e09eb7bffc Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Mon, 18 Mar 2013 23:14:59 -0500 Subject: [svn-r23379] HDFFV-8297 h5fc does not recognize files ending in .f95, .f03, and .f08 as source files added missing extensions. Tested: jam (gnu) --- fortran/src/h5fc.in | 9 +++++++-- 1 file 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` -- cgit v0.12