]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
m4: align removal after compilation with autoconf.
authorEric Gallager <egall@gwmail.gwu.edu>
Sat, 7 Sep 2024 17:15:38 +0000 (10:15 -0700)
committerKarl Berry <karl@freefriends.org>
Sat, 7 Sep 2024 17:15:38 +0000 (10:15 -0700)
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.

THANKS
m4/prog-cc-c-o.m4

diff --git a/THANKS b/THANKS
index 496378a7a12a83c39a9d21f2dd56e3c3acf9c889..8e792ccba1dfe8bea1b2957537f5451b02b11919 100644 (file)
--- 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
index a31a4a41451919b932f304942362f59663c04262..a609dc138bf373484f0da322f0315fb102b00987 100644 (file)
@@ -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.