mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Check stderr from
autoconf and autoheader. Expected warnings disabled by "-W none" Preceding comment removed as no longer relevant. * tests/semantics.m4 (AC_CHECK_PROG & AC_PATH_PROG): Check stderr from autoconf. (AC_PATH_PROG & AC_PATH_PROGS): Likewise. (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Likewise. * tests/tools.m4 (autoheader): Check that autoheader prints a warning for missing templates. Check stderr from autoconf. * tests/torture.m4 (config.status under extreme conditions): Check stderr from autoconf and autoheader. (command line interface): Check stderr from autoconf.
This commit is contained in:
parent
e7c7ab2237
commit
51ff685138
15
ChangeLog
15
ChangeLog
@ -1,3 +1,18 @@
|
||||
2000-09-21 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Check stderr from
|
||||
autoconf and autoheader. Expected warnings disabled by "-W none"
|
||||
Preceding comment removed as no longer relevant.
|
||||
* tests/semantics.m4 (AC_CHECK_PROG & AC_PATH_PROG): Check
|
||||
stderr from autoconf.
|
||||
(AC_PATH_PROG & AC_PATH_PROGS): Likewise.
|
||||
(AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Likewise.
|
||||
* tests/tools.m4 (autoheader): Check that autoheader prints
|
||||
a warning for missing templates. Check stderr from autoconf.
|
||||
* tests/torture.m4 (config.status under extreme conditions):
|
||||
Check stderr from autoconf and autoheader.
|
||||
(command line interface): Check stderr from autoconf.
|
||||
|
||||
2000-09-21 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix usage info for
|
||||
|
@ -91,12 +91,8 @@ AC_ENV_SAVE(env-after)
|
||||
AC_OUTPUT
|
||||
])
|
||||
|
||||
dnl FIXME: Here we just don't consider the stderr from Autoconf.
|
||||
dnl Maybe some day we could be more precise and filter out warnings.
|
||||
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([autoconf -W none --autoconf-dir .. -l $at_srcdir], 0, [], [])
|
||||
AT_CHECK([autoheader --autoconf-dir .. -l $at_srcdir], 0, [], [])
|
||||
AT_CHECK([top_srcdir=$top_srcdir ./configure], 0, ignore, [])
|
||||
test -n "$at_verbose" && echo "--- config.log" && cat config.log
|
||||
|
||||
|
@ -251,7 +251,7 @@ test "$TOOL6" = tool || fail=1
|
||||
exit $fail
|
||||
]])
|
||||
|
||||
AT_CHECK([../autoconf --autoconf-dir .. -l $at_srcdir], 0,, ignore)
|
||||
AT_CHECK([../autoconf --autoconf-dir .. -l $at_srcdir], 0, [], [])
|
||||
AT_CHECK([./configure], 0, ignore)
|
||||
|
||||
|
||||
@ -283,7 +283,7 @@ test "$TOOL4" = $pwd/path/1/tool || fail=1
|
||||
exit $fail
|
||||
]])
|
||||
|
||||
AT_CHECK([../autoconf --autoconf-dir .. -l $at_srcdir], 0,, ignore)
|
||||
AT_CHECK([../autoconf --autoconf-dir .. -l $at_srcdir], 0, [], [])
|
||||
AT_CHECK([./configure], 0, ignore)
|
||||
|
||||
AT_CLEANUP(path config.log config.cache configure)
|
||||
@ -393,7 +393,7 @@ esac
|
||||
AC_OUTPUT
|
||||
]])
|
||||
|
||||
AT_CHECK([../autoconf --autoconf-dir .. -l $at_srcdir], 0,, ignore)
|
||||
AT_CHECK([../autoconf --autoconf-dir .. -l $at_srcdir], 0, [], [])
|
||||
|
||||
# Create a header
|
||||
AT_CHECK([./configure what_to_test=header], 0, ignore)
|
||||
|
@ -104,7 +104,9 @@ AC_CONFIG_HEADERS(config.h)
|
||||
AC_DEFINE(that, "whatever you want.")
|
||||
]])
|
||||
|
||||
AT_CHECK([../autoheader --autoconf-dir .. -<configure.in], 1, ignore, ignore)
|
||||
AT_CHECK([../autoheader --autoconf-dir .. -<configure.in], 1, [],
|
||||
[autoheader: No template for symbol `that'
|
||||
])
|
||||
|
||||
|
||||
# 3. Check TOP and BOTTOM.
|
||||
@ -146,7 +148,7 @@ Bottom1 from configure.in.
|
||||
|
||||
Bottom2 from configure.in.
|
||||
/* Bottom from acconfig.h. */
|
||||
]], ignore)
|
||||
]], [])
|
||||
|
||||
|
||||
AT_CLEANUP
|
||||
@ -178,7 +180,7 @@ fubar=27
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_CONFIG_COMMANDS([default],[[echo $fubar]],[[fubar=$fubar]])
|
||||
AC_OUTPUT
|
||||
]], ignore)
|
||||
]], [])
|
||||
|
||||
AT_CLEANUP
|
||||
|
||||
|
@ -75,8 +75,8 @@ m4_for(AT_Count, 1, 100,
|
||||
AC_OUTPUT
|
||||
])
|
||||
|
||||
AT_CHECK([../autoconf --autoconf-dir .. -l $at_srcdir], 0,, ignore)
|
||||
AT_CHECK([../autoheader --autoconf-dir .. -l $at_srcdir], 0,, ignore)
|
||||
AT_CHECK([../autoconf --autoconf-dir .. -l $at_srcdir], 0, [], [])
|
||||
AT_CHECK([../autoheader --autoconf-dir .. -l $at_srcdir], 0, [], [])
|
||||
AT_CHECK([./configure], 0, ignore)
|
||||
|
||||
# Checking that AC_DEFINE worked properly.
|
||||
@ -116,7 +116,7 @@ echo "result=$one$enable_two$with_three"
|
||||
AC_OUTPUT
|
||||
]])
|
||||
|
||||
AT_CHECK([../autoconf --autoconf-dir .. -l $at_srcdir], 0,, ignore)
|
||||
AT_CHECK([../autoconf --autoconf-dir .. -l $at_srcdir], 0, [], [])
|
||||
|
||||
AT_CHECK([./configure one=one --enable-two=two --with-three=three |
|
||||
sed -n -e 's/^result=//p'], 0,
|
||||
|
Loading…
Reference in New Issue
Block a user