[svn-r23379] HDFFV-8297 h5fc does not recognize files ending in .f95, .f03, and .f08 as source files

added missing extensions.

Tested: jam (gnu)
This commit is contained in:
Scot Breitenfeld 2013-03-18 23:14:59 -05:00
parent 76a8599736
commit 626fb1b02f

View File

@ -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`