This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlrun.pod: PERL_DEBUG_MSTATS
[perl5.git] / myconfig
CommitLineData
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
7if test -f config.sh; then TOP=.;
8elif test -f ../config.sh; then TOP=..;
9elif test -f ../../config.sh; then TOP=../..;
10elif test -f ../../../config.sh; then TOP=../../..;
11elif test -f ../../../../config.sh; then TOP=../../../..;
12else
13 echo "Can't find the perl config.sh file produced by Configure"; exit 1
14fi
15. $TOP/config.sh
16
3c81428c 17# Note that the text lines /^Summary of/ .. /^\s*$/ are copied into Config.pm.
3c81428c 18
a0d0e21e
LW
19$spitshell <<!GROK!THIS!
20
ca29cf18 21Summary of my $package ($baserev patchlevel $PATCHLEVEL subversion $SUBVERSION) configuration:
a0d0e21e 22 Platform:
365675d5 23 osname=$osname, osvers=$osvers, archname=$archname
a0d0e21e 24 uname='$myuname'
ca29cf18 25 hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction
693762b4 26 usethreads=$usethreads useperlio=$useperlio d_sfio=$d_sfio
a0d0e21e 27 Compiler:
3c81428c 28 cc='$cc', optimize='$optimize', gccversion=$gccversion
a0d0e21e
LW
29 cppflags='$cppflags'
30 ccflags ='$ccflags'
a0d0e21e 31 stdchar='$stdchar', d_stdstdio=$d_stdstdio, usevfork=$usevfork
cb66d7b2
AD
32 intsize=$intsize, longsize=$longsize, ptrsize=$ptrsize, doublesize=$doublesize
33 alignbytes=$alignbytes, usemymalloc=$usemymalloc, prototype=$prototype
3c81428c
PP
34 Linker and Libraries:
35 ld='$ld', ldflags ='$ldflags'
a0d0e21e
LW
36 libpth=$libpth
37 libs=$libs
3c81428c 38 libc=$libc, so=$so
c3241edc 39 useshrplib=$useshrplib, libperl=$libperl
a0d0e21e 40 Dynamic Linking:
3c81428c
PP
41 dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags'
42 cccdlflags='$cccdlflags', lddlflags='$lddlflags'
a0d0e21e
LW
43
44!GROK!THIS!