diff options
author | Andy Dougherty <doughera@lafayette.edu> | 1999-03-30 07:41:29 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-04-02 12:06:22 +0000 |
commit | 4663847075ec7a4ae5ad72ea6821c81ef4ff7779 (patch) | |
tree | 694893089e8ed0e9f1e7916817d667bbd82556cf /myconfig.SH | |
parent | 58c73031a2db6ad9857e14239f5bac5fa7097f3c (diff) | |
download | perl-4663847075ec7a4ae5ad72ea6821c81ef4ff7779.tar.gz |
Introduce myconfig.SH.
To: Jarkko Hietaniemi <jhi@iki.fi>
Cc: Nick Ing-Simmons <nik@tiuk.ti.com>, Perl Porters <perl5-porters@perl.org>
Subject: [PATCH] myconfig.SH (was Re: perl install bug on AIX 4.3.1.0)
Message-Id: <Pine.GSU.4.05.9903301222280.15987-100000@newton.phys>
p4raw-id: //depot/cfgperl@3200
Diffstat (limited to 'myconfig.SH')
-rw-r--r-- | myconfig.SH | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/myconfig.SH b/myconfig.SH new file mode 100644 index 0000000000..dd2b914032 --- /dev/null +++ b/myconfig.SH @@ -0,0 +1,58 @@ +case $CONFIG in +'') + 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 + ;; +esac +: This forces SH files to create target in same directory as SH file. +: This is so that make depend always knows where to find SH derivatives. +case "$0" in +*/*) cd `expr X$0 : 'X\(.*\)/'` ;; +esac +echo "Extracting myconfig (with variable substitutions)" +$spitshell >myconfig <<!GROK!THIS! +$startsh + +# 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. + +# Note that the text lines /^Summary of/ .. /^\s*$/ are copied into Config.pm. +cat <<'!NO!SUBS!' +Summary of my $package (revision $baserev version $PERL_VERSION subversion $PERL_SUBVERSION) configuration: + Platform: + osname=$osname, osvers=$osvers, archname=$archname + uname='$myuname' + config_args='$config_args' + hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction + usethreads=$usethreads useperlio=$useperlio d_sfio=$d_sfio + use64bits=$use64bits usemultiplicity=$usemultiplicity + Compiler: + cc='$cc', optimize='$optimize', gccversion=$gccversion + cppflags='$cppflags' + ccflags ='$ccflags' + stdchar='$stdchar', d_stdstdio=$d_stdstdio, usevfork=$usevfork + intsize=$intsize, longsize=$longsize, ptrsize=$ptrsize, doublesize=$doublesize + d_longlong=$d_longlong, longlongsize=$longlongsize, d_longdbl=$d_longdbl, longdblsize=$longdblsize + alignbytes=$alignbytes, usemymalloc=$usemymalloc, prototype=$prototype + Linker and Libraries: + ld='$ld', ldflags ='$ldflags' + libpth=$libpth + libs=$libs + libc=$libc, so=$so, useshrplib=$useshrplib, libperl=$libperl + Dynamic Linking: + dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags' + cccdlflags='$cccdlflags', lddlflags='$lddlflags' + +!NO!SUBS! +!GROK!THIS! +chmod 755 myconfig +$eunicefix myconfig |