From: Alexandre Oliva Date: Sun, 20 May 2001 18:44:56 +0000 (+0000) Subject: * ltconfig.in: Fix sh.test regression introduced in previous patch. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5bea14f4e0609f313ae4a6bb2b9cdee56578660;p=thirdparty%2Flibtool.git * ltconfig.in: Fix sh.test regression introduced in previous patch. --- diff --git a/ChangeLog b/ChangeLog index 7695b4283..36fb3d2a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2001-05-20 Alexandre Oliva + * 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. diff --git a/ltconfig.in b/ltconfig.in index 4fb74e526..b758ea4be 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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 &&