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

2023-10-07 Thread Niels Möller
Paul Eggert writes: > This doesn't let you say "I want either c89 or c99, but not c11". That's right, I tried only the very simplest thing. Providing a list makes sense, thoguh. What should the interface be? AC_C_STANDARD_VERSION([c99 c89]) looks reasonable to me; list in order of preference

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

2023-10-07 Thread Paul Eggert
On 2023-10-07 02:03, Niels Möller wrote: there's some impedance mismatch between the whitespace separated list to AC_C_STANDARD_VERSION, and the comma-separated list required by m4_map Yes, let's use the same list style for both.