From: Eric Gallager Date: Sat, 7 Sep 2024 17:15:38 +0000 (-0700) Subject: m4: align removal after compilation with autoconf. X-Git-Tag: v1.17.90~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb537c9f1de660e6d7b269179f9406cd24ab5a36;p=thirdparty%2Fautomake.git m4: align removal after compilation with autoconf. From https://bugs.gnu.org/72225, and fixes https://bugs.gnu.org/72852. * m4/prog-cc-c-o.m4: remove conftest[12]*.dSYM, and don't remove core. * THANKS: add Eric. --- diff --git a/THANKS b/THANKS index 496378a7a..8e792ccba 100644 --- a/THANKS +++ b/THANKS @@ -124,6 +124,7 @@ Erez Zadok ezk@cs.columbia.edu Eric Bavier bavier@cray.com Eric Blake eblake@redhat.com Eric Dorland eric@debian.org +Eric Gallager egall@gwmail.gwu.edu Eric Magnien emagnien@club-internet.fr Eric Siegerman erics_97@pobox.com Eric Sunshine sunshine@sunshineco.com diff --git a/m4/prog-cc-c-o.m4 b/m4/prog-cc-c-o.m4 index a31a4a414..a609dc138 100644 --- a/m4/prog-cc-c-o.m4 +++ b/m4/prog-cc-c-o.m4 @@ -31,7 +31,10 @@ AC_CACHE_CHECK( break fi done - rm -f core conftest* + # aligned with autoconf, so not including core; see bug#72225. + rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \ + conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \ + conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script.