source: trunk/third/perl/myconfig.SH @ 14545

Revision 14545, 2.4 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r14544, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
Line 
1case $CONFIGDOTSH 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 $baserev version $PERL_VERSION subversion $PERL_SUBVERSION) configuration:
31  Platform:
32    osname=$osname, osvers=$osvers, archname=$archname
33    uname='$myuname'
34    config_args='$config_args'
35    hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction
36    usethreads=$usethreads use5005threads=$use5005threads useithreads=$useithreads usemultiplicity=$usemultiplicity
37    useperlio=$useperlio d_sfio=$d_sfio uselargefiles=$uselargefiles
38    use64bitint=$use64bitint use64bitall=$use64bitall uselongdouble=$uselongdouble usesocks=$usesocks
39  Compiler:
40    cc='$cc', optimize='$optimize', gccversion=$gccversion
41    cppflags='$cppflags'
42    ccflags ='$ccflags'
43    stdchar='$stdchar', d_stdstdio=$d_stdstdio, usevfork=$usevfork
44    intsize=$intsize, longsize=$longsize, ptrsize=$ptrsize, doublesize=$doublesize
45    d_longlong=$d_longlong, longlongsize=$longlongsize, d_longdbl=$d_longdbl, longdblsize=$longdblsize
46    ivtype='$ivtype', ivsize=$ivsize, nvtype='$nvtype', nvsize=$nvsize, Off_t='$lseektype', lseeksize=$lseeksize
47    alignbytes=$alignbytes, usemymalloc=$usemymalloc, prototype=$prototype
48  Linker and Libraries:
49    ld='$ld', ldflags ='$ldflags'
50    libpth=$libpth
51    libs=$libs
52    libc=$libc, so=$so, useshrplib=$useshrplib, libperl=$libperl
53  Dynamic Linking:
54    dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags'
55    cccdlflags='$cccdlflags', lddlflags='$lddlflags'
56
57!NO!SUBS!
58!GROK!THIS!
59chmod 755 myconfig
60$eunicefix myconfig
Note: See TracBrowser for help on using the repository browser.