From: Pavel Roskin Date: Thu, 9 Nov 2000 18:59:18 +0000 (+0000) Subject: * acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Use ":" instead of X-Git-Tag: autoconf-2.50~453 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d03fe1675cd08e2a5934c3a66cb2219fe361e3c;p=thirdparty%2Fautoconf.git * acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Use ":" instead of "true". * tests/atgeneral.m4 (AT_INIT): Likewise. * tests/tools.at (Syntax of the scripts): Likewise. --- diff --git a/ChangeLog b/ChangeLog index 1f618d36d..03afd3876 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 1deacd97b..b8f444ce4 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 1deacd97b..b8f444ce4 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 5c3829afc..1387b7541 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 5c3829afc..1387b7541 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 d346f4dda..66ddde5e4 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