Commit | Line | Data |
a0d0e21e |
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 |
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. |
18 | # XXX Add d_sigaction (?) once it's defined. |
19 | |
a0d0e21e |
20 | $spitshell <<!GROK!THIS! |
21 | |
ca29cf18 |
22 | Summary of my $package ($baserev patchlevel $PATCHLEVEL subversion $SUBVERSION) configuration: |
a0d0e21e |
23 | Platform: |
365675d5 |
24 | osname=$osname, osvers=$osvers, archname=$archname |
a0d0e21e |
25 | uname='$myuname' |
ca29cf18 |
26 | hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction |
71be2cbc |
27 | bincompat3=$bincompat3 useperlio=$useperlio d_sfio=$d_sfio |
a0d0e21e |
28 | Compiler: |
3c81428c |
29 | cc='$cc', optimize='$optimize', gccversion=$gccversion |
a0d0e21e |
30 | cppflags='$cppflags' |
31 | ccflags ='$ccflags' |
a0d0e21e |
32 | stdchar='$stdchar', d_stdstdio=$d_stdstdio, usevfork=$usevfork |
33 | voidflags=$voidflags, castflags=$castflags, d_casti32=$d_casti32, d_castneg=$d_castneg |
4bd4e6a9 |
34 | intsize=$intsize, alignbytes=$alignbytes, usemymalloc=$usemymalloc, prototype=$prototype |
3c81428c |
35 | Linker and Libraries: |
36 | ld='$ld', ldflags ='$ldflags' |
a0d0e21e |
37 | libpth=$libpth |
38 | libs=$libs |
3c81428c |
39 | libc=$libc, so=$so |
c3241edc |
40 | useshrplib=$useshrplib, libperl=$libperl |
a0d0e21e |
41 | Dynamic Linking: |
3c81428c |
42 | dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags' |
43 | cccdlflags='$cccdlflags', lddlflags='$lddlflags' |
a0d0e21e |
44 | |
45 | !GROK!THIS! |