]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/syntax.m4: Test AC_CHECK_SIZEOF.
authorAkim Demaille <akim@epita.fr>
Fri, 4 Feb 2000 14:02:57 +0000 (14:02 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 4 Feb 2000 14:02:57 +0000 (14:02 +0000)
* tests/Makefile.am (CLEANFILES, DISTCLEANFILES): Adjusted.
(macros.m4): Use tmp dest files ($@-t), not directly `$@'.

ChangeLog
tests/Makefile.am
tests/syntax.m4

index df99f7a051dc5bb1b039571bd9f2e2c072e55dbd..1d1cfc45470f71b2fefd8c4d5eaa6091e5279676 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-02-04  Akim Demaille  <akim@epita.fr>
+
+       * 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  <akim@epita.fr>
 
        Hide AH_HOOK behind AH_DEFUN.
index 733017cbf1a5139b58c4641791bb8ba71905757b..00016f4aa4d7eb6555ba135fd5e5f402950c7afd 100644 (file)
@@ -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
index 6ecb75c8fb0b6e9bced922cf65dec841dea13fc6..394c83d4eb427e13784303399be025ea7e3e7cac 100644 (file)
@@ -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 *)])