Fix the testsuite to preserve the various arguments of configure.
commit3678273b25c0e83e822ad981354ebf5d5d11990f
authorBenoit Sigoure <tsuna@lrde.epita.fr>
Thu, 1 Nov 2007 19:03:05 +0000 (1 20:03 +0100)
committerBenoit Sigoure <tsuna@lrde.epita.fr>
Thu, 1 Nov 2007 19:03:05 +0000 (1 20:03 +0100)
tree6ff827c7efa7e2e97e856873d9d980488831b960
parentc9adb54634e46dcd6d4e016c095d85b466449177
Fix the testsuite to preserve the various arguments of configure.

* build-aux/boost.m4 (BOOST_REQUIRE): Define
DISTCHECK_CONFIGURE_FLAGS to automatically preserve the --with-boost
argument.
* configure.ac: Use AC_CANONICAL_HOST.
(AC_CONFIG_FILES): Generate tests/package.m4.
* tests/Makefile.am (EXTRA_DIST, $(TESTSUITE)): Adjust.
No longer need to generate package.m4 since it's now generated from
package.m4.in.
* tests/atlocal.in (CXX, LD, CONFIGURE_FLAGS, build, host): New.
* tests/package.m4.in: New.
* tests/testsuite.at: Invoke configure with the proper flags (that
is, preserve the original configuration).

Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
ChangeLog
build-aux/.gitignore
build-aux/boost.m4
configure.ac
tests/.gitignore
tests/Makefile.am
tests/atlocal.in
tests/package.m4.in [copied from tests/atlocal.in with 69% similarity]
tests/testsuite.at