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= |
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 |
|
|