Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | # NOTE: Derived from blib/lib/Inline.pm. |
2 | # Changes made here will be lost when autosplit is run again. | |
3 | # See AutoSplit.pm. | |
4 | package Inline; | |
5 | ||
6 | #line 1103 "blib/lib/Inline.pm (autosplit into blib/lib/auto/Inline/print_info.al)" | |
7 | #============================================================================== | |
8 | # Print a small report if PRINT_INFO option is set. | |
9 | #============================================================================== | |
10 | sub print_info { | |
11 | use strict; | |
12 | my $o = shift; | |
13 | ||
14 | print STDERR <<END; | |
15 | <-----------------------Information Section-----------------------------------> | |
16 | ||
17 | Information about the processing of your Inline $o->{API}{language_id} code: | |
18 | ||
19 | END | |
20 | ||
21 | print STDERR <<END if ($o->{INLINE}{object_ready}); | |
22 | Your module is already compiled. It is located at: | |
23 | $o->{API}{location} | |
24 | ||
25 | END | |
26 | ||
27 | print STDERR <<END if ($o->{INLINE}{object_ready} and $o->{CONFIG}{FORCE_BUILD}); | |
28 | But the FORCE_BUILD option is set, so your code will be recompiled. | |
29 | I\'ll use this build directory: | |
30 | $o->{API}{build_dir} | |
31 | ||
32 | and I\'ll install the executable as: | |
33 | $o->{API}{location} | |
34 | ||
35 | END | |
36 | print STDERR <<END if (not $o->{INLINE}{object_ready}); | |
37 | Your source code needs to be compiled. I\'ll use this build directory: | |
38 | $o->{API}{build_dir} | |
39 | ||
40 | and I\'ll install the executable as: | |
41 | $o->{API}{location} | |
42 | ||
43 | END | |
44 | ||
45 | eval { | |
46 | print STDERR $o->info; | |
47 | }; | |
48 | print $@ if $@; | |
49 | ||
50 | print STDERR <<END; | |
51 | ||
52 | <-----------------------End of Information Section----------------------------> | |
53 | END | |
54 | } | |
55 | ||
56 | # end of Inline::print_info | |
57 | 1; |