This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
lib was missing from @INC.
[perl5.git] / myconfig
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.misc on usenet or via mail.
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
17 # Note that the text lines /^Summary of/ .. /^\s*$/ are copied into Config.pm.
18
19 $spitshell <<!GROK!THIS!
20 Summary of my $package ($baserev patchlevel $PATCHLEVEL subversion $SUBVERSION) configuration:
21   Platform:
22     osname=$osname, osvers=$osvers, archname=$archname
23     uname='$myuname'
24     config_args='$config_args'
25     hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction
26     usethreads=$usethreads useperlio=$useperlio d_sfio=$d_sfio
27     use64bits=$use64bits usemultiplicity=$usemultiplicity
28   Compiler:
29     cc='$cc', optimize='$optimize', gccversion=$gccversion
30     cppflags='$cppflags'
31     ccflags ='$ccflags'
32     stdchar='$stdchar', d_stdstdio=$d_stdstdio, usevfork=$usevfork
33     intsize=$intsize, longsize=$longsize, ptrsize=$ptrsize, doublesize=$doublesize
34     d_longlong=$d_longlong, longlongsize=$longlongsize, d_longdbl=$d_longdbl, longdblsize=$longdblsize
35     alignbytes=$alignbytes, usemymalloc=$usemymalloc, prototype=$prototype
36   Linker and Libraries:
37     ld='$ld', ldflags ='$ldflags'
38     libpth=$libpth
39     libs=$libs
40     libc=$libc, so=$so, useshrplib=$useshrplib, libperl=$libperl
41   Dynamic Linking:
42     dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags'
43     cccdlflags='$cccdlflags', lddlflags='$lddlflags'
44
45 !GROK!THIS!