/[libtool]/libtool/ltconfig.in
ViewVC logotype

Diff of /libtool/ltconfig.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.246.2.58 by gary, Tue Apr 24 22:20:08 2001 UTC revision 1.246.2.59 by oliva, Sun May 20 18:20:07 2001 UTC
# Line 783  if test "${lt_cv_sys_max_cmd_len+set}" = Line 783  if test "${lt_cv_sys_max_cmd_len+set}" =
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

Legend:
Removed from v.1.246.2.58  
changed lines
  Added in v.1.246.2.59

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26