Commit 539dd704 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix for cfortran.h test when compiler = no.

parent 5dcbbb90
......@@ -28791,7 +28791,7 @@ fi
fi
done
if test x"$acx_cv_cf_flag" = x; then :
if test -n "$F77" -a X"$F77" != Xno; then :
if test -n "$FC" -a X"$FC" != Xno; then :
ac_ext=${ac_fc_srcext-f}
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
......@@ -28849,7 +28849,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
fi
if test -n "$FC" -a X"$FC" != Xno; then :
if test -n "$F77" -a X"$F77" != Xno; then :
ac_ext=f
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
......
......@@ -129,14 +129,14 @@ p'`
dnl find automatically from machine/compiler
AS_IF([test x"$acx_cv_cf_flag" = x],
[AC_PROVIDE_IFELSE([AC_PROG_FC],
[AS_IF([test -n "$F77" -a X"$F77" != Xno],
[AS_IF([test -n "$FC" -a X"$FC" != Xno],
[AC_LANG_PUSH([Fortran])
AS_VAR_PUSHDEF([acx_cf_flag],[acx_cv_]_AC_LANG_ABBREV[_cf_flag])
_ACX_FIND_CFORTRAN_DEF
AS_VAR_POPDEF([acx_cf_flag])
AC_LANG_POP([Fortran])])])
AC_PROVIDE_IFELSE([AC_PROG_F77],
[AS_IF([test -n "$FC" -a X"$FC" != Xno],
[AS_IF([test -n "$F77" -a X"$F77" != Xno],
[AC_LANG_PUSH([Fortran 77])
AS_VAR_PUSHDEF([acx_cf_flag],[acx_cv_]_AC_LANG_ABBREV[_cf_flag])
_ACX_FIND_CFORTRAN_DEF
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment