Lines Matching refs:opt

37 my %opt;
41 $opt{$1}=$2;
46 FindExt::set_static_extensions(split ' ', $opt{'static_ext'});
50 if (!$opt{'use5005threads'} || $opt{'use5005threads'} eq 'undef')
55 $opt{'nonxs_ext'} = join(' ',FindExt::nonxs_ext()) || ' ';
56 $opt{'static_ext'} = join(' ',FindExt::static_ext()) || ' ';
57 $opt{'dynamic_ext'} = join(' ',@dynamic_ext) || ' ';
58 $opt{'extensions'} = join(' ',@extensions) || ' ';
59 $opt{'known_extensions'} = join(' ',FindExt::known_extensions()) || ' ';
67 $opt{$1} = $2;
75 $opt{VERSION} = "$opt{PERL_REVISION}.$opt{PERL_VERSION}.$opt{PERL_SUBVERSION}";
76 $opt{INST_VER} =~ s|~VERSION~|$opt{VERSION}|g;
77 $opt{'version_patchlevel_string'} = "version $opt{PERL_VERSION} subversion $opt{PERL_SUBVERSION}";
78 $opt{'version_patchlevel_string'} .= " patchlevel $opt{PERL_PATCHLEVEL}" if exists $opt{PERL_PATCHL…
80 $opt{'osvers'} = join '.', (Win32::GetOSVersion())[1,2];
82 if (exists $opt{cc}) {
84 if ($opt{cc} eq 'cl') {
86 $opt{ccversion} = $output =~ /^.*Version\s+([\d.]+)/ ? $1 : '?';
88 elsif ($opt{cc} eq 'bcc32') {
90 $opt{ccversion} = $output =~ /([\d.]+)/ ? $1 : '?';
92 elsif ($opt{cc} eq 'gcc') {
93 chomp($opt{gccversion} = `gcc -dumpversion`);
97 $opt{'cf_by'} = $ENV{USERNAME} unless $opt{'cf_by'};
98 $opt{'cf_email'} = $opt{'cf_by'} . '@' . (gethostbyname('localhost'))[0]
99 unless $opt{'cf_email'};
100 $opt{'usemymalloc'} = 'y' if $opt{'d_mymalloc'} eq 'define';
102 $opt{libpth} = mungepath($opt{libpth}) if exists $opt{libpth};
103 $opt{incpath} = mungepath($opt{incpath}) if exists $opt{incpath};
107 $opt{d_flock} = 'undef';
108 $opt{d_link} = 'undef';
111 if ($opt{uselargefiles} ne 'define') {
112 $opt{lseeksize} = 4;
113 $opt{lseektype} = 'off_t';
117 s/~([\w_]+)~/$opt{$1}/g;
125 elsif (exists $opt{$k}) {
126 $_ = "$k='$opt{$k}'\n";