GNU bug report logs -
#67756
autoconf-2.72d: bootstrap: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete.
Previous Next
Full log
Message #10 received at 67756-done <at> debbugs.gnu.org (full text, mbox):
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.