From: Paul Eggert Date: Tue, 28 Jun 2022 22:46:33 +0000 (-0500) Subject: Port _AC_COMPILER_EXEEXT to IBM z/OS Unix X-Git-Tag: v2.72c~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76beb33bfe435a4434fd63920affe38620166d85;p=thirdparty%2Fautoconf.git Port _AC_COMPILER_EXEEXT to IBM z/OS Unix Problem reported by Jeff Shimoda in: https://lists.gnu.org/r/autoconf-patches/2022-06/msg00001.html * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Also remove conftest.o and conftest.obj. We can't use $ac_objext as it might not be defined yet. --- diff --git a/lib/autoconf/lang.m4 b/lib/autoconf/lang.m4 index d524e070..cbe39ad2 100644 --- a/lib/autoconf/lang.m4 +++ b/lib/autoconf/lang.m4 @@ -678,7 +678,8 @@ ac_exeext=$EXEEXT AC_LANG_CONFTEST([_AC_LANG_IO_PROGRAM]) ac_clean_files="$ac_clean_files conftest.out" _AC_COMPILER_EXEEXT_CROSS -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +rm -f conftest.$ac_ext conftest$ac_cv_exeext \ + conftest.o conftest.obj conftest.out ac_clean_files=$ac_clean_files_save ])# _AC_COMPILER_EXEEXT