From: Akim Demaille Date: Fri, 4 Feb 2000 14:02:57 +0000 (+0000) Subject: * tests/syntax.m4: Test AC_CHECK_SIZEOF. X-Git-Tag: autoconf-2.50~1246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fade74a103b8099c86332d4ae9893022c2232c97;p=thirdparty%2Fautoconf.git * tests/syntax.m4: Test AC_CHECK_SIZEOF. * tests/Makefile.am (CLEANFILES, DISTCLEANFILES): Adjusted. (macros.m4): Use tmp dest files ($@-t), not directly `$@'. --- diff --git a/ChangeLog b/ChangeLog index df99f7a05..1d1cfc454 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-02-04 Akim Demaille + + * tests/syntax.m4: Test AC_CHECK_SIZEOF. + * tests/Makefile.am (CLEANFILES, DISTCLEANFILES): Adjusted. + (macros.m4): Use tmp dest files ($@-t), not directly `$@'. + 2000-02-04 Akim Demaille Hide AH_HOOK behind AH_DEFUN. diff --git a/tests/Makefile.am b/tests/Makefile.am index 733017cbf..00016f4aa 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -40,12 +40,15 @@ testsuite: atgeneral.m4 suite.m4 macros.m4 $(SUITE) macros.m4: $(top_srcdir)/acspecific.m4 $(srcdir)/Makefile.am cat $(top_srcdir)/acgeneral.m4 $(top_srcdir)/acspecific.m4 | \ - sed -ne 's/^AC_DEFUN(\[*\([^],]*\).*/\1/p' | \ + sed -ne 's/^AC_DEFUN(\[*\([^],]*\)/\1/p' | \ sort >macros + rm -f $@-t for macro in `cat macros`; do \ - echo "TEST_MACRO([$$macro])" >>$@; \ + echo "TEST_MACRO([$$macro])" >>$@-t; \ done rm macros + mv $@-t $@ -clean-local: - rm -f debug-*.sh +CLEANFILES = debug-*.sh macro configure configure.in config.status \ +config.cache config.log config.h.in config.h +DISTCLEANFILES = atconfig testsuite diff --git a/tests/syntax.m4 b/tests/syntax.m4 index 6ecb75c8f..394c83d4e 100644 --- a/tests/syntax.m4 +++ b/tests/syntax.m4 @@ -55,3 +55,9 @@ echo 'Syntax of macros and completeness of the header templates.' echo AT_INCLUDE(macros.m4) + +echo +echo 'More specific tests.' +echo + +TEST_MACRO([AC_CHECK_SIZEOF(long *)])