diff --git a/ChangeLog b/ChangeLog index 1f618d36..03afd387 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-11-09 Pavel Roskin + + * 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 * tests/m4sugar.at (m4_warn): Adjusted to accept stack dump when diff --git a/acgeneral.m4 b/acgeneral.m4 index 1deacd97..b8f444ce 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -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`]) diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 1deacd97..b8f444ce 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -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`]) diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index 5c3829af..1387b754 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -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 diff --git a/tests/atgeneral.m4 b/tests/atgeneral.m4 index 5c3829af..1387b754 100644 --- a/tests/atgeneral.m4 +++ b/tests/atgeneral.m4 @@ -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 diff --git a/tests/tools.at b/tests/tools.at index d346f4dd..66ddde5e 100644 --- a/tests/tools.at +++ b/tests/tools.at @@ -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