]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Port _AC_COMPILER_EXEEXT to IBM z/OS Unix
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 28 Jun 2022 22:46:33 +0000 (17:46 -0500)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 28 Jun 2022 23:27:40 +0000 (18:27 -0500)
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

index d524e0707835b0b36214f6371891e1961826daab..cbe39ad213377a42be4775189bad7d46d4ebe09e 100644 (file)
@@ -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