]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4: Fix typo: testring -> teststring.
authorAlbert Chin-A-Young <china@thewrittenword.com>
Wed, 11 Feb 2004 12:55:52 +0000 (12:55 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 11 Feb 2004 12:55:52 +0000 (12:55 +0000)
ChangeLog
m4/libtool.m4

index 4d75b683754917541d5de85c4c444ca1cf78ad1e..d3060b2be30416516dcbd94eda5ecff0a3f24774 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-02-11  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * m4/libtool.m4: Fix typo: testring -> teststring.
+
 2004-02-11  Gary V. Vaughan  <gary@gnu.org>
 
        * commit: Mail a nicer commit notification.
index 13b82df2d13bbc613485c509e01631af31d711a4..bb28a40874fc114faf7ac26e23dc6d4454094455 100644 (file)
@@ -1015,7 +1015,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*)
@@ -1051,24 +1051,24 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
     ;;
 
  *)
-    # Make testring a little bigger before we do anything with it.
+    # Make teststring a little bigger before we do anything with it.
     # a 1K string should be a reasonable start.
     for i in 1 2 3 4 5 6 7 8 ; do
-      testring=$testring$testring
+      teststring=$teststring$teststring
     done
     # 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$testring" 2>/dev/null` \
-              = "XX$testring$testring") >/dev/null 2>&1 &&
+    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
+              = "XX$teststring$teststring") >/dev/null 2>&1 &&
            test $i != 17 # 1/2 MB should be enough
     do
       i=`expr $i + 1`
-      testring=$testring$testring
+      teststring=$teststring$teststring
     done
     # Only check the string length outside the loop.
-    lt_cv_sys_max_cmd_len=`expr "X$testring" : ".*" 2>&1`
-    testring=
+    lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+    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.