diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-02-21 19:47:36 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-02-22 10:47:51 +0100 |
commit | db973eaa2be26fcfb523e3bfed65cf466e4946aa (patch) | |
tree | e2993552f857d96aeb9b40b6844bf292356db61d /tests/nodef2.test | |
parent | 0f99c10d3f7087f51c84b01e33784d57194afcc4 (diff) | |
download | automake-db973eaa2be26fcfb523e3bfed65cf466e4946aa.tar.gz |
tests: prefer 'configure.ac' over 'configure.in'
With this change, our testsuite now uses 'configure.ac' as the
name for the typical autoconf input, instead of the obsolescent
'configure.in' (which has been deprecated for several years, at
least since autoconf 2.50).
Most of the test cases changed by this commit have been
automatically modified with this sed command (using GNU
sed):
sed -i 's/\<configure\(\\\?\)\.in\>/configure\1.ac/g'
* syntax-checks.mk (sc_tests_no_configure_in): New syntax check.
(syntax_check_rules): Add it.
* tests/defs: Create stub for autoconf input in 'configure.ac',
not in 'configure.in'. Adjust comments.
($AUTOCONF, $AUTOHEADER, $AUTORECONF): Remove workaround for the
infamous debian autoconf wrapper: we don't need such workaround
anymore now that we name our autoconf input as 'configure.ac'.
For more information, see commit v1.11-564-g63da492 "test defs:
hack to support autoconf-wrapper programs" of 16-12-2011.
* tests/README: Use 'configure.ac', not 'configure.in'.
* Many many tests: Likewise.
* tests/backcompat3.test: Adjust to avoid spurious failures.
* tests/backcompat5.test: Likewise.
* tests/missing6.test: Likewise.
* tests/backcompat6.test: Likewise, and extend a bit since we
are at it.
Diffstat (limited to 'tests/nodef2.test')
-rwxr-xr-x | tests/nodef2.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nodef2.test b/tests/nodef2.test index 8190ebee3..965a915ef 100755 --- a/tests/nodef2.test +++ b/tests/nodef2.test @@ -20,7 +20,7 @@ # First, check that PACKAGE and VERSION are output by default. -cat > configure.in << 'END' +cat > configure.ac << 'END' AC_INIT([UnIqUe_PaCkAgE], [UnIqUe_VeRsIoN]) AM_INIT_AUTOMAKE AC_OUTPUT(output) @@ -36,7 +36,7 @@ grep 'DEFS.*-DVERSION=\\"UnIqUe' output # Then, check that PACKAGE and VERSION are not output if requested. -cat > configure.in << 'END' +cat > configure.ac << 'END' AC_INIT([UnIqUe_PaCkAgE], [UnIqUe_VeRsIoN]) AM_INIT_AUTOMAKE([no-define]) AC_OUTPUT(output Makefile) |