From: Albert Chin-A-Young Date: Wed, 11 Feb 2004 12:18:48 +0000 (+0000) Subject: * m4/libtool.m4: Fix typo: testring -> teststring. X-Git-Tag: release-1-5-4~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=24199d1946f16d0018cd80648a7eb4d932a36498;p=thirdparty%2Flibtool.git * m4/libtool.m4: Fix typo: testring -> teststring. --- diff --git a/ChangeLog b/ChangeLog index df933791a..8d39ca842 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-02-09 Albert Chin-A-Young + + * m4/libtool.m4: Fix typo: testring -> teststring. + 2004-02-06 Scott James Remnant * Makefile.am (EXTRA_DIST): No need to specify config.guess diff --git a/libtool.m4 b/libtool.m4 index ea3a14154..5a93670f3 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -641,7 +641,7 @@ AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 - testring="ABCD" + teststring="ABCD" case $build_os in msdosdjgpp*) @@ -680,16 +680,16 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. - while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ - = "XX$testring") >/dev/null 2>&1 && - new_result=`expr "X$testring" : ".*" 2>&1` && + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ + = "XX$teststring") >/dev/null 2>&1 && + new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` - testring=$testring$testring + teststring=$teststring$teststring done - testring= + teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value.