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

Diff of /libtool/ltmain.in

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

revision 1.275 by gary, Mon Sep 10 23:33:26 2001 UTC revision 1.276 by gary, Fri Sep 21 19:49:29 2001 UTC
# Line 4770  relink_command=\"$relink_command\"" Line 4770  relink_command=\"$relink_command\""
4770          fi          fi
4771    
4772          # Do a test to see if this is really a libtool program.          # Do a test to see if this is really a libtool program.
4773          if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then          case $host in
4774            *cygwin*|*mingw*)
4775                wrapper=`echo $file | sed -e 's,.exe$,,'`
4776                ;;
4777            *)
4778                wrapper=$file
4779                ;;
4780            esac
4781            if (sed -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
4782            notinst_deplibs=            notinst_deplibs=
4783            relink_command=            relink_command=
4784    
4785            # If there is no directory component, then add one.            # If there is no directory component, then add one.
4786            case $file in            case $file in
4787            */* | *\\*) . $file ;;            */* | *\\*) . $wrapper ;;
4788            *) . ./$file ;;            *) . ./$wrapper ;;
4789            esac            esac
4790    
4791            # Check the variables that should have been set.            # Check the variables that should have been set.
4792            if test -z "$notinst_deplibs"; then            if test -z "$notinst_deplibs"; then
4793              $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2              $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
4794              exit 1              exit 1
4795            fi            fi
4796    

Legend:
Removed from v.1.275  
changed lines
  Added in v.1.276

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