594 |
# If test is not a shell built-in, we'll probably end up computing a |
# If test is not a shell built-in, we'll probably end up computing a |
595 |
# maximum length that is only half of the actual maximum length, but |
# maximum length that is only half of the actual maximum length, but |
596 |
# we can't tell. |
# we can't tell. |
597 |
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` \ |
598 |
= "XX$testring" && |
= "XX$testring") >/dev/null 2>&1 && |
599 |
new_result=`expr "X$testring" : ".*" 2>&1` && |
new_result=`expr "X$testring" : ".*" 2>&1` && |
600 |
lt_cv_sys_max_cmd_len=$new_result && |
lt_cv_sys_max_cmd_len=$new_result && |
601 |
test $i != 17 # 1/2 MB should be enough |
test $i != 17 # 1/2 MB should be enough |