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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67756 in the body.
You can then email your comments to 67756 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#67756; Package coreutils. (Sun, 10 Dec 2023 21:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bjarni Ingi Gislason <bjarniig <at> simnet.is>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sun, 10 Dec 2023 21:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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]
)




Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Mon, 11 Dec 2023 17:10:02 GMT) Full text and rfc822 format available.

Notification sent to Bjarni Ingi Gislason <bjarniig <at> simnet.is>:
bug acknowledged by developer. (Mon, 11 Dec 2023 17:10:02 GMT) Full text and rfc822 format available.

Message #10 received at 67756-done <at> debbugs.gnu.org (full text, mbox):

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





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Jan 2024 12:24:08 GMT) Full text and rfc822 format available.

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

Previous Next


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