[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:
Bill Wendling 2001-01-18 15:33:56 -05:00
parent 07319d804b
commit 5104f10fed
2 changed files with 2 additions and 2 deletions

View File

@ -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
View File

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