Subject: bug#67756: closed (Re: bug#67756: autoconf-2.72d: bootstrap: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 11 Dec 2023 17:10:02 +0000

Your bug report

#67756: autoconf-2.72d: bootstrap: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete.

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
67756: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67756
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#67756: autoconf-2.72d: bootstrap: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete.
From: Pádraig Brady <[email-masked]>
To: Bjarni Ingi Gislason <[email-masked]>, [email-masked]
Date: Mon, 11 Dec 2023 17:09:32 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

On 10/12/2023 21:34, Bjarni Ingi Gislason wrote:
>    From:
> 
> bootstrap.loc: bootstrapping with --no-git --gnulib-srcdir=/home/bg/git/gnulib --skip-po --bootstrap-sync
> 
> [...]
> autoreconf: running: /usr/local/bin/autoconf --include=m4 --include=/usr/share/aclocal --force
> configure.ac:58: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete.
> configure.ac:58: You should run autoupdate.
> ../lib/autoconf/c.m4:1673: AC_PROG_GCC_TRADITIONAL is expanded from...
> configure.ac:58: the top level
> autoreconf: running: /usr/local/bin/autoheader --include=m4 --include=/usr/share/aclocal --force
> [...]
> 
>    In "autoconf-2.72d/lib/autoconf/c.m4" is
> 
> # AC_PROG_GCC_TRADITIONAL
> # -----------------------
> AU_DEFUN([AC_PROG_GCC_TRADITIONAL],
>    [AC_REQUIRE([AC_PROG_CC])],
>    [$0 is obsolete; use AC_PROG_CC]
> )

OK pushed the following.
Marking this as done.

thanks,
Pádraig

commit 0d9547474d001e2903c18164d8929f5d2d2c0dd7 (HEAD -> master)
Author: Pádraig Brady <[email-masked]>
Date:   Mon Dec 11 17:03:33 2023 +0000

     maint: remove obsolete AC_PROG_GCC_TRADITIONAL

     * configure.ac: Remove obsolete macro call.
     Recent autoconf warns that it is obsolete.
     AC_PROG_CPP sets up the -traditional-cpp option if required.
     GCC ignores -traditional since commit f458d1d5 (2002).
     Fixes https://bugs.gnu.org/67756

diff --git a/configure.ac b/configure.ac
index eec110790..de57b3216 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,6 @@ gl_ASSERT_NO_GNULIB_POSIXCHECK])
  AC_PROG_CC
  AM_PROG_CC_C_O
  AC_PROG_CPP
-AC_PROG_GCC_TRADITIONAL
  AC_PROG_RANLIB
  AC_PROG_EGREP
  AC_PROG_LN_S

Subject: autoconf-2.72d: bootstrap: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete.
From: Bjarni Ingi Gislason <[email-masked]>
To: [email-masked]
Date: Sun, 10 Dec 2023 21:34:56 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

  From:

bootstrap.loc: bootstrapping with --no-git --gnulib-srcdir=/home/bg/git/gnulib --skip-po --bootstrap-sync

[...]
autoreconf: running: /usr/local/bin/autoconf --include=m4 --include=/usr/share/aclocal --force
configure.ac:58: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete.
configure.ac:58: You should run autoupdate.
../lib/autoconf/c.m4:1673: AC_PROG_GCC_TRADITIONAL is expanded from...
configure.ac:58: the top level
autoreconf: running: /usr/local/bin/autoheader --include=m4 --include=/usr/share/aclocal --force
[...]

  In "autoconf-2.72d/lib/autoconf/c.m4" is

# AC_PROG_GCC_TRADITIONAL
# -----------------------
AU_DEFUN([AC_PROG_GCC_TRADITIONAL],
  [AC_REQUIRE([AC_PROG_CC])],
  [$0 is obsolete; use AC_PROG_CC]
)