From 26738f27524ddbfb8b170ba2153e08dacba4ca5c Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 6 Mar 2006 23:28:17 -0500 Subject: [svn-r12020] Purpose: improvement. Description: It did not recognized the g95 compiler in forms like /usr/sdt/bin/new/g95, thus not setting the -DH5_G95 correctly. Solution: Fixed it so that it can recognize all */g95 as the g95 compiler too. Platforms tested: Tested in Heping. --- fortran/config/linux-gnulibc1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fortran/config/linux-gnulibc1 b/fortran/config/linux-gnulibc1 index 92a231d..6f4072f 100644 --- a/fortran/config/linux-gnulibc1 +++ b/fortran/config/linux-gnulibc1 @@ -51,12 +51,14 @@ if test "X-" = "X-$F9X"; then F9X_BASENAME=mpif90 ;; esac -else +fi + +# Figure out the F9X_BASENAME case $F9X in # The PGI and Intel compilers are automatically detected below ifc*|ifort*|pgf90*) ;; - g95) + g95|*/g95) F9X_BASENAME=g95 ;; *mpif90) @@ -96,7 +98,6 @@ else $RM $tmpfile ;; esac -fi # # HDF5 integers -- cgit v0.12