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

Diff of /libtool/ltmain.in

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

revision 1.259.2.10 by gary, Thu Sep 13 21:20:08 2001 UTC revision 1.259.2.11 by gary, Fri Sep 21 20:16:31 2001 UTC
# Line 4273  relink_command=\"$relink_command\"" Line 4273  relink_command=\"$relink_command\""
4273          fi          fi
4274    
4275          # Do a test to see if this is really a libtool program.          # Do a test to see if this is really a libtool program.
4276          if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then          case $host in
4277            *cygwin*|*mingw*)
4278                wrapper=`echo $file | sed -e 's,.exe$,,'`
4279                ;;
4280            *)
4281                wrapper=$file
4282                ;;
4283            esac
4284            if (sed -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
4285            notinst_deplibs=            notinst_deplibs=
4286            relink_command=            relink_command=
4287    
4288            # If there is no directory component, then add one.            # If there is no directory component, then add one.
4289            case $file in            case $file in
4290            */* | *\\*) . $file ;;            */* | *\\*) . $wrapper ;;
4291            *) . ./$file ;;            *) . ./$wrapper ;;
4292            esac            esac
4293    
4294            # Check the variables that should have been set.            # Check the variables that should have been set.
4295            if test -z "$notinst_deplibs"; then            if test -z "$notinst_deplibs"; then
4296              $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2              $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
4297              exit 1              exit 1
4298            fi            fi
4299    
# Line 4310  relink_command=\"$relink_command\"" Line 4318  relink_command=\"$relink_command\""
4318            relink_command=            relink_command=
4319            # If there is no directory component, then add one.            # If there is no directory component, then add one.
4320            case $file in            case $file in
4321            */* | *\\*) . $file ;;            */* | *\\*) . $wrapper ;;
4322            *) . ./$file ;;            *) . ./$wrapper ;;
4323            esac            esac
4324    
4325            outputname=            outputname=

Legend:
Removed from v.1.259.2.10  
changed lines
  Added in v.1.259.2.11

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