]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
configure: add flang compilers to _AM_COMPILER_CAN_FAIL
authorPaul Osmialowski <pawel.osmialowski@arm.com>
Sun, 16 Feb 2020 02:16:15 +0000 (18:16 -0800)
committerKarl Berry <karl@freefriends.org>
Sun, 16 Feb 2020 02:16:15 +0000 (18:16 -0800)
* 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

configure.ac

index a51f97a7cf0966d977ae4b941aa83e9a02b8ab1b..4c8924b8a465f075df9e7a222359beca6fbfaf34 100644 (file)
@@ -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])