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.
# 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 &&