]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in: Fix sh.test regression introduced in previous patch.
authorAlexandre Oliva <aoliva@redhat.com>
Sun, 20 May 2001 18:44:56 +0000 (18:44 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 20 May 2001 18:44:56 +0000 (18:44 +0000)
ChangeLog
ltconfig.in

index 7695b428337ec95e58b9127568891b547b5ee6c5..36fb3d2a5ab3d1e729eab04c3401049c6b418eb9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2001-05-20  Alexandre Oliva  <aoliva@redhat.com>
 
+       * ltconfig.in: Fix sh.test regression introduced in previous patch.
+
        * ltconfig.in (lt_cv_sys_max_cmd_len): Improve test to work better
        in case of non-built-in echo.  Set bounds correctly.
 
index 4fb74e5264eae3bfeccca0606829bc94e3ed0604..b758ea4bea0eb6fe80d97d2af931c6dadd41715f 100755 (executable)
@@ -787,7 +787,7 @@ else
   # 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` \
+  while test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
              = "XX$testring" &&
           new_result=`expr "X$testring" : ".*" 2>&1` &&
           lt_cv_sys_max_cmd_len=$new_result &&