Re: Anyone remember what AC_PROG_GCC_TRADITIONAL was testing for?

"Zack Weinberg" <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.general
Message-ID <[email protected]>
On Sun, Apr 2, 2023, at 5:17 PM, Paul Eggert wrote:
> That macro dates back to /usr/include header files that would play 
> tricks like this
>
>       #define _IO(n, x) (('n'<<8)+x) 
>
>       #define TIOCFOO _IO(T, 1) 

Yeah, I thought it had to be something like that...

> AC_PROG_GCC_TRADITIONAL has not been needed for thirty years, and was 
> declared obsolescent in Autoconf 2.60 (2006-06-05). Also, the Autoconf 
> manual (as of the next version) states Autoconf assumes C89 or later. So 
> if there's any issue with AC_PROG_GCC_TRADITIONAL at all, I suggest 
> replacing its definition with:
>
>    AU_DEFUN([AC_PROG_GCC_TRADITIONAL])

Done (more or less) in the patchset I just posted.

zw
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.