From 05bd3f8b862effa756b2bd1aa52a6926914290cd Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Fri, 19 Oct 2012 16:50:01 +0700 Subject: tests: make sure AC_CONFIG_MACRO_DIR is still supported. * tests/old-m4-iface.at (AC_CONFIG_MACRO_DIR support): New test. Make sure we continue to support AC_CONFIG_MACRO_DIR using projects. Signed-off-by: Gary V. Vaughan --- tests/old-m4-iface.at | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'tests') diff --git a/tests/old-m4-iface.at b/tests/old-m4-iface.at index 7403eeac..8d263cbe 100644 --- a/tests/old-m4-iface.at +++ b/tests/old-m4-iface.at @@ -164,3 +164,34 @@ LT_AT_BOOTSTRAP([--ltdl --install], [-I libltdl/m4], [ignore], [ignore], LT_AT_EXEC_CHECK([./ltdldemo], 0, [ignore]) AT_CLEANUP + + +## ---------------------------- ## +## AC_CONFIG_MACRO_DIR support. ## +## ---------------------------- ## + +AT_SETUP([AC_CONFIG_MACRO_DIR]) + +AT_DATA([configure.ac], +[[AC_INIT([libtoolize-demo], ]AT_PACKAGE_VERSION[, ]AT_PACKAGE_BUGREPORT[) +AC_CONFIG_AUX_DIR([build-aux]) +AC_CONFIG_MACRO_DIR([m4]) +LT_INIT +AC_OUTPUT +]]) + +AT_DATA(expout, +[[libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'. +libtoolize: copying file `build-aux/ltmain.sh' +libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, `m4'. +libtoolize: copying file `m4/libtool.m4' +libtoolize: copying file `m4/ltoptions.m4' +libtoolize: copying file `m4/ltsugar.m4' +libtoolize: copying file `m4/ltversion.m4' +libtoolize: copying file `m4/lt~obsolete.m4' +libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. +]]) + +LT_AT_CHECK_LIBTOOLIZE([--copy], 0, expout) + +AT_CLEANUP -- cgit v1.2.1