Commit | Line | Data |
---|---|---|
1f00b0d6 S |
1 | #!/bin/sh |
2 | ||
a02608de | 3 | case $PERL_CONFIG_SH in |
46638470 AD |
4 | '') |
5 | if test -f config.sh; then TOP=.; | |
6 | elif test -f ../config.sh; then TOP=..; | |
7 | elif test -f ../../config.sh; then TOP=../..; | |
8 | elif test -f ../../../config.sh; then TOP=../../..; | |
9 | elif test -f ../../../../config.sh; then TOP=../../../..; | |
10 | else | |
11 | echo "Can't find the perl config.sh file produced by Configure"; | |
12 | exit 1 | |
13 | fi | |
14 | . $TOP/config.sh | |
15 | ;; | |
16 | esac | |
17 | : This forces SH files to create target in same directory as SH file. | |
18 | : This is so that make depend always knows where to find SH derivatives. | |
19 | case "$0" in | |
20 | */*) cd `expr X$0 : 'X\(.*\)/'` ;; | |
21 | esac | |
22 | echo "Extracting myconfig (with variable substitutions)" | |
23 | $spitshell >myconfig <<!GROK!THIS! | |
24 | $startsh | |
a0d0e21e LW |
25 | |
26 | # This script is designed to provide a handy summary of the configuration | |
27 | # information being used to build perl. This is especially useful if you | |
32356571 | 28 | # are requesting help online or via email. |
a0d0e21e | 29 | |
3c81428c | 30 | # Note that the text lines /^Summary of/ .. /^\s*$/ are copied into Config.pm. |
46638470 | 31 | cat <<'!NO!SUBS!' |
31e7d91a | 32 | Summary of my $package (revision $revision $version_patchlevel_string) configuration: |
46807d8e | 33 | $git_commit_id_title $git_commit_id$git_ancestor_line |
a0d0e21e | 34 | Platform: |
8dd2ecb3 DM |
35 | osname=$osname |
36 | osvers=$osvers | |
37 | archname=$archname | |
a0d0e21e | 38 | uname='$myuname' |
4c8f623d | 39 | config_args='$config_args' |
8dd2ecb3 DM |
40 | hint=$hint |
41 | useposix=$useposix | |
42 | d_sigaction=$d_sigaction | |
43 | useithreads=$useithreads | |
44 | usemultiplicity=$usemultiplicity | |
45 | use64bitint=$use64bitint | |
46 | use64bitall=$use64bitall | |
47 | uselongdouble=$uselongdouble | |
48 | usemymalloc=$usemymalloc | |
3137772c | 49 | default_inc_excludes_dot=$default_inc_excludes_dot |
a0d0e21e | 50 | Compiler: |
8dd2ecb3 DM |
51 | cc='$cc' |
52 | ccflags ='$ccflags' | |
53 | optimize='$optimize' | |
907c1e37 | 54 | cppflags='$cppflags' |
8dd2ecb3 DM |
55 | ccversion='$ccversion' |
56 | gccversion='$gccversion' | |
57 | gccosandvers='$gccosandvers' | |
58 | intsize=$intsize | |
59 | longsize=$longsize | |
60 | ptrsize=$ptrsize | |
61 | doublesize=$doublesize | |
62 | byteorder=$byteorder | |
63 | doublekind=$doublekind | |
64 | d_longlong=$d_longlong | |
65 | longlongsize=$longlongsize | |
66 | d_longdbl=$d_longdbl | |
67 | longdblsize=$longdblsize | |
68 | longdblkind=$longdblkind | |
69 | ivtype='$ivtype' | |
70 | ivsize=$ivsize | |
71 | nvtype='$nvtype' | |
72 | nvsize=$nvsize | |
73 | Off_t='$lseektype' | |
74 | lseeksize=$lseeksize | |
75 | alignbytes=$alignbytes | |
76 | prototype=$prototype | |
3c81428c | 77 | Linker and Libraries: |
8dd2ecb3 DM |
78 | ld='$ld' |
79 | ldflags ='$ldflags' | |
a0d0e21e LW |
80 | libpth=$libpth |
81 | libs=$libs | |
eedaba54 | 82 | perllibs=$perllibs |
8dd2ecb3 DM |
83 | libc=$libc |
84 | so=$so | |
85 | useshrplib=$useshrplib | |
86 | libperl=$libperl | |
b549dbd2 | 87 | gnulibc_version='$gnulibc_version' |
a0d0e21e | 88 | Dynamic Linking: |
8dd2ecb3 DM |
89 | dlsrc=$dlsrc |
90 | dlext=$dlext | |
91 | d_dlsymun=$d_dlsymun | |
92 | ccdlflags='$ccdlflags' | |
93 | cccdlflags='$cccdlflags' | |
94 | lddlflags='$lddlflags' | |
a1896f58 | 95 | |
46638470 | 96 | !NO!SUBS! |
a0d0e21e | 97 | !GROK!THIS! |
46638470 AD |
98 | chmod 755 myconfig |
99 | $eunicefix myconfig |