/[classpath]/classpath/ltmain.sh
ViewVC logotype

Diff of /classpath/ltmain.sh

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

revision 1.5 by mark, Sun Aug 24 18:10:56 2003 UTC revision 1.6 by mark, Fri Aug 29 19:45:57 2003 UTC
# Line 24  Line 24 
24  # configuration script generated by Autoconf, you may include it under  # configuration script generated by Autoconf, you may include it under
25  # the same distribution terms that you use for the rest of that program.  # the same distribution terms that you use for the rest of that program.
26    
27    # Backwards compatibility hacks for older versions of automake, etc
28    if test "X$SED" = X ; then
29      SED=sed
30    fi
31    if test "X$max_cmd_len" = X ; then
32      max_cmd_len=-1
33    fi
34    
35  # Check that we have a working $echo.  # Check that we have a working $echo.
36  if test "X$1" = X--no-reexec; then  if test "X$1" = X--no-reexec; then
37    # Discard the --no-reexec flag, and continue.    # Discard the --no-reexec flag, and continue.
# Line 4969  fi\ Line 4977  fi\
4977        else        else
4978          eval cmds=\"$old_archive_cmds\"          eval cmds=\"$old_archive_cmds\"
4979    
4980          if len=`expr "X$cmds" : ".*"` &&          len=`expr "X$cmds" : ".*"`
4981               test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then          if test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
4982            :            :
4983          else          else
4984            # the command line is too long to link in one step, link in parts            # the command line is too long to link in one step, link in parts
# Line 4984  fi\ Line 4992  fi\
4992            # encoded into archives.  This makes 'ar r' malfunction in            # encoded into archives.  This makes 'ar r' malfunction in
4993            # this piecewise linking case whenever conflicting object            # this piecewise linking case whenever conflicting object
4994            # names appear in distinct ar calls; check, warn and compensate.            # names appear in distinct ar calls; check, warn and compensate.
4995              if (for obj in $save_oldobjs            if (for obj in $save_oldobjs
4996              do              do
4997                $echo "X$obj" | $Xsed -e 's%^.*/%%'                $echo "X$obj" | $Xsed -e 's%^.*/%%'
4998              done | sort | sort -uc >/dev/null 2>&1); then              done | sort | sort -uc >/dev/null 2>&1); then

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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