This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Part 1 of a big cleanup action based on the upcoming dist-4.0
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 8 Jan 2008 15:54:23 +0000 (15:54 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 8 Jan 2008 15:54:23 +0000 (15:54 +0000)
p4raw-id: //depot/metaconfig@32898

45 files changed:
U/a_dvisory/multiarch.U
U/a_dvisory/quadtype.U
U/compline/Csym.U
U/compline/d_NOFILE.U
U/compline/d_gnulibc.U
U/compline/d_sigaction.U
U/compline/d_stdstdio.U
U/compline/ptrsize.U
U/ebcdic/ebcdic.U
U/ebcdic/trnl.U
U/installdirs/localarch.U
U/installdirs/locallib.U
U/installdirs/man1dir.U
U/installdirs/scriptdir.U
U/installdirs/siteprefix.U
U/installdirs/sitescript.U
U/installdirs/vendorarch.U
U/installdirs/vendorbin.U
U/installdirs/vendorhtml1.U
U/installdirs/vendorhtml1dir.U
U/installdirs/vendorhtml3.U
U/installdirs/vendorhtml3dir.U
U/installdirs/vendorlib.U
U/installdirs/vendorman1.U
U/installdirs/vendorman1dir.U
U/installdirs/vendorman3.U
U/installdirs/vendorman3dir.U
U/installdirs/vendorprefix.U
U/installdirs/vendorscript.U
U/perl/Checkcc.U
U/perl/Cross.U
U/perl/Devel.U
U/perl/Extensions.U
U/perl/Extras.U
U/perl/Loc_ar.U
U/perl/ansi2knr.U
U/perl/bincompat3.U
U/perl/bincompat5005.U
U/perl/d_c99_variadic.U
U/perl/d_futimes.U
U/perl/d_libm_lib_version.U
U/perl/d_modfl.U
U/perl/d_printfed.U
U/perl/d_procselfexe.U
U/perl/d_snprintf.U

index a55cc63..54feae4 100644 (file)
@@ -25,6 +25,7 @@
 ?C:.
 ?H:#$multiarch MULTIARCH               /**/
 ?H:.
+: Check if is a multiplatform env
 case "$osname" in
 next|rhapsody|darwin) multiarch="$define" ;;
 esac
index 660c17b..80d4699 100644 (file)
@@ -44,7 +44,7 @@
 ?H:.
 ?LINT:set quadtype
 ?LINT:set uquadtype
-
+: Check if 64bit ints have a quad type
 echo " "
 echo "Checking which 64-bit integer type we could use..." >&4
 ?X: We prefer quad types in order of int, long, long long, int64_t.
index a757a23..eb57cb8 100644 (file)
@@ -32,7 +32,6 @@
 ?LINT:define csym
 ?LINT:use libc
 ?LINT:extern mistrustnm
-?LINT:change mistrustnm
 ?LINT:set mistrustnm
 ?S:csym:
 ?S:    This shell variable is used internally by Configure to check
index 115b4e7..6377f63 100644 (file)
@@ -15,7 +15,7 @@
 ?RCS: Revision 3.0  1993/08/18  12:05:39  ram
 ?RCS: Baseline for dist 3.0 netwide release.
 ?RCS:
-?MAKE:nofile d_gettblsz tablesize: Compile Myread Guess libc cat \
+?MAKE:nofile d_gettblsz tablesize: Compile Myread Guess cat \
        test rm Csym +cc +ccflags +optimize +ldflags +libs
 ?MAKE: -pick add $@ %<
 ?S:nofile:
index 1182751..3a42204 100644 (file)
@@ -35,7 +35,7 @@
 ?H:?%<:#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
 ?H:?%<:#   define _GNU_SOURCE
 ?H:?%<:#endif
-?H.
+?H:.
 ?LINT: set d_gnulibc
 ?X:    gnulibc can be executed by calling __libc_main().
 ?X:    Ulrich Drepper doesn't think any other libc does that,
@@ -55,6 +55,7 @@
 ?X: Although the exact format isn't documented, __gnu_get_libc_version()
 ?X: returns a simple string '2.1.3' in glibc 2.1.3.
 ?X:
+: Check if we are using the GNU C library
 echo " "
 echo "Checking for GNU C Library..." >&4
 cat >try.c <<'EOCP'
index 8e895c9..3231b04 100644 (file)
@@ -27,8 +27,8 @@
 ?H:.
 ?T:val
 ?LINT:set d_sigaction
-echo " "
 : see if we have sigaction
+echo " "
 if set sigaction val -f d_sigaction; eval $csym; $val; then
        echo 'sigaction() found.' >&4
 ?X:
index 6d88999..19833fa 100644 (file)
 ?H:?d_stdiobase:#endif
 ?H:.
 ?W:d_stdiobase:FILE_base FILE_bufsiz
-?LINT:set d_stdstdio d_stdiobase d_stdio_ptr_lval d_stdio_cnt_lval
+?LINT:set d_stdstdio d_stdiobase
 ?T:ptr_lval cnt_lval filbuf xxx
 : see if _ptr and _cnt from stdio act std
 echo " "
index ac4ce94..f48eac8 100644 (file)
@@ -29,9 +29,7 @@
 ?C:.
 ?H:#define PTRSIZE $ptrsize            /**/
 ?H:.
-?LINT:change use64bitall
 ?LINT:extern use64bitint
-?LINT:change use64bitint
 : check for length of pointer
 echo " "
 case "$ptrsize" in
index b9ea614..5d72716 100644 (file)
@@ -23,6 +23,7 @@
 ?H:#$ebcdic    EBCDIC          /**/
 ?H:.
 ?LINT:set ebcdic
+: Determine if this is an EBCDIC system
 echo " "
 echo "Determining whether or not we are on an EBCDIC system..." >&4
 $cat >try.c <<'EOM'
index 59aec56..cf91acd 100644 (file)
@@ -17,8 +17,8 @@
 ?S:    newline is not necessarily '\012'.
 ?S:.
 ?T: DJGPP
-echo " "
 : Find the appropriate value for a newline for tr
+echo " "
 ?X: dos djgpp uses '\015\012', but reportedly is happy with '\012' in the
 ?X: tr command.  I don't know why it passes the '\n' test but later
 ?X: refuses to work correctly with it.  --AD  6/14/98
index 51c3877..815db3f 100644 (file)
@@ -10,7 +10,7 @@
 ?RCS:
 ?RCS:
 ?MAKE:localarch localarchexp installlocalarch installlocalarchexp: \
-       afs cat sed Getfile \
+       afs cat Getfile \
        Oldconfig Prefixit test archname uselocallib locallib sitearch
 ?MAKE: -pick add $@ %<
 ?Y:TOP
@@ -60,6 +60,7 @@
 ?H:.
 ?T:tdflt
 ?LINT:extern sitearch
+: Set the localarch variables
 case "$uselocallib" in
 "$define")
        case "$sitearch" in
index e9eb27c..f38e493 100644 (file)
@@ -10,7 +10,7 @@
 ?RCS: 
 ?RCS:
 ?MAKE:uselocallib locallib locallibexp installlocallib installlocallibexp: \
-       cat Getfile Oldconfig Prefixit test sed afs sitelib
+       cat Getfile Oldconfig Prefixit test afs sitelib
 ?MAKE: -pick add $@ %<
 ?Y:TOP
 ?S:uselocallib:
index 5875919..c924d61 100644 (file)
@@ -27,7 +27,7 @@
 ?X:
 ?MAKE:man1dir man1direxp man1ext installman1dir: cat nroff Loc Oldconfig \
        spackage test Getfile Setprefixvar Prefixit Prefixup sysman Myread \
-       sed prefixexp
+       prefixexp
 ?MAKE: -pick add $@ %<
 ?LINT:change prefixvar
 ?Y:TOP
index a584938..59632eb 100644 (file)
@@ -25,7 +25,7 @@
 ?RCS: Baseline for dist 3.0 netwide release.
 ?RCS:
 ?MAKE:scriptdir scriptdirexp installscript: cat test Getfile Loc \
-       Oldconfig +bin sed Prefixit Setprefixvar prefixexp Prefixup
+       Oldconfig +bin Prefixit Setprefixvar prefixexp Prefixup
 ?MAKE: -pick add $@ %<
 ?LINT:change prefixvar
 ?Y:TOP
index 2d89002..c786b98 100644 (file)
@@ -27,6 +27,7 @@
 ?S:    This variable is set non-null if the siteprefix was previously defined
 ?S:    and gets set to a new value. Used internally by Configure only.
 ?S:.
+: Set the siteprefix variables
 $cat <<EOM
 
 After $package is installed, you may wish to install various
index 0a875d5..2c0831e 100644 (file)
@@ -11,7 +11,7 @@
 ?RCS: $Log: sitescript.U,v $
 ?RCS:
 ?MAKE:sitescript sitescriptexp installsitescript : Getfile Oldconfig test \
-       Setprefixvar sitebin siteprefix sed
+       Setprefixvar sitebin siteprefix
 ?MAKE: -pick add $@ %<
 ?LINT:change prefixvar
 ?Y:TOP
index ec381b7..071484c 100644 (file)
@@ -58,6 +58,7 @@
 ?H:#$d_vendorarch PERL_VENDORARCH "$vendorarch"                /**/
 ?H:#$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp"         /**/
 ?H:.
+: Set the vendorarch variables
 case "$vendorprefix" in
 '')    d_vendorarch="$undef"
        vendorarch=''
index f3d616b..6553066 100644 (file)
@@ -14,7 +14,7 @@
 ?RCS:
 ?RCS:
 ?MAKE:d_vendorbin vendorbin vendorbinexp installvendorbin: Getfile \
-       Setprefixvar Oldconfig Prefixit vendorprefix sed
+       Setprefixvar Oldconfig Prefixit vendorprefix
 ?MAKE: -pick add $@ %<
 ?LINT:change prefixvar
 ?Y:TOP
@@ -57,6 +57,7 @@
 ?H:#$d_vendorbin PERL_VENDORBIN "$vendorbin"           /**/
 ?H:#$d_vendorbin PERL_VENDORBIN_EXP "$vendorbinexp"            /**/
 ?H:.
+: Set the vendorbin variables
 case "$vendorprefix" in
 '')    d_vendorbin="$undef"
        vendorbin=''
index 868b0f0..ea0ded2 100644 (file)
@@ -37,6 +37,7 @@
 ?S:    those systems using AFS. For extra portability, only this variable
 ?S:    should be used in makefiles.
 ?S:.
+: Set the vendorhtml1 variables
 case "$vendorprefix" in
 '')    vendorhtml1=''
        vendorhtml1exp=''
index 610dea7..7c26fed 100644 (file)
@@ -37,6 +37,7 @@
 ?S:    those systems using AFS. For extra portability, only this variable
 ?S:    should be used in makefiles.
 ?S:.
+: Set the vendorhtml1dir variables
 case "$vendorprefix" in
 '')    vendorhtml1dir=''
        vendorhtml1direxp=''
index a329f3f..4a154fb 100644 (file)
@@ -37,6 +37,7 @@
 ?S:    those systems using AFS. For extra portability, only this variable
 ?S:    should be used in makefiles.
 ?S:.
+: Set the vendorhtml3 variables
 case "$vendorprefix" in
 '')    vendorhtml3=''
        vendorhtml3exp=''
index 556e8aa..bd8662c 100644 (file)
@@ -37,6 +37,7 @@
 ?S:    those systems using AFS. For extra portability, only this variable
 ?S:    should be used in makefiles.
 ?S:.
+: Set the vendorhtml3dir variables
 case "$vendorprefix" in
 '')    vendorhtml3dir=''
        vendorhtml3direxp=''
index 6b7f63e..570c9c2 100644 (file)
@@ -71,6 +71,7 @@
 ?H:#$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem"         /**/
 ?H:.
 ?T:prog
+: Set the vendorlib variables
 case "$vendorprefix" in
 '')    d_vendorlib="$undef"
        vendorlib=''
index dd1ab2f..cf47dc2 100644 (file)
@@ -37,6 +37,7 @@
 ?S:    those systems using AFS. For extra portability, only this variable
 ?S:    should be used in makefiles.
 ?S:.
+: Set the vendorman1 variables
 case "$vendorprefix" in
 '')    vendorman1=''
        vendorman1exp=''
index c884dee..5e5e317 100644 (file)
@@ -37,6 +37,7 @@
 ?S:    those systems using AFS. For extra portability, only this variable
 ?S:    should be used in makefiles.
 ?S:.
+: Set the vendorman1dir variables
 case "$vendorprefix" in
 '')    vendorman1dir=''
        vendorman1direxp=''
index 6f56bc7..f20af0a 100644 (file)
@@ -37,6 +37,7 @@
 ?S:    those systems using AFS. For extra portability, only this variable
 ?S:    should be used in makefiles.
 ?S:.
+: Set the vendorman3 variables
 case "$vendorprefix" in
 '')    vendorman3=''
        vendorman3exp=''
index afdc8b1..04f5687 100644 (file)
@@ -37,6 +37,7 @@
 ?S:    those systems using AFS. For extra portability, only this variable
 ?S:    should be used in makefiles.
 ?S:.
+: Set the vendorman3dir variables
 case "$vendorprefix" in
 '')    vendorman3dir=''
        vendorman3direxp=''
index bdfa6a2..737a938 100644 (file)
@@ -32,6 +32,7 @@
 ?S:    This variable is set non-null if the vendorprefix was previously defined
 ?S:    and gets set to a new value. Used internally by Configure only.
 ?S:.
+: Set the vendorprefix variables
 $cat <<EOM
 
 The installation process will also create a directory for
index a5f6155..2eab2d9 100644 (file)
@@ -14,7 +14,7 @@
 ?RCS:
 ?RCS:
 ?MAKE:d_vendorscript vendorscript vendorscriptexp installvendorscript: Getfile \
-       vendorbin cat sed Setprefixvar Oldconfig Prefixit test vendorprefix
+       vendorbin cat Setprefixvar Oldconfig Prefixit test vendorprefix
 ?MAKE: -pick add $@ %<
 ?LINT:change prefixvar
 ?Y:TOP
@@ -57,6 +57,7 @@
 ?H:#$d_vendorscript PERL_VENDORSCRIPT "$vendorscript"          /**/
 ?H:#$d_vendorscript PERL_VENDORSCRIPT_EXP "$vendorscriptexp"           /**/
 ?H:.
+: Set the vendorscript variables
 case "$vendorprefix" in
 '')    d_vendorscript="$undef"
        vendorscript=''
index 4d9621c..9bffda7 100644 (file)
@@ -32,6 +32,7 @@
 ?LINT:change ccflags
 ?LINT:extern ccflags
 ?LINT:extern ldflags
+: Check what type of C compiler we use
 cat <<EOS >trygcc
 $startsh
 EOS
index 9edd15f..6deeb6a 100644 (file)
@@ -42,7 +42,6 @@
 ?C:    This symbol, if defined, indicates the target architecture
 ?C:    Perl has been cross-compiled to.  Undefined if not a cross-compile.
 ?C:.
-?H:
 ?H:?%<:#ifndef USE_CROSS_COMPILE
 ?H:?%<:#$usecrosscompile       USE_CROSS_COMPILE       /**/
 ?H:?%<:#define PERL_TARGETARCH "$targetarch"   /**/
@@ -77,7 +76,7 @@
 ?LINT:extern loclibpth
 ?LINT:change locincpth
 ?LINT:change loclibpth
-
+: Check for Cross-Compilation
 case "$usecrosscompile" in
 $define|true|[yY]*)
        $echo "Cross-compiling..."
index f80e957..0742703 100644 (file)
@@ -18,6 +18,7 @@
 ?LINT:change usedevel
 ?LINT:change versiononly
 ?LINT:change installusrbinperl
+: See if we are using a devel version and want that
 xversion=`awk '/define[        ]+PERL_VERSION/ {print $3}' $rsrc/patchlevel.h`
 case "$usedevel" in
 $define|true|[yY]*) ;;
index 151478a..b8617ff 100644 (file)
@@ -59,6 +59,7 @@
 ?LINT:extern noextensions
 ?LINT:extern onlyextensions
 ?T:keepextensions i
+: Check extensions
 echo " "
 echo "Looking for extensions..." >&4
 : If we are using the old config.sh, known_extensions may contain
index d8e5909..ab55234 100644 (file)
@@ -11,6 +11,7 @@
 ?S:extras:
 ?S:    This variable holds a list of extra modules to install.
 ?S:.
+: See if we want extra modules installed
 echo " "
 case "$extras" in
 '') dflt='n';;
index 48bc1c1..9fa3d9a 100644 (file)
@@ -15,7 +15,6 @@
 ?S:    not the user has specified 'portability'.  This is only used
 ?S:    in the Makefile.SH.
 ?S:.
-?LINT:use ar
 : Store the full pathname to the ar program for use in the C program
 : Respect a hint or command line value for full_ar.
 case "$full_ar" in
index 22c3a3c..e8476f0 100644 (file)
@@ -12,7 +12,7 @@
 ?S:    Currently, this is not supported, so we just abort.
 ?S:.
 ?Y:TOP
-?LINT:set ansi2knr
+: Check if ansi2knr is required
 case "$prototype" in
 "$define") ;;
 *)     ansi2knr='ansi2knr'
index f7fa5d8..3f6c52a 100644 (file)
@@ -24,8 +24,6 @@
 ?C:.
 ?H:#$d_bincompat3 BINCOMPAT3                   /**/
 ?H:.
-?LINT: set d_bincompat3
-
 : Binary compatibility with 5.003 is not possible with 5.004_50 and later.
 if test $patchlevel -gt 4 -o $subversion -ge 50; then
     d_bincompat3=$undef
index 8b60217..ce17a03 100644 (file)
@@ -26,8 +26,6 @@
 ?C:.
 ?H:#$d_bincompat5005 PERL_BINCOMPAT_5005                       /**/
 ?H:.
-?LINT: set d_bincompat5005
-
 : Binary compatibility with 5.005 is not possible for builds
 : with advanced features
 case "$usethreads$usemultiplicity" in
index c5fff17..c642462 100644 (file)
@@ -18,7 +18,6 @@
 ?C:.
 ?H:#$d_c99_variadic_macros     HAS_C99_VARIADIC_MACROS /**/
 ?H:.
-?LINT:set d_c99_variadic_macros
 : see if the Compiler supports C99 variadic macros
 case "$i_stdarg$i_stdlib" in
     "$define$define")
index 413fcd2..3ed3a95 100644 (file)
 ?C:.
 ?H:#$d_futimes HAS_FUTIMES             /**/
 ?H:.
-?LINT:set d_futimes
 ?T:rc
-d_futimes="$undef"
 : check for a working futimes
+d_futimes="$undef"
 echo " "
 echo "Checking if you have a working futimes()" >&4
 $cat >try.c <<EOCP
index 285f2d5..4eddd58 100644 (file)
 ?H:#$d_libm_lib_version LIBM_LIB_VERSION               /**/
 ?H:.
 ?T:foo
-?LINT:set d_libm_lib_version
+: check to see if math.h defines _LIB_VERSION
 d_libm_lib_version="$undef"
 case $i_math in
     $define)
-       : check to see if math.h defines _LIB_VERSION
        echo " "
        echo "Checking to see if your libm supports _LIB_VERSION..." >&4
        $cat >try.c <<EOCP
index a769d29..95b9e65 100644 (file)
 ?H:#$d_modfl_pow32_bug HAS_MODFL_POW32_BUG             /**/
 ?H:.
 ?T:foo saveccflags
-?LINT:set d_modfl
 ?LINT:set d_modflproto
-?LINT:set d_modfl_pow32_bug
 ?LINT:change ccflags
-?LINT:change uselongdouble
 ?T: message
 : see if modfl exists
 set modfl d_modfl
index 23b5728..bd1691e 100644 (file)
@@ -19,7 +19,7 @@
 ?C:.
 ?H:#define PRINTF_EXP_DIGITS $d_printf_exp_digits
 ?H:.
-?LINT:set d_strtoll
+: Check sprintf exponent digits
 echo " "
 echo "Checking how many exponent digits your sprintf formats use..."
 $cat >try.c <<'EOSC'
index 44306e9..d5de2f9 100644 (file)
@@ -25,7 +25,7 @@
 ?H:?%<:#endif
 ?H:.
 ?LINT: set d_procselfexe
-?LINT: set procselfexe
+: Check if exe is symlink to abs path of executing program
 echo " "
 procselfexe=''
 val="$undef"
index e2f3be2..c9d68bf 100644 (file)
@@ -29,7 +29,7 @@
 ?H:#$d_snprintf HAS_SNPRINTF   /**/
 ?H:#$d_vsnprintf HAS_VSNPRINTF /**/
 ?H:.
-?LINT:set d_snprintf d_vsnprintf
+?F:try
 : see if snprintf exists
 set snprintf d_snprintf
 eval $inlibc