automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[automake-commit] branch master updated: m4: align removal after compila


From: Karl Berry
Subject: [automake-commit] branch master updated: m4: align removal after compilation with autoconf.
Date: Sat, 07 Sep 2024 13:15:49 -0400

This is an automated email from the git hooks/post-receive script.

karl pushed a commit to branch master
in repository automake.

View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=cb537c9f1de660e6d7b269179f9406cd24ab5a36

The following commit(s) were added to refs/heads/master by this push:
     new cb537c9f1 m4: align removal after compilation with autoconf.
cb537c9f1 is described below

commit cb537c9f1de660e6d7b269179f9406cd24ab5a36
Author: Eric Gallager <egall@gwmail.gwu.edu>
AuthorDate: Sat Sep 7 10:15:38 2024 -0700

    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.
---
 THANKS            | 1 +
 m4/prog-cc-c-o.m4 | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]