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 ha

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

2023-10-07 Thread Niels Möller
t; and not bothering to check for allowed or duplicated version lists? Skipping that could make implementation a bit simpler, I guess, at the cost of less clear user error messages. Regards, /Niels -- Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677. Internet email is subject to wholesale government surveillance.

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

2023-10-08 Thread Niels Möller
Thanks for feedback. Paul Eggert writes: > 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 th

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

2023-10-11 Thread Niels Möller
Niels Möller writes: > Updated patch below. How do we move this forward? I think we first need to settle the user-visible part, i.e., how AC_C_STANDARD_VERSION should work (and if that's a good name). Latest patch aims for the following, which seems reasonable to me: * Single argumen

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

2023-10-11 Thread Niels Möller
tests to use, or would I need some completely mock compiler, like an extended ./mycc? I've had a quick look at tests/c.at, but I'm not at all familiar with this framework, so it will be a bit of cargo cult programming. >> I'd be happy to sign FSF copyright assignment forms, if required. > > I think this is big enough, or will be, that we do need that, yes. Ok, I'll try to get that going then. Regards, /Niels -- Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677. Internet email is subject to wholesale government surveillance.