This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In makedef.pl, remove Perl_my_p{open,close} from 3 skip lists.
[perl5.git] / myconfig.SH
... / ...
CommitLineData
1case $PERL_CONFIG_SH in
2'')
3 if test -f config.sh; then TOP=.;
4 elif test -f ../config.sh; then TOP=..;
5 elif test -f ../../config.sh; then TOP=../..;
6 elif test -f ../../../config.sh; then TOP=../../..;
7 elif test -f ../../../../config.sh; then TOP=../../../..;
8 else
9 echo "Can't find the perl config.sh file produced by Configure";
10 exit 1
11 fi
12 . $TOP/config.sh
13 ;;
14esac
15: This forces SH files to create target in same directory as SH file.
16: This is so that make depend always knows where to find SH derivatives.
17case "$0" in
18*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
19esac
20echo "Extracting myconfig (with variable substitutions)"
21$spitshell >myconfig <<!GROK!THIS!
22$startsh
23
24# This script is designed to provide a handy summary of the configuration
25# information being used to build perl. This is especially useful if you
26# are requesting help from comp.lang.perl.misc on usenet or via mail.
27
28# Note that the text lines /^Summary of/ .. /^\s*$/ are copied into Config.pm.
29cat <<'!NO!SUBS!'
30Summary of my $package (revision $revision $version_patchlevel_string) configuration:
31 $git_commit_id_title $git_commit_id$git_ancestor_line
32 Platform:
33 osname=$osname, osvers=$osvers, archname=$archname
34 uname='$myuname'
35 config_args='$config_args'
36 hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction
37 useithreads=$useithreads, usemultiplicity=$usemultiplicity
38 useperlio=$useperlio, d_sfio=$d_sfio, uselargefiles=$uselargefiles, usesocks=$usesocks
39 use64bitint=$use64bitint, use64bitall=$use64bitall, uselongdouble=$uselongdouble
40 usemymalloc=$usemymalloc, bincompat5005=undef
41 Compiler:
42 cc='$cc', ccflags ='$ccflags',
43 optimize='$optimize',
44 cppflags='$cppflags'
45 ccversion='$ccversion', gccversion='$gccversion', gccosandvers='$gccosandvers'
46 intsize=$intsize, longsize=$longsize, ptrsize=$ptrsize, doublesize=$doublesize, byteorder=$byteorder
47 d_longlong=$d_longlong, longlongsize=$longlongsize, d_longdbl=$d_longdbl, longdblsize=$longdblsize
48 ivtype='$ivtype', ivsize=$ivsize, nvtype='$nvtype', nvsize=$nvsize, Off_t='$lseektype', lseeksize=$lseeksize
49 alignbytes=$alignbytes, prototype=$prototype
50 Linker and Libraries:
51 ld='$ld', ldflags ='$ldflags'
52 libpth=$libpth
53 libs=$libs
54 perllibs=$perllibs
55 libc=$libc, so=$so, useshrplib=$useshrplib, libperl=$libperl
56 gnulibc_version='$gnulibc_version'
57 Dynamic Linking:
58 dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags'
59 cccdlflags='$cccdlflags', lddlflags='$lddlflags'
60
61!NO!SUBS!
62!GROK!THIS!
63chmod 755 myconfig
64$eunicefix myconfig