Autoconf and m4
Autoconf and m4
Posted Apr 30, 2024 20:50 UTC (Tue) by epa (subscriber, #39769)In reply to: Autoconf and m4 by Paf
Parent article: Security patterns and anti-patterns in embedded development
There will be exceptions, but generally I think you could define a default build that requires most of the dependencies without having to sniff whether they are available. If that’s not flexible enough for everyone, some will stay using the configure script.
Posted May 1, 2024 7:16 UTC (Wed)
by epa (subscriber, #39769)
[Link] (1 responses)
This configure script was invoked with --strict. The optional dependency 'libfoo' has not been specified.
Then build systems for Linux distributions would tend to use the --strict flag and nail down exactly what dependencies they want, leaving nothing to autodetection. That would have stopped the xz attack where the configure script stopped including the Landlock dependency and nobody noticed.
Posted May 3, 2024 1:22 UTC (Fri)
by mathstuf (subscriber, #69389)
[Link]
Autoconf and m4
You must pass either --with-libfoo or --without-libfoo.
Autodetection found that libfoo is present on this system.
Autoconf and m4