diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-08-19 10:13:38 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-08-19 10:13:38 +0000 |
commit | 14856225739aa48b6c9cf4c17925362b2d95cea3 (patch) | |
tree | dfd38f1b654fb5bbdfc38887c1a829b658e71530 /gnu/usr.bin/perl/myconfig | |
parent | 77469082517e44fe6ca347d9e8dc7dffd1583637 (diff) |
Import of Perl 5.003 into the tree. Makefile.bsd-wrapper and
config.sh.OpenBSD are the only local changes.
Diffstat (limited to 'gnu/usr.bin/perl/myconfig')
-rw-r--r-- | gnu/usr.bin/perl/myconfig | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/myconfig b/gnu/usr.bin/perl/myconfig new file mode 100644 index 00000000000..9038197aafa --- /dev/null +++ b/gnu/usr.bin/perl/myconfig @@ -0,0 +1,43 @@ +#!/bin/sh + +# This script is designed to provide a handy summary of the configuration +# information being used to build perl. This is especially useful if you +# are requesting help from comp.lang.perl.misc on usenet or via mail. + +if test -f config.sh; then TOP=.; +elif test -f ../config.sh; then TOP=..; +elif test -f ../../config.sh; then TOP=../..; +elif test -f ../../../config.sh; then TOP=../../..; +elif test -f ../../../../config.sh; then TOP=../../../..; +else + echo "Can't find the perl config.sh file produced by Configure"; exit 1 +fi +. $TOP/config.sh + +# Note that the text lines /^Summary of/ .. /^\s*$/ are copied into Config.pm. +# XXX Add d_sigaction (?) once it's defined. + +$spitshell <<!GROK!THIS! + +Summary of my $package ($baserev patchlevel $PATCHLEVEL subversion $SUBVERSION) configuration: + Platform: + osname=$osname, osver=$osvers, archname=$archname + uname='$myuname' + hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction + Compiler: + cc='$cc', optimize='$optimize', gccversion=$gccversion + cppflags='$cppflags' + ccflags ='$ccflags' + stdchar='$stdchar', d_stdstdio=$d_stdstdio, usevfork=$usevfork + voidflags=$voidflags, castflags=$castflags, d_casti32=$d_casti32, d_castneg=$d_castneg + intsize=$intsize, alignbytes=$alignbytes, usemymalloc=$usemymalloc, randbits=$randbits + Linker and Libraries: + ld='$ld', ldflags ='$ldflags' + libpth=$libpth + libs=$libs + libc=$libc, so=$so + Dynamic Linking: + dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags' + cccdlflags='$cccdlflags', lddlflags='$lddlflags' + +!GROK!THIS! |