Re: fedora 42 doesn't have awk: how to deal with autoconf subst?

Simon Josefsson via Bug reports for autoconf <[email protected]> Thu, 17 Apr 2025 18:46:27 +0200
Newsgroups gmane.comp.sysutils.autoconf.bugs,gmane.comp.lib.gnulib.bugs
Message-ID <[email protected]>
Bruno Haible via Bug reports for autoconf <[email protected]> writes:

> Simon Josefsson wrote:
>> 0) Modify autoconf to continue to work in this situation without awk,
>>     replacing it with more POSIX shell or something else?
>
> Many years ago, Autoconf produced configure scripts that used 'sed'
> for the job of replacing the various @FOO@ occurrences in *.in files.
> When they switched to 'awk', it was for speed reasons, IIRC.

I understand the desire to drop all the old code, but it would be nice
to have something like it as a fall-back in case awk isn't available.

> I don't think it's worth making a distinction here between Autoconf and
> "Autoconf + Automake", since most packages that use Autoconf also use
> Automake.

I would appreciate distinguishing this, it helps to make it more clear
where dependencies are coming from.  OpenSSH is using autoconf but not
automake, IIRC, and I think there are more examples.

/Simon
signature.asc (application/pgp-signature, 1.2 KB)
-----BEGIN PGP SIGNATURE-----

iQNoBAEWCAMQFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmgBMGMUHHNpbW9uQGpv
c2Vmc3Nvbi5vcmfCHCYAmDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9f
V+QlTmXxo2naObDuGtw58YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9z
ZWZzc29uLm9yZz6IlgQTFggAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYh
BLHSvRN1vst4TPT4xNc89jjFPAa+BQJn0XQkBQkNZGbwAAoJENc89jjFPAa+BtIA
/iR73CfBurG9y8pASh3cbGOMHpDZfMAtosu6jbpO69GHAP4p7l57d+iVty2VQMsx
+3TCSAvZkpr4P/FuTzZ8JZe8BrgzBFySz4EWCSsGAQQB2kcPAQEHQOxTCIOaeXAx
I2hIX4HK9bQTpNVei708oNr1Klm8qCGKiPUEGBYIACYCGwIWIQSx0r0Tdb7LeEz0
+M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