mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[svn-r3298] Purpose:
Bug Fix Description: Small bug fix to the acsite.m4 stuff. We should check if the Fortran 9X compiler was found instead of the CC compiler. Solution: Changed CC to F9X macro. Platforms tested: Linux
This commit is contained in:
parent
07319d804b
commit
5104f10fed
@ -15,7 +15,7 @@ dnl Check for a Fortran 9X compiler.
|
||||
dnl
|
||||
AC_DEFUN(AC_PROG_F9X,
|
||||
[AC_CHECK_PROGS(F9X, f90 pgf90 f95 g95)
|
||||
test -z "$CC" && AC_MSG_ERROR([no acceptable f9X compiler found in \$PATH])
|
||||
test -z "$F9X" && AC_MSG_ERROR([no acceptable f9X compiler found in \$PATH])
|
||||
|
||||
AC_PROG_F9X_WORKS
|
||||
AC_PROG_F9X_GNU
|
||||
|
2
fortran/configure
vendored
2
fortran/configure
vendored
@ -1770,7 +1770,7 @@ fi
|
||||
test -n "$F9X" && break
|
||||
done
|
||||
|
||||
test -z "$CC" && { echo "configure: error: no acceptable f9X compiler found in \$PATH" 1>&2; exit 1; }
|
||||
test -z "$F9X" && { echo "configure: error: no acceptable f9X compiler found in \$PATH" 1>&2; exit 1; }
|
||||
|
||||
|
||||
echo $ac_n "checking whether the Fortran 9X compiler ($F9X $FFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
||||
|
Loading…
Reference in New Issue
Block a user