/[libtool]/libtool/exe/lt_execute.def
ViewVC logotype

Diff of /libtool/exe/lt_execute.def

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

revision 1.1.2.4 by bkorb, Sun May 13 01:51:15 2001 UTC revision 1.1.2.5 by bkorb, Sun May 13 02:45:50 2001 UTC
# Line 19  required library directories are added t Line 19  required library directories are added t
19  Then, <command> is executed, with  `<cmd-arg>...' as arguments.\n";  Then, <command> is executed, with  `<cmd-arg>...' as arguments.\n";
20    
21    text = << _END_EXECUTE_STRING_    text = << _END_EXECUTE_STRING_
22    [++ AutoGen5 Template ++]
23      # Handle -dlopen flags immediately.      # Handle -dlopen flags immediately.
24      for file in $execute_dlfiles; do      for file in $execute_dlfiles; do
25        [+ test-or-exit test = 'test ! -f "$file"'        [++ test-or-exit test = 'test ! -f "$file"'
26           msg = "\\`$file' is not a file" +]           msg = "\\`$file' is not a file" ++]
27    
28        dir=        dir=
29        case $file in        case $file in
30        *.la)        *.la)
31          # Check to see that this really is a libtool archive.          # Check to see that this really is a libtool archive.
32          [+ test-or-exit  invert = yes          [++ test-or-exit  invert = yes
33            test = "sed -e '2q' $file | egrep \"^# Generated by .*$PACKAGE\""            test = "sed -e '2q' $file | egrep \"^# Generated by .*$PACKAGE\""
34            msg  = "\\`$lib' is not a valid libtool archive"  +]            msg  = "\\`$lib' is not a valid libtool archive"  ++]
35    
36          # Read the libtool library.          # Read the libtool library.
37          dlname=          dlname=
# Line 52  Then, <command> is executed, with  `<cmd Line 53  Then, <command> is executed, with  `<cmd
53          dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`          dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
54          test "X$dir" = "X$file" && dir=.          test "X$dir" = "X$file" && dir=.
55    
56          [+ test-or-exit test = 'test -f "$dir/$objdir/$dlname"'  invert = yes          [++ test-or-exit test = 'test -f "$dir/$objdir/$dlname"'  invert = yes
57             msg = "cannot find \\`$dlname' in \\`$dir' or \\`$dir/$objdir'" +]             msg = "cannot find \\`$dlname' in \\`$dir' or \\`$dir/$objdir'" ++]
58          dir="$dir/$objdir"          dir="$dir/$objdir"
59          ;;          ;;
60    

Legend:
Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.5

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