From: Paul Osmialowski Date: Sun, 16 Feb 2020 02:16:15 +0000 (-0800) Subject: configure: add flang compilers to _AM_COMPILER_CAN_FAIL X-Git-Tag: v1.16.2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c65590a164099dbb483dbcd339347f45b827b29;p=thirdparty%2Fautomake.git configure: add flang compilers to _AM_COMPILER_CAN_FAIL * configure.ac (_AM_COMPILER_CAN_FAIL): add armflang and flang (in two places). Original patch at: https://lists.gnu.org/archive/html/automake-patches/2019-02/msg00001.html --- diff --git a/configure.ac b/configure.ac index a51f97a7c..4c8924b8a 100644 --- a/configure.ac +++ b/configure.ac @@ -463,13 +463,13 @@ AS_IF([test x"$GXX" = x"yes"], [am_CXX_is_GNU=yes], [am_CXX_is_GNU=no]) _AM_COMPILER_CAN_FAIL([AC_PROG_FC(dnl [xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor] dnl - [xlf90 f90 pgf90 pghpf epcf90 g95 gfortran])], + [xlf90 f90 armflang flang pgf90 pghpf epcf90 g95 gfortran])], [FC=false; _AM_SKIP_COMP_TESTS([Fortran])]) AS_IF([test x"$GFC" = x"yes"], [am_FC_is_GNU=yes], [am_FC_is_GNU=no]) _AM_COMPILER_CAN_FAIL([AC_PROG_F77(dnl - [xlf f77 frt pgf77 cf77 fort77 fl32 af77 g77 gfortran])], + [xlf f77 frt pgf77 cf77 fort77 fl32 af77 g77 armflang flang gfortran])], [F77=false; _AM_SKIP_COMP_TESTS([Fortran 77])]) AS_IF([test x"$G77" = x"yes"], [am_F77_is_GNU=yes], [am_F77_is_GNU=no])