Commit | Line | Data |
---|---|---|
a0d0e21e LW |
1 | #!/bin/sh |
2 | ||
3 | # This script is designed to provide a handy summary of the configuration | |
4 | # information being used to build perl. This is especially useful if you | |
b5d6801c | 5 | # are requesting help from comp.lang.perl.misc on usenet or via mail. |
a0d0e21e LW |
6 | |
7 | if test -f config.sh; then TOP=.; | |
8 | elif test -f ../config.sh; then TOP=..; | |
9 | elif test -f ../../config.sh; then TOP=../..; | |
10 | elif test -f ../../../config.sh; then TOP=../../..; | |
11 | elif test -f ../../../../config.sh; then TOP=../../../..; | |
12 | else | |
13 | echo "Can't find the perl config.sh file produced by Configure"; exit 1 | |
14 | fi | |
15 | . $TOP/config.sh | |
16 | ||
3c81428c | 17 | # Note that the text lines /^Summary of/ .. /^\s*$/ are copied into Config.pm. |
3c81428c | 18 | |
a0d0e21e | 19 | $spitshell <<!GROK!THIS! |
ca29cf18 | 20 | Summary of my $package ($baserev patchlevel $PATCHLEVEL subversion $SUBVERSION) configuration: |
a0d0e21e | 21 | Platform: |
365675d5 | 22 | osname=$osname, osvers=$osvers, archname=$archname |
a0d0e21e | 23 | uname='$myuname' |
ca29cf18 | 24 | hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction |
693762b4 | 25 | usethreads=$usethreads useperlio=$useperlio d_sfio=$d_sfio |
cf0d5662 JH |
26 | !GROK!THIS! |
27 | case "$use64bits$usemultiplicity" in | |
28 | *define*) | |
29 | $spitshell <<!GROK!THIS! | |
30 | use64bits=$use64bits usemultiplicity=$usemultiplicity | |
31 | !GROK!THIS! | |
32 | ;; | |
33 | esac | |
34 | $spitshell <<!GROK!THIS! | |
a0d0e21e | 35 | Compiler: |
3c81428c | 36 | cc='$cc', optimize='$optimize', gccversion=$gccversion |
a0d0e21e LW |
37 | cppflags='$cppflags' |
38 | ccflags ='$ccflags' | |
a0d0e21e | 39 | stdchar='$stdchar', d_stdstdio=$d_stdstdio, usevfork=$usevfork |
cb66d7b2 | 40 | intsize=$intsize, longsize=$longsize, ptrsize=$ptrsize, doublesize=$doublesize |
dc45a647 | 41 | d_longlong=$d_longlong, longlongsize=$longlongsize, d_longdbl=$d_longdbl, longdblsize=$longdblsize |
cb66d7b2 | 42 | alignbytes=$alignbytes, usemymalloc=$usemymalloc, prototype=$prototype |
3c81428c | 43 | Linker and Libraries: |
44 | ld='$ld', ldflags ='$ldflags' | |
a0d0e21e LW |
45 | libpth=$libpth |
46 | libs=$libs | |
dc45a647 | 47 | libc=$libc, so=$so, useshrplib=$useshrplib, libperl=$libperl |
a0d0e21e | 48 | Dynamic Linking: |
3c81428c | 49 | dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags' |
50 | cccdlflags='$cccdlflags', lddlflags='$lddlflags' | |
a1896f58 | 51 | |
a0d0e21e | 52 | !GROK!THIS! |