1 # This file was created by configpm when Perl was built. Any changes
2 # made to this file will be lost the next time perl is built.
4 # for a description of the variables, please have a look at the
5 # Glossary file, as written in the Porting folder, or use the url:
6 # http://perl5.git.perl.org/perl.git/blob/HEAD:/Porting/Glossary
13 # Skip @Config::EXPORT because it only contains %Config, which we special
14 # case below as it's not a function. @Config::EXPORT won't change in the
16 my %Export_Cache = (myconfig => 1, config_sh => 1, config_vars => 1,
17 config_re => 1, compile_date => 1, local_patches => 1,
18 bincompat_options => 1, non_bincompat_options => 1,
21 @Config::EXPORT = qw(%Config);
22 @Config::EXPORT_OK = keys %Export_Cache;
24 # Need to stub all the functions to make code such as print Config::config_sh
27 sub bincompat_options;
35 sub non_bincompat_options;
37 # Define our own import method to avoid pulling in the full Exporter:
40 @_ = @Config::EXPORT unless @_;
42 my @funcs = grep $_ ne '%Config', @_;
43 my $export_Config = @funcs < @_ ? 1 : 0;
46 my $callpkg = caller(0);
47 foreach my $func (@funcs) {
48 die qq{"$func" is not exported by the Config module\n}
49 unless $Export_Cache{$func};
50 *{$callpkg.'::'.$func} = \&{$func};
53 *{"$callpkg\::Config"} = \%Config if $export_Config;
57 die "Perl lib version (5.14.2) doesn't match executable '$0' version ($])"
61 or die "Perl lib version (5.14.2) doesn't match executable '$0' version (" .
62 sprintf("v%vd",$^V) . ")";
68 # check for cached value (which may be undef so we use exists not defined)
69 return exists $self->{$key} ? $self->{$key} : $self->fetch_string($key);
79 require 'Config_heavy.pl';
80 goto \&launcher unless $Config::AUTOLOAD =~ /launcher$/;
81 die "&Config::AUTOLOAD failed on $Config::AUTOLOAD";
84 # tie returns the object, so the value returned to require will be true.
85 tie %Config, 'Config', {
86 archlibexp => '/usr/local/apps-perl/lib/5.14.2/x86_64-linux',
87 archname => 'x86_64-linux',
89 d_readlink => 'define',
90 d_symlink => 'define',
92 dlsrc => 'dl_dlopen.xs',
93 dont_use_nlink => undef,
95 inc_version_list => ' ',
97 ldlibpthname => 'LD_LIBRARY_PATH',
98 libpth => '/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64',
100 osvers => '2.6.21.7-2.fc8xen-ec2-v1.0',
102 privlibexp => '/usr/local/apps-perl/lib/5.14.2',
103 scriptdir => '/usr/local/apps-perl/bin',
104 sitearchexp => '/usr/local/apps-perl/lib/site_perl/5.14.2/x86_64-linux',
105 sitelibexp => '/usr/local/apps-perl/lib/site_perl/5.14.2',
107 useithreads => undef,
108 usevendorprefix => undef,