Re: How to get autoconf to respect CC="gcc -std=c89"?

2023-10-06 Thread Niels Möller
Niels Möller writes: > "Zack Weinberg" writes: > >> This is currently not possible, but you are not the only person who has >> asked for it to be made possible, and it's on our near-future list. >> However, none of the core Autoconf developers currently have time to work >> on it. Might you be

Re: How to get autoconf to respect CC="gcc -std=c89"?

2023-10-06 Thread Paul Eggert
Thanks for looking into this. Some comments. This doesn't let you say "I want either c89 or c99, but not c11". + m4_ifdef([_AC_C_STANDARD_VERSION_LIST], +[m4_fatal([AC_PROG_C_STANDARD_VERSION should only be used once], 1)]) Why have this check? How about something simpler, like replaci