It seems that some autoconf projects use a configure.in
file to generate a configure
script, and some use configure.ac
.
What is the difference/advantage between using one or the other?
It seems that some autoconf projects use a configure.in
file to generate a configure
script, and some use configure.ac
.
What is the difference/advantage between using one or the other?
Its just a matter of style. Historically autoconf files were named configure.in
. Now configure.ac
is the preferred naming scheme. Its also discussed in the documentation.
New projects should use configure.ac. Old projects used configure.in; if it is inconvenient to switch to the new name, they can continue to use it, but the autoconf tools will generate a warning.
autoconf
(1.13.1 as of 2013-01-01) still supports configure.ac
, but the release notes say "Automake 1.14 will drop support for the long-deprecated 'configure.in' name for the Autoconf input file. You are advised to start using the recommended name 'configure.ac' instead, ASAP." –
Disentwine configure.in
...' as configure.ac
is the future direction. –
Disentwine © 2022 - 2024 — McMap. All rights reserved.