This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Okay, here's your official unofficial closure leak patch
[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
5# are requesting help from comp.lang.perl on usenet or via mail.
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
17$spitshell <<!GROK!THIS!
18
19Summary of my $package (patchlevel $PATCHLEVEL) configuration:
20 Platform:
21 osname=$osname, osver=$osvers, archname=$archname
22 uname='$myuname'
23 hint=$hint
24 Compiler:
25 cc='$cc', optimize='$optimize'
26 cppflags='$cppflags'
27 ccflags ='$ccflags'
28 ldflags ='$ldflags'
29 stdchar='$stdchar', d_stdstdio=$d_stdstdio, usevfork=$usevfork
30 voidflags=$voidflags, castflags=$castflags, d_casti32=$d_casti32, d_castneg=$d_castneg
31 intsize=$intsize, alignbytes=$alignbytes, usemymalloc=$usemymalloc, randbits=$randbits
32 Libraries:
33 so=$so
34 libpth=$libpth
35 libs=$libs
36 libc=$libc
37 Dynamic Linking:
38 dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun
39 cccdlflags='$cccdlflags', ccdlflags='$ccdlflags', lddlflags='$lddlflags'
40
41!GROK!THIS!