GNU bug report logs - #67756
autoconf-2.72d: bootstrap: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete.

Previous Next

Package: coreutils;

Reported by: Bjarni Ingi Gislason <bjarniig <at> simnet.is>

Date: Sun, 10 Dec 2023 21:36:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Pádraig Brady <P <at> draigBrady.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#67756: closed (autoconf-2.72d: bootstrap: The macro
 'AC_PROG_GCC_TRADITIONAL' is obsolete.)
Date: Mon, 11 Dec 2023 17:10:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 11 Dec 2023 17:09:32 +0000
with message-id <8f559a2e-9594-1d3c-64b1-96fff401539c <at> draigBrady.com>
and subject line Re: bug#67756: autoconf-2.72d: bootstrap: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete.
has caused the debbugs.gnu.org bug report #67756,
regarding autoconf-2.72d: bootstrap: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
67756: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67756
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Bjarni Ingi Gislason <bjarniig <at> simnet.is>
To: bug-coreutils <at> gnu.org
Subject: autoconf-2.72d: bootstrap: The macro 'AC_PROG_GCC_TRADITIONAL' is
 obsolete.
Date: Sun, 10 Dec 2023 21:34:56 +0000
  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]
)


[Message part 3 (message/rfc822, inline)]
From: Pádraig Brady <P <at> draigBrady.com>
To: Bjarni Ingi Gislason <bjarniig <at> simnet.is>, 67756-done <at> debbugs.gnu.org
Subject: Re: bug#67756: autoconf-2.72d: bootstrap: The macro
 'AC_PROG_GCC_TRADITIONAL' is obsolete.
Date: Mon, 11 Dec 2023 17:09:32 +0000
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 <P <at> draigBrady.com>
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



This bug report was last modified 1 year and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.