Project

General

Profile

Bug #3900 » Config_heavy.pl

Alexander Pyhalov, 2013-08-02 09:40 AM

 
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.
3

    
4
package Config;
5
use strict;
6
# use warnings; Pulls in Carp
7
# use vars pulls in Carp
8
##! /usr/bin/sh
9
##
10

    
11
##
12
#
13
##
14
## Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
15
## Use is subject to license terms.
16
##
17
#
18
##ident	"@(#)config.sh.i386	1.2	09/09/03 SMI"
19
##
20
##
21
## This file was produced by running the Configure script. It holds all the
22
## definitions figured out by Configure. Should you modify one of these values,
23
## do not forget to propagate your changes by running "Configure -der". You may
24
## instead choose to run each of the .SH files by yourself, or "Configure -S".
25
##
26
#
27
## Package name      : perl5
28
## Source directory  : .
29
## Configuration time: Wed Feb 25 12:25:31 PST 2009
30
## Configured by     : perl-bugs
31
## Target system     : sunos localhost 5.11 snv_105 i86pc i386 i86xpv 
32
#
33
## Configure command line arguments.
34
#PERL_PATCHLEVEL=
35

    
36
our $summary = <<'!END!';
37
Summary of my $package (revision $revision $version_patchlevel_string) configuration:
38
  Platform:
39
    osname=$osname, osvers=$osvers, archname=$archname
40
    uname='$myuname'
41
    config_args='$config_args'
42
    hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction
43
    useithreads=$useithreads, usemultiplicity=$usemultiplicity
44
    useperlio=$useperlio, d_sfio=$d_sfio, uselargefiles=$uselargefiles, usesocks=$usesocks
45
    use64bitint=$use64bitint, use64bitall=$use64bitall, uselongdouble=$uselongdouble
46
    usemymalloc=$usemymalloc, bincompat5005=undef
47
  Compiler:
48
    cc='$cc', ccflags ='$ccflags',
49
    optimize='$optimize',
50
    cppflags='$cppflags'
51
    ccversion='$ccversion', gccversion='$gccversion', gccosandvers='$gccosandvers'
52
    intsize=$intsize, longsize=$longsize, ptrsize=$ptrsize, doublesize=$doublesize, byteorder=$byteorder
53
    d_longlong=$d_longlong, longlongsize=$longlongsize, d_longdbl=$d_longdbl, longdblsize=$longdblsize
54
    ivtype='$ivtype', ivsize=$ivsize, nvtype='$nvtype', nvsize=$nvsize, Off_t='$lseektype', lseeksize=$lseeksize
55
    alignbytes=$alignbytes, prototype=$prototype
56
  Linker and Libraries:
57
    ld='$ld', ldflags ='$ldflags'
58
    libpth=$libpth
59
    libs=$libs
60
    perllibs=$perllibs
61
    libc=$libc, so=$so, useshrplib=$useshrplib, libperl=$libperl
62
    gnulibc_version='$gnulibc_version'
63
  Dynamic Linking:
64
    dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags'
65
    cccdlflags='$cccdlflags', lddlflags='$lddlflags'
66

    
67
!END!
68
my $summary_expanded;
69

    
70
sub myconfig {
71
    return $summary_expanded if $summary_expanded;
72
    ($summary_expanded = $summary) =~ s{\$(\w+)}
73
		 { my $c = $Config::Config{$1}; defined($c) ? $c : 'undef' }ge;
74
    $summary_expanded;
75
}
76

    
77
local *_ = \my $a;
78
$_ = <<'!END!';
79
Author=''
80
CONFIG='true'
81
Date='$Date'
82
Header=''
83
Id='$Id'
84
Locker=''
85
Log='$Log'
86
Mcc='Mcc'
87
PATCHLEVEL='10'
88
PERL_API_REVISION='5'
89
PERL_API_SUBVERSION='0'
90
PERL_API_VERSION='10'
91
PERL_CONFIG_SH='true'
92
PERL_REVISION='5'
93
PERL_SUBVERSION='0'
94
PERL_VERSION='10'
95
RCSfile='$RCSfile'
96
Revision='$Revision'
97
SUBVERSION='0'
98
Source=''
99
State=''
100
_a='.a'
101
_exe=''
102
_o='.o'
103
afs='false'
104
afsroot='/afs'
105
alignbytes='4'
106
ansi2knr=''
107
aphostname='/usr/bin/hostname'
108
api_revision='5'
109
api_subversion='0'
110
api_version='10'
111
api_versionstring='5.10.0'
112
ar='ar'
113
archlib='/usr/perl5/5.10.0/lib/i86pc-solaris-64int'
114
archlibexp='/usr/perl5/5.10.0/lib/i86pc-solaris-64int'
115
archname64='64int'
116
archname='i86pc-solaris-64int'
117
archobjs=''
118
asctime_r_proto='0'
119
awk='awk'
120
baserev='5.0'
121
bash=''
122
bin='/usr/perl5/5.10.0/bin'
123
binexp='/usr/perl5/5.10.0/bin'
124
bison='bison'
125
byacc='byacc'
126
byteorder='12345678'
127
c='\c'
128
castflags='0'
129
cat='cat'
130
cc='cc'
131
cccdlflags='-KPIC'
132
ccdlflags='-R /usr/perl5/5.10.0/lib/i86pc-solaris-64int/CORE '
133
ccflags='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -DPERL_USE_SAFE_PUTENV'
134
ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
135
ccname='cc'
136
ccsymbols=''
137
ccversion='Sun C 5.9 SunOS_i386 Patch 124868-07 2008/10/07'
138
cf_by='perl-bugs'
139
cf_email='perl-bugs@sun.com'
140
cf_time=''
141
chgrp=''
142
chmod='chmod'
143
chown=''
144
clocktype='clock_t'
145
comm='comm'
146
compress=''
147
config_arg0='./Configure'
148
config_argc='0'
149
config_args=''
150
contains='grep'
151
cp='cp'
152
cpio=''
153
cpp='cpp'
154
cpp_stuff='42'
155
cppccsymbols=''
156
cppflags=''
157
cpplast='-'
158
cppminus='-'
159
cpprun='cc -E'
160
cppstdin='cc -E'
161
cppsymbols='_FILE_OFFSET_BITS=64 i386=1 __i386=1 _ILP32=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _LITTLE_ENDIAN=1 __STDC__=1 sun=1 __sun=1 __SVR4=1 unix=1 __unix=1'
162
crypt_r_proto='0'
163
cryptlib=''
164
csh='csh'
165
ctermid_r_proto='0'
166
ctime_r_proto='0'
167
d_Gconvert='gconvert((x),(n),(t),(b))'
168
d_PRIEUldbl='define'
169
d_PRIFUldbl='define'
170
d_PRIGUldbl='define'
171
d_PRIXU64='define'
172
d_PRId64='define'
173
d_PRIeldbl='define'
174
d_PRIfldbl='define'
175
d_PRIgldbl='define'
176
d_PRIi64='define'
177
d_PRIo64='define'
178
d_PRIu64='define'
179
d_PRIx64='define'
180
d_SCNfldbl='define'
181
d__fwalk='undef'
182
d_access='define'
183
d_accessx='undef'
184
d_aintl='undef'
185
d_alarm='define'
186
d_archlib='define'
187
d_asctime_r='undef'
188
d_atolf='undef'
189
d_atoll='define'
190
d_attribute_format='undef'
191
d_attribute_malloc='define'
192
d_attribute_nonnull='define'
193
d_attribute_noreturn='define'
194
d_attribute_pure='define'
195
d_attribute_unused='define'
196
d_attribute_warn_unused_result='undef'
197
d_bcmp='define'
198
d_bcopy='define'
199
d_bsd='undef'
200
d_bsdgetpgrp='undef'
201
d_bsdsetpgrp='undef'
202
d_builtin_choose_expr='undef'
203
d_builtin_expect='undef'
204
d_bzero='define'
205
d_c99_variadic_macros='define'
206
d_casti32='undef'
207
d_castneg='define'
208
d_charvspr='undef'
209
d_chown='define'
210
d_chroot='define'
211
d_chsize='undef'
212
d_class='undef'
213
d_clearenv='undef'
214
d_closedir='define'
215
d_cmsghdr_s='define'
216
d_const='define'
217
d_copysignl='define'
218
d_cplusplus='undef'
219
d_crypt='define'
220
d_crypt_r='undef'
221
d_csh='define'
222
d_ctermid='define'
223
d_ctermid_r='undef'
224
d_ctime_r='undef'
225
d_cuserid='define'
226
d_dbl_dig='define'
227
d_dbminitproto='undef'
228
d_difftime='define'
229
d_dir_dd_fd='define'
230
d_dirfd='undef'
231
d_dirnamlen='undef'
232
d_dlerror='define'
233
d_dlopen='define'
234
d_dlsymun='undef'
235
d_dosuid='undef'
236
d_drand48_r='undef'
237
d_drand48proto='define'
238
d_dup2='define'
239
d_eaccess='undef'
240
d_endgrent='define'
241
d_endgrent_r='undef'
242
d_endhent='define'
243
d_endhostent_r='undef'
244
d_endnent='define'
245
d_endnetent_r='undef'
246
d_endpent='define'
247
d_endprotoent_r='undef'
248
d_endpwent='define'
249
d_endpwent_r='undef'
250
d_endsent='define'
251
d_endservent_r='undef'
252
d_eofnblk='define'
253
d_eunice='undef'
254
d_faststdio='define'
255
d_fchdir='define'
256
d_fchmod='define'
257
d_fchown='define'
258
d_fcntl='define'
259
d_fcntl_can_lock='define'
260
d_fd_macros='define'
261
d_fd_set='define'
262
d_fds_bits='define'
263
d_fgetpos='define'
264
d_finite='define'
265
d_finitel='undef'
266
d_flexfnam='define'
267
d_flock='undef'
268
d_flockproto='undef'
269
d_fork='define'
270
d_fp_class='undef'
271
d_fpathconf='define'
272
d_fpclass='define'
273
d_fpclassify='undef'
274
d_fpclassl='undef'
275
d_fpos64_t='define'
276
d_frexpl='define'
277
d_fs_data_s='undef'
278
d_fseeko='define'
279
d_fsetpos='define'
280
d_fstatfs='define'
281
d_fstatvfs='define'
282
d_fsync='define'
283
d_ftello='define'
284
d_ftime='undef'
285
d_futimes='undef'
286
d_getcwd='define'
287
d_getespwnam='undef'
288
d_getfsstat='undef'
289
d_getgrent='define'
290
d_getgrent_r='undef'
291
d_getgrgid_r='undef'
292
d_getgrnam_r='undef'
293
d_getgrps='define'
294
d_gethbyaddr='define'
295
d_gethbyname='define'
296
d_gethent='define'
297
d_gethname='define'
298
d_gethostbyaddr_r='undef'
299
d_gethostbyname_r='undef'
300
d_gethostent_r='undef'
301
d_gethostprotos='define'
302
d_getitimer='define'
303
d_getlogin='define'
304
d_getlogin_r='undef'
305
d_getmnt='undef'
306
d_getmntent='define'
307
d_getnbyaddr='define'
308
d_getnbyname='define'
309
d_getnent='define'
310
d_getnetbyaddr_r='undef'
311
d_getnetbyname_r='undef'
312
d_getnetent_r='undef'
313
d_getnetprotos='define'
314
d_getpagsz='define'
315
d_getpbyname='define'
316
d_getpbynumber='define'
317
d_getpent='define'
318
d_getpgid='define'
319
d_getpgrp2='undef'
320
d_getpgrp='define'
321
d_getppid='define'
322
d_getprior='define'
323
d_getprotobyname_r='undef'
324
d_getprotobynumber_r='undef'
325
d_getprotoent_r='undef'
326
d_getprotoprotos='define'
327
d_getprpwnam='undef'
328
d_getpwent='define'
329
d_getpwent_r='undef'
330
d_getpwnam_r='undef'
331
d_getpwuid_r='undef'
332
d_getsbyname='define'
333
d_getsbyport='define'
334
d_getsent='define'
335
d_getservbyname_r='undef'
336
d_getservbyport_r='undef'
337
d_getservent_r='undef'
338
d_getservprotos='define'
339
d_getspnam='define'
340
d_getspnam_r='undef'
341
d_gettimeod='define'
342
d_gmtime_r='undef'
343
d_gnulibc='undef'
344
d_grpasswd='define'
345
d_hasmntopt='define'
346
d_htonl='define'
347
d_ilogbl='define'
348
d_inc_version_list='undef'
349
d_index='undef'
350
d_inetaton='undef'
351
d_int64_t='define'
352
d_isascii='define'
353
d_isfinite='undef'
354
d_isinf='undef'
355
d_isnan='define'
356
d_isnanl='define'
357
d_killpg='define'
358
d_lchown='define'
359
d_ldbl_dig='define'
360
d_libm_lib_version='undef'
361
d_link='define'
362
d_localtime_r='undef'
363
d_localtime_r_needs_tzset='undef'
364
d_locconv='define'
365
d_lockf='define'
366
d_longdbl='define'
367
d_longlong='define'
368
d_lseekproto='define'
369
d_lstat='define'
370
d_madvise='define'
371
d_malloc_good_size='undef'
372
d_malloc_size='undef'
373
d_mblen='define'
374
d_mbstowcs='define'
375
d_mbtowc='define'
376
d_memchr='define'
377
d_memcmp='define'
378
d_memcpy='define'
379
d_memmove='define'
380
d_memset='define'
381
d_mkdir='define'
382
d_mkdtemp='define'
383
d_mkfifo='define'
384
d_mkstemp='define'
385
d_mkstemps='define'
386
d_mktime='define'
387
d_mmap='define'
388
d_modfl='define'
389
d_modfl_pow32_bug='undef'
390
d_modflproto='undef'
391
d_mprotect='define'
392
d_msg='define'
393
d_msg_ctrunc='define'
394
d_msg_dontroute='define'
395
d_msg_oob='define'
396
d_msg_peek='define'
397
d_msg_proxy='undef'
398
d_msgctl='define'
399
d_msgget='define'
400
d_msghdr_s='define'
401
d_msgrcv='define'
402
d_msgsnd='define'
403
d_msync='define'
404
d_munmap='define'
405
d_mymalloc='undef'
406
d_nice='define'
407
d_nl_langinfo='define'
408
d_nv_preserves_uv='undef'
409
d_nv_zero_is_allbits_zero='define'
410
d_off64_t='define'
411
d_old_pthread_create_joinable='undef'
412
d_oldpthreads='undef'
413
d_oldsock='undef'
414
d_open3='define'
415
d_pathconf='define'
416
d_pause='define'
417
d_perl_otherlibdirs='undef'
418
d_phostname='undef'
419
d_pipe='define'
420
d_poll='define'
421
d_portable='define'
422
d_printf_format_null='undef'
423
d_procselfexe='undef'
424
d_pseudofork='undef'
425
d_pthread_atfork='define'
426
d_pthread_attr_setscope='define'
427
d_pthread_yield='undef'
428
d_pwage='define'
429
d_pwchange='undef'
430
d_pwclass='undef'
431
d_pwcomment='define'
432
d_pwexpire='undef'
433
d_pwgecos='define'
434
d_pwpasswd='define'
435
d_pwquota='undef'
436
d_qgcvt='define'
437
d_quad='define'
438
d_random_r='undef'
439
d_readdir64_r='undef'
440
d_readdir='define'
441
d_readdir_r='undef'
442
d_readlink='define'
443
d_readv='define'
444
d_recvmsg='define'
445
d_rename='define'
446
d_rewinddir='define'
447
d_rmdir='define'
448
d_safebcpy='undef'
449
d_safemcpy='undef'
450
d_sanemcmp='define'
451
d_sbrkproto='define'
452
d_scalbnl='define'
453
d_sched_yield='undef'
454
d_scm_rights='define'
455
d_seekdir='define'
456
d_select='define'
457
d_sem='define'
458
d_semctl='define'
459
d_semctl_semid_ds='define'
460
d_semctl_semun='define'
461
d_semget='define'
462
d_semop='define'
463
d_sendmsg='define'
464
d_setegid='define'
465
d_seteuid='define'
466
d_setgrent='define'
467
d_setgrent_r='undef'
468
d_setgrps='define'
469
d_sethent='define'
470
d_sethostent_r='undef'
471
d_setitimer='define'
472
d_setlinebuf='define'
473
d_setlocale='define'
474
d_setlocale_r='undef'
475
d_setnent='define'
476
d_setnetent_r='undef'
477
d_setpent='define'
478
d_setpgid='define'
479
d_setpgrp2='undef'
480
d_setpgrp='define'
481
d_setprior='define'
482
d_setproctitle='undef'
483
d_setprotoent_r='undef'
484
d_setpwent='define'
485
d_setpwent_r='undef'
486
d_setregid='define'
487
d_setresgid='undef'
488
d_setresuid='undef'
489
d_setreuid='define'
490
d_setrgid='undef'
491
d_setruid='undef'
492
d_setsent='define'
493
d_setservent_r='undef'
494
d_setsid='define'
495
d_setvbuf='define'
496
d_sfio='undef'
497
d_shm='define'
498
d_shmat='define'
499
d_shmatprototype='define'
500
d_shmctl='define'
501
d_shmdt='define'
502
d_shmget='define'
503
d_sigaction='define'
504
d_signbit='define'
505
d_sigprocmask='define'
506
d_sigsetjmp='define'
507
d_sitearch='define'
508
d_snprintf='define'
509
d_sockatmark='define'
510
d_sockatmarkproto='define'
511
d_socket='define'
512
d_socklen_t='define'
513
d_sockpair='define'
514
d_socks5_init='undef'
515
d_sprintf_returns_strlen='define'
516
d_sqrtl='define'
517
d_srand48_r='undef'
518
d_srandom_r='undef'
519
d_sresgproto='undef'
520
d_sresuproto='undef'
521
d_statblks='define'
522
d_statfs_f_flags='undef'
523
d_statfs_s='define'
524
d_statvfs='define'
525
d_stdio_cnt_lval='define'
526
d_stdio_ptr_lval='define'
527
d_stdio_ptr_lval_nochange_cnt='define'
528
d_stdio_ptr_lval_sets_cnt='undef'
529
d_stdio_stream_array='define'
530
d_stdiobase='define'
531
d_stdstdio='define'
532
d_strchr='define'
533
d_strcoll='define'
534
d_strctcpy='define'
535
d_strerrm='strerror(e)'
536
d_strerror='define'
537
d_strerror_r='undef'
538
d_strftime='define'
539
d_strlcat='define'
540
d_strlcpy='define'
541
d_strtod='define'
542
d_strtol='define'
543
d_strtold='define'
544
d_strtoll='define'
545
d_strtoq='undef'
546
d_strtoul='define'
547
d_strtoull='define'
548
d_strtouq='undef'
549
d_strxfrm='define'
550
d_suidsafe='define'
551
d_symlink='define'
552
d_syscall='define'
553
d_syscallproto='undef'
554
d_sysconf='define'
555
d_sysernlst=''
556
d_syserrlst='define'
557
d_system='define'
558
d_tcgetpgrp='define'
559
d_tcsetpgrp='define'
560
d_telldir='define'
561
d_telldirproto='define'
562
d_time='define'
563
d_times='define'
564
d_tm_tm_gmtoff='undef'
565
d_tm_tm_zone='undef'
566
d_tmpnam_r='undef'
567
d_truncate='define'
568
d_ttyname_r='undef'
569
d_tzname='define'
570
d_u32align='define'
571
d_ualarm='define'
572
d_umask='define'
573
d_uname='define'
574
d_union_semun='undef'
575
d_unordered='define'
576
d_unsetenv='define'
577
d_usleep='define'
578
d_usleepproto='define'
579
d_ustat='define'
580
d_vendorarch='define'
581
d_vendorbin='define'
582
d_vendorlib='define'
583
d_vendorscript='define'
584
d_vfork='undef'
585
d_void_closedir='undef'
586
d_voidsig='define'
587
d_voidtty=''
588
d_volatile='define'
589
d_vprintf='define'
590
d_vsnprintf='define'
591
d_wait4='define'
592
d_waitpid='define'
593
d_wcstombs='define'
594
d_wctomb='define'
595
d_writev='define'
596
d_xenix='undef'
597
date='date'
598
db_hashtype='u_int32_t'
599
db_prefixtype='size_t'
600
db_version_major=''
601
db_version_minor=''
602
db_version_patch=''
603
defvoidused='15'
604
direntrytype='struct dirent'
605
dlext='so'
606
dlsrc='dl_dlopen.xs'
607
doublesize='8'
608
drand01='drand48()'
609
drand48_r_proto='0'
610
dynamic_ext='B ByteLoader Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared Hash/Util/FieldHash'
611
eagain='EAGAIN'
612
ebcdic='undef'
613
echo='echo'
614
egrep='egrep'
615
emacs=''
616
endgrent_r_proto='0'
617
endhostent_r_proto='0'
618
endnetent_r_proto='0'
619
endprotoent_r_proto='0'
620
endpwent_r_proto='0'
621
endservent_r_proto='0'
622
eunicefix=':'
623
exe_ext=''
624
expr='expr'
625
extensions='B ByteLoader Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared Hash/Util/FieldHash Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib'
626
extras=''
627
fflushNULL='define'
628
fflushall='undef'
629
find=''
630
firstmakefile='makefile'
631
flex=''
632
fpossize='8'
633
fpostype='fpos_t'
634
freetype='void'
635
from=':'
636
full_ar='/usr/xpg4/bin/ar'
637
full_csh='/usr/bin/csh'
638
full_sed='/usr/xpg4/bin/sed'
639
gccansipedantic=''
640
gccosandvers=''
641
gccversion=''
642
getgrent_r_proto='0'
643
getgrgid_r_proto='0'
644
getgrnam_r_proto='0'
645
gethostbyaddr_r_proto='0'
646
gethostbyname_r_proto='0'
647
gethostent_r_proto='0'
648
getlogin_r_proto='0'
649
getnetbyaddr_r_proto='0'
650
getnetbyname_r_proto='0'
651
getnetent_r_proto='0'
652
getprotobyname_r_proto='0'
653
getprotobynumber_r_proto='0'
654
getprotoent_r_proto='0'
655
getpwent_r_proto='0'
656
getpwnam_r_proto='0'
657
getpwuid_r_proto='0'
658
getservbyname_r_proto='0'
659
getservbyport_r_proto='0'
660
getservent_r_proto='0'
661
getspnam_r_proto='0'
662
gidformat='"ld"'
663
gidsign='-1'
664
gidsize='4'
665
gidtype='gid_t'
666
glibpth='/usr/shlib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/local/lib'
667
gmake='gmake'
668
gmtime_r_proto='0'
669
gnulibc_version=''
670
grep='grep'
671
groupcat='cat /etc/group'
672
groupstype='gid_t'
673
gzip='gzip'
674
h_fcntl='true'
675
h_sysfile='false'
676
hint='recommended'
677
hostcat='cat /etc/hosts'
678
html1dir=' '
679
html1direxp=''
680
html3dir=' '
681
html3direxp=''
682
i16size='2'
683
i16type='short'
684
i32size='4'
685
i32type='long'
686
i64size='8'
687
i64type='long long'
688
i8size='1'
689
i8type='char'
690
i_arpainet='define'
691
i_bsdioctl=''
692
i_crypt='define'
693
i_db='undef'
694
i_dbm='undef'
695
i_dirent='define'
696
i_dld='undef'
697
i_dlfcn='define'
698
i_fcntl='define'
699
i_float='define'
700
i_fp='undef'
701
i_fp_class='undef'
702
i_gdbm='undef'
703
i_grp='define'
704
i_ieeefp='define'
705
i_inttypes='define'
706
i_langinfo='define'
707
i_libutil='undef'
708
i_limits='define'
709
i_locale='define'
710
i_machcthr='undef'
711
i_malloc='define'
712
i_math='define'
713
i_memory='undef'
714
i_mntent='undef'
715
i_ndbm='define'
716
i_netdb='define'
717
i_neterrno='undef'
718
i_netinettcp='define'
719
i_niin='define'
720
i_poll='define'
721
i_prot='undef'
722
i_pthread='define'
723
i_pwd='define'
724
i_rpcsvcdbm='define'
725
i_sfio='undef'
726
i_sgtty='undef'
727
i_shadow='define'
728
i_socks='undef'
729
i_stdarg='define'
730
i_stddef='define'
731
i_stdlib='define'
732
i_string='define'
733
i_sunmath='define'
734
i_sysaccess='undef'
735
i_sysdir='undef'
736
i_sysfile='undef'
737
i_sysfilio='define'
738
i_sysin='undef'
739
i_sysioctl='define'
740
i_syslog='define'
741
i_sysmman='define'
742
i_sysmode='define'
743
i_sysmount='define'
744
i_sysndir='undef'
745
i_sysparam='define'
746
i_sysresrc='define'
747
i_syssecrt='undef'
748
i_sysselct='define'
749
i_syssockio='define'
750
i_sysstat='define'
751
i_sysstatfs='define'
752
i_sysstatvfs='define'
753
i_systime='define'
754
i_systimek='undef'
755
i_systimes='define'
756
i_systypes='define'
757
i_sysuio='define'
758
i_sysun='define'
759
i_sysutsname='define'
760
i_sysvfs='define'
761
i_syswait='define'
762
i_termio='undef'
763
i_termios='define'
764
i_time='undef'
765
i_unistd='define'
766
i_ustat='define'
767
i_utime='define'
768
i_values='define'
769
i_varargs='undef'
770
i_varhdr='stdarg.h'
771
i_vfork='undef'
772
ignore_versioned_solibs=''
773
inc_version_list=' '
774
inc_version_list_init='0'
775
incpath=''
776
inews=''
777
installarchlib='/usr/perl5/5.10.0/lib/i86pc-solaris-64int'
778
installbin='/usr/perl5/5.10.0/bin'
779
installhtml1dir=''
780
installhtml3dir=''
781
installman1dir='/usr/perl5/5.10.0/man/man1'
782
installman3dir='/usr/perl5/5.10.0/man/man3'
783
installprefix='/usr/perl5/5.10.0'
784
installprefixexp='/usr/perl5/5.10.0'
785
installprivlib='/usr/perl5/5.10.0/lib'
786
installscript='/usr/perl5/5.10.0/bin'
787
installsitearch='/usr/perl5/site_perl/5.10.0/i86pc-solaris-64int'
788
installsitebin='/usr/perl5/5.10.0/bin'
789
installsitehtml1dir=''
790
installsitehtml3dir=''
791
installsitelib='/usr/perl5/site_perl/5.10.0'
792
installsiteman1dir='/usr/perl5/5.10.0/man/man1'
793
installsiteman3dir='/usr/perl5/5.10.0/man/man3'
794
installsitescript='/usr/perl5/5.10.0/bin'
795
installstyle='lib'
796
installusrbinperl='undef'
797
installvendorarch='/usr/perl5/vendor_perl/5.10.0/i86pc-solaris-64int'
798
installvendorbin='/usr/perl5/5.10.0/bin'
799
installvendorhtml1dir=''
800
installvendorhtml3dir=''
801
installvendorlib='/usr/perl5/vendor_perl/5.10.0'
802
installvendorman1dir='/usr/perl5/5.10.0/man/man1'
803
installvendorman3dir='/usr/perl5/5.10.0/man/man3'
804
installvendorscript='/usr/perl5/5.10.0/bin'
805
intsize='4'
806
issymlink='test -h'
807
ivdformat='"lld"'
808
ivsize='8'
809
ivtype='long long'
810
known_extensions='B ByteLoader Compress/Raw/Zlib Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize Win32 Win32API/File Win32CORE XS/APItest XS/Typemap attrs re threads threads/shared Hash/Util/FieldHash'
811
ksh=''
812
ld='cc'
813
lddlflags='-G'
814
ldflags=''
815
ldflags_uselargefiles=''
816
ldlibpthname='LD_LIBRARY_PATH'
817
less='less'
818
lib_ext='.a'
819
libc='/lib/libc.so'
820
libperl='libperl.so'
821
libpth='/lib /usr/lib /usr/ccs/lib'
822
libs='-lsocket -lnsl -ldl -lm -lc'
823
libsdirs=' /usr/lib'
824
libsfiles=' libsocket.so libnsl.so libdl.so libm.so libc.so'
825
libsfound=' /usr/lib/libsocket.so /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libc.so'
826
libspath='/lib /usr/lib /usr/ccs/lib'
827
libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db dl dld sun m util c cposix posix bsd BSD '
828
libswanted_uselargefiles=''
829
line=''
830
lint=''
831
lkflags=''
832
ln='ln'
833
lns='/usr/xpg4/bin/ln -s'
834
localtime_r_proto='0'
835
locincpth='/usr/sfw/include /opt/sfw/include /usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
836
loclibpth='/usr/sfw/lib /opt/sfw/lib /usr/lib /usr/ccs/lib /usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
837
longdblsize='12'
838
longlongsize='8'
839
longsize='4'
840
lp=''
841
lpr=''
842
ls='ls'
843
lseeksize='8'
844
lseektype='off_t'
845
mad='undef'
846
madlyh=''
847
madlyobj=''
848
madlysrc=''
849
mail=''
850
mailx=''
851
make='make'
852
make_set_make='#'
853
mallocobj=''
854
mallocsrc=''
855
malloctype='void *'
856
man1dir='/usr/perl5/5.10.0/man/man1'
857
man1direxp='/usr/perl5/5.10.0/man/man1'
858
man1ext='1'
859
man3dir='/usr/perl5/5.10.0/man/man3'
860
man3direxp='/usr/perl5/5.10.0/man/man3'
861
man3ext='3'
862
mips_type=''
863
mistrustnm='run'
864
mkdir='mkdir'
865
mmaptype='caddr_t'
866
modetype='mode_t'
867
more='more'
868
multiarch='undef'
869
mv=''
870
myarchname='i86pc-solaris'
871
mydomain='.sun.com'
872
myhostname='localhost'
873
myuname='sunos localhost 5.11 i86pc i386 i86pc'
874
n=''
875
need_va_copy='undef'
876
netdb_hlen_type='size_t'
877
netdb_host_type='const void *'
878
netdb_name_type='const char *'
879
netdb_net_type='in_addr_t'
880
nm='nm'
881
nm_opt='-p'
882
nm_so_opt=''
883
nonxs_ext='Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib'
884
nroff='nroff'
885
nvEUformat='"E"'
886
nvFUformat='"F"'
887
nvGUformat='"G"'
888
nv_preserves_uv_bits='53'
889
nveformat='"e"'
890
nvfformat='"f"'
891
nvgformat='"g"'
892
nvsize='8'
893
nvtype='double'
894
o_nonblock='O_NONBLOCK'
895
obj_ext='.o'
896
old_pthread_create_joinable=''
897
optimize='-xO3 -xspace -xildoff'
898
orderlib='false'
899
osname='solaris'
900
osvers='2.11'
901
otherlibdirs=' '
902
package='perl5'
903
pager='/usr/bin/less'
904
passcat='cat /etc/passwd'
905
patchlevel='10'
906
path_sep=':'
907
perl5='/bin/perl'
908
perl=''
909
perl_patchlevel=''
910
perladmin='perl-bugs@sun.com'
911
perllibs='-lsocket -lnsl -ldl -lm -lc'
912
perlpath='/usr/perl5/5.10.0/bin/perl'
913
pg='pg'
914
phostname='hostname'
915
pidtype='pid_t'
916
plibpth=''
917
pmake=''
918
pr=''
919
prefix='/usr/perl5/5.10.0'
920
prefixexp='/usr/perl5/5.10.0'
921
privlib='/usr/perl5/5.10.0/lib'
922
privlibexp='/usr/perl5/5.10.0/lib'
923
procselfexe=''
924
prototype='define'
925
ptrsize='4'
926
quadkind='3'
927
quadtype='long long'
928
randbits='48'
929
randfunc='drand48'
930
random_r_proto='0'
931
randseedtype='long'
932
ranlib=':'
933
rd_nodata='-1'
934
readdir64_r_proto='0'
935
readdir_r_proto='0'
936
revision='5'
937
rm='rm'
938
rm_try='/usr/xpg4/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*'
939
rmail=''
940
run=''
941
runnm='false'
942
sPRIEUldbl='"LE"'
943
sPRIFUldbl='"LF"'
944
sPRIGUldbl='"LG"'
945
sPRIXU64='"llX"'
946
sPRId64='"lld"'
947
sPRIeldbl='"Le"'
948
sPRIfldbl='"Lf"'
949
sPRIgldbl='"Lg"'
950
sPRIi64='"lli"'
951
sPRIo64='"llo"'
952
sPRIu64='"llu"'
953
sPRIx64='"llx"'
954
sSCNfldbl='"Lf"'
955
sched_yield='undef'
956
scriptdir='/usr/perl5/5.10.0/bin'
957
scriptdirexp='/usr/perl5/5.10.0/bin'
958
sed='sed'
959
seedfunc='srand48'
960
selectminbits='32'
961
selecttype='fd_set *'
962
sendmail=''
963
setgrent_r_proto='0'
964
sethostent_r_proto='0'
965
setlocale_r_proto='0'
966
setnetent_r_proto='0'
967
setprotoent_r_proto='0'
968
setpwent_r_proto='0'
969
setservent_r_proto='0'
970
sh='/bin/sh'
971
shar=''
972
sharpbang='#!'
973
shmattype='void *'
974
shortsize='2'
975
shrpenv=''
976
shsharp='true'
977
sig_count='49'
978
sig_name='ZERO HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM USR1 USR2 CHLD PWR WINCH URG IO STOP TSTP CONT TTIN TTOU VTALRM PROF XCPU XFSZ WAITING LWP FREEZE THAW CANCEL LOST XRES JVM1 JVM2 RTMIN NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 RTMAX IOT CLD POLL '
979
sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "EMT", "FPE", "KILL", "BUS", "SEGV", "SYS", "PIPE", "ALRM", "TERM", "USR1", "USR2", "CHLD", "PWR", "WINCH", "URG", "IO", "STOP", "TSTP", "CONT", "TTIN", "TTOU", "VTALRM", "PROF", "XCPU", "XFSZ", "WAITING", "LWP", "FREEZE", "THAW", "CANCEL", "LOST", "XRES", "JVM1", "JVM2", "RTMIN", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "RTMAX", "IOT", "CLD", "POLL", 0'
980
sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 6 18 22 '
981
sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 6, 18, 22, 0'
982
sig_size='52'
983
signal_t='void'
984
sitearch='/usr/perl5/site_perl/5.10.0/i86pc-solaris-64int'
985
sitearchexp='/usr/perl5/site_perl/5.10.0/i86pc-solaris-64int'
986
sitebin='/usr/perl5/5.10.0/bin'
987
sitebinexp='/usr/perl5/5.10.0/bin'
988
sitehtml1dir=''
989
sitehtml1direxp=''
990
sitehtml3dir=''
991
sitehtml3direxp=''
992
sitelib='/usr/perl5/site_perl/5.10.0'
993
sitelib_stem='/usr/perl5/site_perl'
994
sitelibexp='/usr/perl5/site_perl/5.10.0'
995
siteman1dir='/usr/perl5/5.10.0/man/man1'
996
siteman1direxp='/usr/perl5/5.10.0/man/man1'
997
siteman3dir='/usr/perl5/5.10.0/man/man3'
998
siteman3direxp='/usr/perl5/5.10.0/man/man3'
999
siteprefix='/usr/perl5/5.10.0'
1000
siteprefixexp='/usr/perl5/5.10.0'
1001
sitescript='/usr/perl5/5.10.0/bin'
1002
sitescriptexp='/usr/perl5/5.10.0/bin'
1003
sizesize='4'
1004
sizetype='size_t'
1005
sleep=''
1006
smail=''
1007
so='so'
1008
sockethdr=''
1009
socketlib=''
1010
socksizetype='int'
1011
sort='sort'
1012
spackage='Perl5'
1013
spitshell='cat'
1014
srand48_r_proto='0'
1015
srandom_r_proto='0'
1016
src='.'
1017
ssizetype='ssize_t'
1018
startperl='#!/usr/perl5/5.10.0/bin/perl'
1019
startsh='#!/bin/sh'
1020
static_ext=' '
1021
stdchar='unsigned char'
1022
stdio_base='((fp)->_base)'
1023
stdio_bufsiz='((fp)->_cnt + (fp)->_ptr - (fp)->_base)'
1024
stdio_cnt='((fp)->_cnt)'
1025
stdio_filbuf=''
1026
stdio_ptr='((fp)->_ptr)'
1027
stdio_stream_array='__iob'
1028
strerror_r_proto='0'
1029
strings='/usr/include/string.h'
1030
submit=''
1031
subversion='0'
1032
sysman='/usr/share/man/man1'
1033
tail=''
1034
tar=''
1035
targetarch=''
1036
tbl=''
1037
tee=''
1038
test='test'
1039
timeincl='/usr/include/sys/time.h '
1040
timetype='time_t'
1041
tmpnam_r_proto='0'
1042
to=':'
1043
touch='touch'
1044
tr='tr'
1045
trnl='\n'
1046
troff=''
1047
ttyname_r_proto='0'
1048
u16size='2'
1049
u16type='unsigned short'
1050
u32size='4'
1051
u32type='unsigned long'
1052
u64size='8'
1053
u64type='unsigned long long'
1054
u8size='1'
1055
u8type='unsigned char'
1056
uidformat='"ld"'
1057
uidsign='-1'
1058
uidsize='4'
1059
uidtype='uid_t'
1060
uname='uname'
1061
uniq='uniq'
1062
uquadtype='unsigned long long'
1063
use5005threads='undef'
1064
use64bitall='undef'
1065
use64bitint='define'
1066
usecrosscompile='undef'
1067
usedl='define'
1068
usefaststdio='define'
1069
useithreads='undef'
1070
uselargefiles='define'
1071
uselongdouble='undef'
1072
usemallocwrap='define'
1073
usemorebits='undef'
1074
usemultiplicity='undef'
1075
usemymalloc='n'
1076
usenm='true'
1077
useopcode='true'
1078
useperlio='define'
1079
useposix='true'
1080
usereentrant='undef'
1081
userelocatableinc='undef'
1082
usesfio='false'
1083
useshrplib='true'
1084
usesitecustomize='undef'
1085
usesocks='undef'
1086
usethreads='undef'
1087
usevendorprefix='define'
1088
usevfork='false'
1089
usrinc='/usr/include'
1090
uuname=''
1091
uvXUformat='"llX"'
1092
uvoformat='"llo"'
1093
uvsize='8'
1094
uvtype='unsigned long long'
1095
uvuformat='"llu"'
1096
uvxformat='"llx"'
1097
vendorarch='/usr/perl5/vendor_perl/5.10.0/i86pc-solaris-64int'
1098
vendorarchexp='/usr/perl5/vendor_perl/5.10.0/i86pc-solaris-64int'
1099
vendorbin='/usr/perl5/5.10.0/bin'
1100
vendorbinexp='/usr/perl5/5.10.0/bin'
1101
vendorhtml1dir=''
1102
vendorhtml1direxp=''
1103
vendorhtml3dir=''
1104
vendorhtml3direxp=''
1105
vendorlib='/usr/perl5/vendor_perl/5.10.0'
1106
vendorlib_stem='/usr/perl5/vendor_perl'
1107
vendorlibexp='/usr/perl5/vendor_perl/5.10.0'
1108
vendorman1dir='/usr/perl5/5.10.0/man/man1'
1109
vendorman1direxp='/usr/perl5/5.10.0/man/man1'
1110
vendorman3dir='/usr/perl5/5.10.0/man/man3'
1111
vendorman3direxp='/usr/perl5/5.10.0/man/man3'
1112
vendorprefix='/usr/perl5/5.10.0'
1113
vendorprefixexp='/usr/perl5/5.10.0'
1114
vendorscript='/usr/perl5/5.10.0/bin'
1115
vendorscriptexp='/usr/perl5/5.10.0/bin'
1116
version='5.10.0'
1117
version_patchlevel_string='version 10 subversion 0'
1118
versiononly='undef'
1119
vi=''
1120
voidflags='15'
1121
xlibpth='/usr/lib/386 /lib/386'
1122
yacc='yacc'
1123
yaccflags=''
1124
zcat=''
1125
zip='zip'
1126
!END!
1127

    
1128
my $i = 0;
1129
foreach my $c (8,7,6,5,4,3,2) { $i |= ord($c); $i <<= 8 }
1130
$i |= ord(1);
1131
our $byteorder = join('', unpack('aaaaaaaa', pack('Q', $i)));
1132
s/(byteorder=)(['"]).*?\2/$1$2$Config::byteorder$2/m;
1133

    
1134
my $config_sh_len = length $_;
1135

    
1136
our $Config_SH_expanded = "\n$_" . << 'EOVIRTUAL';
1137
ccflags_nolargefiles=' -D_TS_ERRNO -DPERL_USE_SAFE_PUTENV'
1138
ldflags_nolargefiles=''
1139
libs_nolargefiles='-lsocket -lnsl -ldl -lm -lc'
1140
libswanted_nolargefiles='sfio socket bind inet nsl nm ndbm gdbm dbm db dl dld sun m util c cposix posix bsd BSD '
1141
EOVIRTUAL
1142

    
1143
# Search for it in the big string
1144
sub fetch_string {
1145
    my($self, $key) = @_;
1146

    
1147
    # We only have ' delimted.
1148
    my $start = index($Config_SH_expanded, "\n$key=\'");
1149
    # Start can never be -1 now, as we've rigged the long string we're
1150
    # searching with an initial dummy newline.
1151
    return undef if $start == -1;
1152

    
1153
    $start += length($key) + 3;
1154

    
1155
    my $value = substr($Config_SH_expanded, $start,
1156
                       index($Config_SH_expanded, "'\n", $start)
1157
		       - $start);
1158
    # So we can say "if $Config{'foo'}".
1159
    $value = undef if $value eq 'undef';
1160
    $self->{$key} = $value; # cache it
1161
}
1162

    
1163
my $prevpos = 0;
1164

    
1165
sub FIRSTKEY {
1166
    $prevpos = 0;
1167
    substr($Config_SH_expanded, 1, index($Config_SH_expanded, '=') - 1 );
1168
}
1169

    
1170
sub NEXTKEY {
1171
    my $pos = index($Config_SH_expanded, qq('\n), $prevpos) + 2;
1172
    my $len = index($Config_SH_expanded, "=", $pos) - $pos;
1173
    $prevpos = $pos;
1174
    $len > 0 ? substr($Config_SH_expanded, $pos, $len) : undef;
1175
}
1176

    
1177
sub EXISTS {
1178
    return 1 if exists($_[0]->{$_[1]});
1179

    
1180
    return(index($Config_SH_expanded, "\n$_[1]='") != -1
1181
          );
1182
}
1183

    
1184
sub STORE  { die "\%Config::Config is read-only\n" }
1185
*DELETE = \&STORE;
1186
*CLEAR  = \&STORE;
1187

    
1188

    
1189
sub config_sh {
1190
    substr $Config_SH_expanded, 1, $config_sh_len;
1191
}
1192

    
1193
sub config_re {
1194
    my $re = shift;
1195
    return map { chomp; $_ } grep eval{ /^(?:$re)=/ }, split /^/,
1196
    $Config_SH_expanded;
1197
}
1198

    
1199
sub config_vars {
1200
    # implements -V:cfgvar option (see perlrun -V:)
1201
    foreach (@_) {
1202
	# find optional leading, trailing colons; and query-spec
1203
	my ($notag,$qry,$lncont) = m/^(:)?(.*?)(:)?$/;	# flags fore and aft, 
1204
	# map colon-flags to print decorations
1205
	my $prfx = $notag ? '': "$qry=";		# tag-prefix for print
1206
	my $lnend = $lncont ? ' ' : ";\n";		# line ending for print
1207

    
1208
	# all config-vars are by definition \w only, any \W means regex
1209
	if ($qry =~ /\W/) {
1210
	    my @matches = config_re($qry);
1211
	    print map "$_$lnend", @matches ? @matches : "$qry: not found"		if !$notag;
1212
	    print map { s/\w+=//; "$_$lnend" } @matches ? @matches : "$qry: not found"	if  $notag;
1213
	} else {
1214
	    my $v = (exists $Config::Config{$qry}) ? $Config::Config{$qry}
1215
						   : 'UNKNOWN';
1216
	    $v = 'undef' unless defined $v;
1217
	    print "${prfx}'${v}'$lnend";
1218
	}
1219
    }
1220
}
1221

    
1222
# Called by the real AUTOLOAD
1223
sub launcher {
1224
    undef &AUTOLOAD;
1225
    goto \&$Config::AUTOLOAD;
1226
}
1227

    
1228
1;
(2-2/5)