From 5104f10fed42b211b764d51be6ca45b182834e71 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 18 Jan 2001 15:33:56 -0500 Subject: [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 --- fortran/acsite.m4 | 2 +- fortran/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fortran/acsite.m4 b/fortran/acsite.m4 index 23e8409..f1c8ad4 100644 --- a/fortran/acsite.m4 +++ b/fortran/acsite.m4 @@ -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 diff --git a/fortran/configure b/fortran/configure index 005c144..530f67f 100755 --- a/fortran/configure +++ b/fortran/configure @@ -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 -- cgit v0.12