mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-27 01:49:56 +08:00
* autoconf.sh: Consider undefined macros as errors.
* tests/base.m4 (unexpanded macros): Expect error, not warning
This commit is contained in:
parent
bddb504cff
commit
82bbd6fe4e
@ -1,3 +1,8 @@
|
||||
2000-09-05 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* autoconf.sh: Consider undefined macros as errors.
|
||||
* tests/base.m4 (unexpanded macros): Expect error, not warning
|
||||
|
||||
2000-09-05 Dave Love <fx@gnu.org>
|
||||
|
||||
* aclang.m4 (_AC_PROG_F77_GNU): Run command from standard input so
|
||||
|
@ -313,7 +313,7 @@ case $task in
|
||||
cat >$tmp/finalize.awk <<EOF
|
||||
function undefined (file, line, macro)
|
||||
{
|
||||
print file ":" line ": warning: undefined macro: " macro | "cat >&2"
|
||||
print file ":" line ": error: undefined macro: " macro | "cat >&2"
|
||||
}
|
||||
|
||||
{
|
||||
@ -374,7 +374,7 @@ case $task in
|
||||
}
|
||||
}
|
||||
EOF
|
||||
$AWK -f $tmp/finalize.awk <$tmp/configure >&4
|
||||
$AWK -f $tmp/finalize.awk <$tmp/configure >&4 || exit 1
|
||||
;; # End of the task script.
|
||||
|
||||
|
||||
|
@ -313,7 +313,7 @@ case $task in
|
||||
cat >$tmp/finalize.awk <<EOF
|
||||
function undefined (file, line, macro)
|
||||
{
|
||||
print file ":" line ": warning: undefined macro: " macro | "cat >&2"
|
||||
print file ":" line ": error: undefined macro: " macro | "cat >&2"
|
||||
}
|
||||
|
||||
{
|
||||
@ -374,7 +374,7 @@ case $task in
|
||||
}
|
||||
}
|
||||
EOF
|
||||
$AWK -f $tmp/finalize.awk <$tmp/configure >&4
|
||||
$AWK -f $tmp/finalize.awk <$tmp/configure >&4 || exit 1
|
||||
;; # End of the task script.
|
||||
|
||||
|
||||
|
@ -313,7 +313,7 @@ case $task in
|
||||
cat >$tmp/finalize.awk <<EOF
|
||||
function undefined (file, line, macro)
|
||||
{
|
||||
print file ":" line ": warning: undefined macro: " macro | "cat >&2"
|
||||
print file ":" line ": error: undefined macro: " macro | "cat >&2"
|
||||
}
|
||||
|
||||
{
|
||||
@ -374,7 +374,7 @@ case $task in
|
||||
}
|
||||
}
|
||||
EOF
|
||||
$AWK -f $tmp/finalize.awk <$tmp/configure >&4
|
||||
$AWK -f $tmp/finalize.awk <$tmp/configure >&4 || exit 1
|
||||
;; # End of the task script.
|
||||
|
||||
|
||||
|
@ -256,9 +256,9 @@ AC_THIS_IS_PROBABLY_NOT_DEFINED
|
||||
It would be very bad if Autoconf forgot to expand [AC_]OUTPUT!
|
||||
]])
|
||||
|
||||
AT_CHECK([../autoconf --autoconf-dir .. -l $at_srcdir], 0, [],
|
||||
[[configure.in:2: warning: undefined macro: AC_THIS_IS_PROBABLY_NOT_DEFINED
|
||||
configure:3: warning: undefined macro: AC_OUTPUT
|
||||
AT_CHECK([../autoconf --autoconf-dir .. -l $at_srcdir], 1, [],
|
||||
[[configure.in:2: error: undefined macro: AC_THIS_IS_PROBABLY_NOT_DEFINED
|
||||
configure:3: error: undefined macro: AC_OUTPUT
|
||||
]])
|
||||
|
||||
AT_CLEANUP(configure)
|
||||
|
Loading…
Reference in New Issue
Block a user