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