783 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
784 |
else |
else |
785 |
i=0 |
i=0 |
786 |
testring="ABCDEF" |
testring="ABCD" |
787 |
while test `$CONFIG_SHELL $0 --fallback-echo "X$testring" >/dev/null 2>&1` == `echo "X$testring" >/dev/null 2>&1` && |
# If test is not a shell built-in, we'll probably end up computing a |
788 |
|
# maximum length that is only half of the actual maximum length, but |
789 |
|
# we can't tell. |
790 |
|
while test X`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ |
791 |
|
= "XX$testring" && |
792 |
new_result=`expr "X$testring" : ".*" 2>&1` && |
new_result=`expr "X$testring" : ".*" 2>&1` && |
793 |
lt_cv_sys_max_cmd_len=$new_result && |
lt_cv_sys_max_cmd_len=$new_result && |
794 |
test $i != 32 # 1 MB should be enough |
test $i != 18 # 1 MB should be enough |
795 |
do |
do |
796 |
i=`expr $i + 1` |
i=`expr $i + 1` |
797 |
testring=$testring$testring |
testring=$testring$testring |