From: Pavel Roskin Date: Wed, 20 Sep 2000 13:12:13 +0000 (+0000) Subject: * tests/Makefile.am: AC_PREFIX_PROGRAM and AC_F77_FUNC excluded X-Git-Tag: autoconf-2.50~618 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff99097cef61c7bd98b4d8d1458e413a48a01c8d;p=thirdparty%2Fautoconf.git * tests/Makefile.am: AC_PREFIX_PROGRAM and AC_F77_FUNC excluded from testing because they require an argument. * tests/atspecific.m4: Make sure that configure doesn't write anything to stderr. --- diff --git a/ChangeLog b/ChangeLog index d027fd594..793743eef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,14 @@ 2000-09-20 Pavel Roskin + * tests/Makefile.am: AC_PREFIX_PROGRAM and AC_F77_FUNC excluded + from testing because they require an argument. + * tests/atspecific.m4: Make sure that configure doesn't write + anything to stderr. + * acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Cache variable wasn't always set inside AC_CACHE_CHECK. (_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL): Likewise. + From Nicolas Joly. * libm4.m4 (m4_ifvanl): Don't output a newline for empty arguments. diff --git a/tests/Makefile.am b/tests/Makefile.am index fee39e934..301a3e5d3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -47,8 +47,8 @@ testsuite: atgeneral.m4 atspecific.m4 suite.m4 macros.m4 $(SUITE) # and some are already tested elsewhere. EGREP_EXCLUDE must filter out # the macros we don't want to test in syntax.m4. # -# - AC_CANONICALIZE -# Needs an argument. +# - AC_CANONICALIZE, AC_PREFIX_PROGRAM +# Need an argument. # - AC_CHECK decl, file, func, header, lib, member, prog, sizeof, type # Performed in the semantics tests. # - AC_CONFIG @@ -58,7 +58,7 @@ testsuite: atgeneral.m4 atspecific.m4 suite.m4 macros.m4 $(SUITE) # infinite m4 recursion if AC_INIT it used twice. # - AC_LANG* # Heavily used by other macros. -# - AC_PATH_PROGS? +# - AC_PATH_PROGS?, AC_F77_FUNC # They produce `= val' because $1, the variable used to store the result, # is empty. # - AC_TRY, AC_.*_IFELSE @@ -81,6 +81,7 @@ FILTER_MACROS = egrep -v -e \ ^AC_CANONICALIZE$$\ ^AC_CHECK_(DECL|FILE|FUNC|HEADER|LIB|MEMBER|PROG|SIZEOF|TOOL|TYPE)S?$$\ ^AC_CONFIG\ +^AC_F77_FUNC$$\ ^AC_INIT\ ^AC_LANG\ ^AC_LINKER_OPTION$$\ @@ -88,6 +89,7 @@ FILTER_MACROS = egrep -v -e \ ^AC_LIST_MEMBER_OF$$\ ^AC_OUTPUT$$\ ^AC_PATH_(TOOL|PROG)S?$$\ +^AC_PREFIX_PROGRAM$$\ ^AC_REPLACE_FUNCS$$\ ^AC_SEARCH_LIBS$$\ ^AC_TRY\ diff --git a/tests/atspecific.m4 b/tests/atspecific.m4 index 8643d555b..7c68006ee 100644 --- a/tests/atspecific.m4 +++ b/tests/atspecific.m4 @@ -97,7 +97,7 @@ dnl The problem is that currently some warnings are spread on several dnl lines, so grepping -v warning is not enough. AT_CHECK([autoconf --autoconf-dir .. -l $at_srcdir], 0,, ignore) AT_CHECK([autoheader --autoconf-dir .. -l $at_srcdir], 0,, ignore) -AT_CHECK([top_srcdir=$top_srcdir ./configure], 0, ignore, ignore) +AT_CHECK([top_srcdir=$top_srcdir ./configure], 0, ignore, []) test -n "$at_verbose" && echo "--- config.log" && cat config.log dnl Some tests might exit prematurely when they find a problem, in