diff options
-rw-r--r-- | fortran/acsite.m4 | 2 | ||||
-rwxr-xr-x | 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 |