Commit | Line | Data |
a02608de |
1 | case $PERL_CONFIG_SH in |
46638470 |
2 | '') |
3 | if test -f config.sh; then TOP=.; |
4 | elif test -f ../config.sh; then TOP=..; |
5 | elif test -f ../../config.sh; then TOP=../..; |
6 | elif test -f ../../../config.sh; then TOP=../../..; |
7 | elif test -f ../../../../config.sh; then TOP=../../../..; |
8 | else |
9 | echo "Can't find the perl config.sh file produced by Configure"; |
10 | exit 1 |
11 | fi |
12 | . $TOP/config.sh |
13 | ;; |
14 | esac |
15 | : This forces SH files to create target in same directory as SH file. |
16 | : This is so that make depend always knows where to find SH derivatives. |
17 | case "$0" in |
18 | */*) cd `expr X$0 : 'X\(.*\)/'` ;; |
19 | esac |
20 | echo "Extracting myconfig (with variable substitutions)" |
21 | $spitshell >myconfig <<!GROK!THIS! |
22 | $startsh |
a0d0e21e |
23 | |
24 | # This script is designed to provide a handy summary of the configuration |
25 | # information being used to build perl. This is especially useful if you |
b5d6801c |
26 | # are requesting help from comp.lang.perl.misc on usenet or via mail. |
a0d0e21e |
27 | |
3c81428c |
28 | # Note that the text lines /^Summary of/ .. /^\s*$/ are copied into Config.pm. |
46638470 |
29 | cat <<'!NO!SUBS!' |
861eb78d |
30 | Summary of my $package (revision $baserev $version_patchlevel_string) configuration: |
a0d0e21e |
31 | Platform: |
365675d5 |
32 | osname=$osname, osvers=$osvers, archname=$archname |
a0d0e21e |
33 | uname='$myuname' |
4c8f623d |
34 | config_args='$config_args' |
ca29cf18 |
35 | hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction |
3db8f154 |
36 | usethreads=$usethreads useithreads=$useithreads usemultiplicity=$usemultiplicity |
056517f8 |
37 | useperlio=$useperlio d_sfio=$d_sfio uselargefiles=$uselargefiles usesocks=$usesocks |
38 | use64bitint=$use64bitint use64bitall=$use64bitall uselongdouble=$uselongdouble |
d953f698 |
39 | usemymalloc=$usemymalloc, bincompat5005=undef |
a0d0e21e |
40 | Compiler: |
907c1e37 |
41 | cc='$cc', ccflags ='$ccflags', |
42 | optimize='$optimize', |
43 | cppflags='$cppflags' |
6b356c8e |
44 | ccversion='$ccversion', gccversion='$gccversion', gccosandvers='$gccosandvers' |
2b899b4a |
45 | intsize=$intsize, longsize=$longsize, ptrsize=$ptrsize, doublesize=$doublesize, byteorder=$byteorder |
dc45a647 |
46 | d_longlong=$d_longlong, longlongsize=$longlongsize, d_longdbl=$d_longdbl, longdblsize=$longdblsize |
302fc0d0 |
47 | ivtype='$ivtype', ivsize=$ivsize, nvtype='$nvtype', nvsize=$nvsize, Off_t='$lseektype', lseeksize=$lseeksize |
cae76074 |
48 | alignbytes=$alignbytes, prototype=$prototype |
3c81428c |
49 | Linker and Libraries: |
50 | ld='$ld', ldflags ='$ldflags' |
a0d0e21e |
51 | libpth=$libpth |
52 | libs=$libs |
eedaba54 |
53 | perllibs=$perllibs |
dc45a647 |
54 | libc=$libc, so=$so, useshrplib=$useshrplib, libperl=$libperl |
b549dbd2 |
55 | gnulibc_version='$gnulibc_version' |
a0d0e21e |
56 | Dynamic Linking: |
3c81428c |
57 | dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags' |
58 | cccdlflags='$cccdlflags', lddlflags='$lddlflags' |
a1896f58 |
59 | |
46638470 |
60 | !NO!SUBS! |
a0d0e21e |
61 | !GROK!THIS! |
46638470 |
62 | chmod 755 myconfig |
63 | $eunicefix myconfig |