19 May 2012 10:25
[PATCH] general: deprecate 'configure.in' as autoconf input
Stefano Lattarini <stefano.lattarini <at> gmail.com>
2012-05-19 08:25:16 GMT
2012-05-19 08:25:16 GMT
It has been years since that has been deprecated in the documentation, in favour of 'configure.ac': Previous versions of Autoconf promoted the name configure.in, which is somewhat ambiguous (the tool needed to process this file is not described by its extension), and introduces a slight confusion with config.h.in and so on (for which '.in' means "to be processed by configure"). Using configure.ac is now preferred. It's now time to start giving runtime warning about the use of 'configure.in', so that support for it can be removed in future versions of autoconf/automake. * lib/Autom4te/Configure_ac.pm: Issue a warning in the 'obsolete' category if 'configure.in' is detected. Since this module is synced from Automake, this change is to be backported there (and will be soon). * doc/autoconf.texi: Update. * tests/tools.at: Adjust to avoid spurious failures. Signed-off-by: Stefano Lattarini <stefano.lattarini <at> gmail.com> --- OK to apply? I plan to backport the change done to Configure_ac.pm to the Automake's master copy as soon as this patch is accepted into the autoconf repository. Regards, Stefano(Continue reading)
RSS Feed