source: trunk/third/perl/myconfig @ 10724

Revision 10724, 1.7 KB checked in by ghudson, 27 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r10723, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
Line 
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
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# Note that the text lines /^Summary of/ .. /^\s*$/ are copied into Config.pm.
18# XXX Add d_sigaction (?) once it's defined.
19
20$spitshell <<!GROK!THIS!
21
22Summary of my $package ($baserev patchlevel $PATCHLEVEL subversion $SUBVERSION) configuration:
23  Platform:
24    osname=$osname, osvers=$osvers, archname=$archname
25    uname='$myuname'
26    hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction
27    bincompat3=$bincompat3 useperlio=$useperlio d_sfio=$d_sfio
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    voidflags=$voidflags, castflags=$castflags, d_casti32=$d_casti32, d_castneg=$d_castneg
34    intsize=$intsize, alignbytes=$alignbytes, usemymalloc=$usemymalloc, prototype=$prototype
35  Linker and Libraries:
36    ld='$ld', ldflags ='$ldflags'
37    libpth=$libpth
38    libs=$libs
39    libc=$libc, so=$so
40    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!
Note: See TracBrowser for help on using the repository browser.