mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-19 14:40:24 +08:00
* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Use ":" instead of
"true". * tests/atgeneral.m4 (AT_INIT): Likewise. * tests/tools.at (Syntax of the scripts): Likewise.
This commit is contained in:
parent
167526b3b2
commit
1d03fe1675
@ -1,3 +1,10 @@
|
||||
2000-11-09 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Use ":" instead of
|
||||
"true".
|
||||
* tests/atgeneral.m4 (AT_INIT): Likewise.
|
||||
* tests/tools.at (Syntax of the scripts): Likewise.
|
||||
|
||||
2000-11-09 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* tests/m4sugar.at (m4_warn): Adjusted to accept stack dump when
|
||||
|
@ -3214,13 +3214,13 @@ m4_define([_AC_COMPUTE_INT_COMPILE],
|
||||
[# Depending upon the size, compute the lo and hi bounds.
|
||||
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= 0])],
|
||||
[ac_lo=0 ac_try=0
|
||||
while true; do
|
||||
while :; do
|
||||
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) <= $ac_try])],
|
||||
[ac_hi=$ac_try; break],
|
||||
[ac_lo=`expr $ac_try + 1`; ac_try=`expr 2 '*' $ac_try + 1`])
|
||||
done],
|
||||
[ac_hi=-1 ac_try=-1
|
||||
while true; do
|
||||
while :; do
|
||||
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= $ac_try])],
|
||||
[ac_lo=$ac_try; break],
|
||||
[ac_hi=`expr $ac_try - 1`; ac_try=`expr 2 '*' $ac_try`])
|
||||
|
@ -3214,13 +3214,13 @@ m4_define([_AC_COMPUTE_INT_COMPILE],
|
||||
[# Depending upon the size, compute the lo and hi bounds.
|
||||
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= 0])],
|
||||
[ac_lo=0 ac_try=0
|
||||
while true; do
|
||||
while :; do
|
||||
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) <= $ac_try])],
|
||||
[ac_hi=$ac_try; break],
|
||||
[ac_lo=`expr $ac_try + 1`; ac_try=`expr 2 '*' $ac_try + 1`])
|
||||
done],
|
||||
[ac_hi=-1 ac_try=-1
|
||||
while true; do
|
||||
while :; do
|
||||
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= $ac_try])],
|
||||
[ac_lo=$ac_try; break],
|
||||
[ac_hi=`expr $ac_try - 1`; ac_try=`expr 2 '*' $ac_try`])
|
||||
|
@ -114,7 +114,7 @@ AT_DEFINE([AT_INIT],
|
||||
at_stop_on_error=false;
|
||||
# Shall we save and check stdout and stderr?
|
||||
# -n sets to false
|
||||
at_check_stds=true;
|
||||
at_check_stds=:;
|
||||
# Shall we
|
||||
# -s sets to false, and -v to true
|
||||
at_verbose=false
|
||||
|
@ -114,7 +114,7 @@ AT_DEFINE([AT_INIT],
|
||||
at_stop_on_error=false;
|
||||
# Shall we save and check stdout and stderr?
|
||||
# -n sets to false
|
||||
at_check_stds=true;
|
||||
at_check_stds=:;
|
||||
# Shall we
|
||||
# -s sets to false, and -v to true
|
||||
at_verbose=false
|
||||
|
@ -37,7 +37,7 @@ AT_SETUP(Syntax of the scripts)
|
||||
# broken /bin/sh loop equally with `false', but it makes it easier to
|
||||
# test the robusteness in a good environment: just remove the `-n'.
|
||||
AT_DATA(endless.sh,
|
||||
[[while true
|
||||
[[while :
|
||||
do
|
||||
:
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user