From 76beb33bfe435a4434fd63920affe38620166d85 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 28 Jun 2022 17:46:33 -0500 Subject: [PATCH] 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. --- lib/autoconf/lang.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.2