This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
First line of body should be descriptive comment
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 14 Jan 2008 15:13:30 +0000 (15:13 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 14 Jan 2008 15:13:30 +0000 (15:13 +0000)
107 warnings to go

p4raw-id: //depot/metaconfig@32972

55 files changed:
U/modified/Config_h.U
U/modified/Init.U
U/modified/afs.U
U/modified/cc.U
U/modified/cf_email.U
U/modified/d_getprotby.U
U/modified/d_getsrvby.U
U/modified/d_socket.U
U/modified/d_statblks.U
U/modified/groupstype.U
U/modified/libc.U
U/perl/Mksymlinks.U
U/perl/d_cmsghdr_s.U
U/perl/d_fpos64_t.U
U/perl/d_fs_data_s.U
U/perl/d_fstatfs.U
U/perl/d_getfsstat.U
U/perl/d_iovec_s.U
U/perl/d_msghdr_s.U
U/perl/d_sfio.U
U/perl/d_sitecustomize.U
U/perl/d_statfs.U
U/perl/d_statfs3.U
U/perl/d_statfs4.U
U/perl/d_statfs_f_flags.U
U/perl/d_statfs_s.U
U/perl/d_statvfs.U
U/perl/dbm64.U
U/perl/dlext.U
U/perl/i_assert.U
U/perl/i_syslog.U
U/perl/i_sysmode.U
U/perl/i_sysrusage.U
U/perl/i_sysstatfs.U
U/perl/i_sysutsname.U
U/perl/i_sysvfs.U
U/perl/libperl.U
U/perl/perladmin.U
U/perl/perlxvf.U
U/perl/stdio64.U
U/perl/use64bits.U
U/perl/usecjk.U
U/perl/usefaststdio.U
U/perl/uselongdbl.U
U/perl/uselonglong.U
U/perl/usemorebits.U
U/perl/usemultiplicity.U
U/perl/useperlio.U
U/perl/usesocks.U
U/protos/Hasfield.U
U/protos/Hasproto.U
U/protos/Hasstruct.U
U/threads/d_pthread_y.U
U/typedefs/gidf.U
U/typedefs/uidf.U

index 7522827..2fe7172 100644 (file)
@@ -1,7 +1,7 @@
 ?RCS: $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
 ?RCS:
 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS: 
+?RCS:
 ?RCS: You may redistribute only under the terms of the Artistic Licence,
 ?RCS: as specified in the README file that comes with the distribution.
 ?RCS: You may reuse parts of this distribution only within the terms of
@@ -27,7 +27,7 @@
 ?RCS: Revision 3.0  1993/08/18  12:04:47  ram
 ?RCS: Baseline for dist 3.0 netwide release.
 ?RCS:
-?X: 
+?X:
 ?X: This file ends up producing the config_h.SH script, which is run to produce
 ?X: the config.h file.  The file ./.Config_h below contains all the ?H: lines
 ?X: extracted out of all the units.  Metaconfig itself adds the !GROK!THIS!.
@@ -38,7 +38,7 @@
 ?X: 'dot' is allowed within the file name, as it is part of the "extension" of
 ?X: the file. MS-DOG will not let you have two 'dots' because that would mean
 ?X: two "extensions".
-?X: 
+?X:
 ?MAKE:Config_h: Id End Config_sh Obsol_h myuname cf_time cf_by package src
 ?MAKE: -pick c_h_weed $@ %<
 ?MAKE: -pick c_h_weed $@ ./Config_h
@@ -48,6 +48,7 @@
 ?LINT:change CONFIG_H
 ?LINT:change CONFIG_SH
 ?T:PERL_CONFIG_SH TOP
+: Set up for generating config_h.SH
 case "$CONFIG_SH" in
 '') CONFIG_SH=config.sh ;;
 esac
@@ -78,16 +79,16 @@ echo "Extracting $CONFIG_H (with variable substitutions)"
 ?X: is provision here for #un-def, which is translated back into #undef after
 ?X: all original #undef have been processed.
 ?X:
-?X:    Previously, we changed all 
-?X:            #undef FOO /**/ 
+?X:    Previously, we changed all
+?X:            #undef FOO /**/
 ?X:    into
-?X:            /*#define FOO /**/ 
+?X:            /*#define FOO /**/
 ?X:    The xlc compiler (available on IBM's AIX) complains that this is
 ?X:    an illegal attempt to write a nested comment, and warns against it.
 ?X:    There's apparently no way to shut the compiler up, either.
 ?X:    This sed command from Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
 ?X:    changes it to
-?X:            /*#define FOO / **/ 
+?X:            /*#define FOO / **/
 sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
 /*
  * This file was produced by running the config_h.SH script, which
index 91d7c94..92cd793 100644 (file)
@@ -1,7 +1,7 @@
 ?RCS: $Id: Init.U,v 3.0.1.1 1994/10/31 09:45:59 ram Exp $
 ?RCS:
 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS: 
+?RCS:
 ?RCS: You may redistribute only under the terms of the Artistic Licence,
 ?RCS: as specified in the README file that comes with the distribution.
 ?RCS: You may reuse parts of this distribution only within the terms of
@@ -18,7 +18,7 @@
 ?RCS: Revision 3.0  1993/08/18  12:05:02  ram
 ?RCS: Baseline for dist 3.0 netwide release.
 ?RCS:
-?X: 
+?X:
 ?X: This file initializes certain default variables used by Configure.  They
 ?X: may be overridden or added to by definitions in Myinit.U.
 ?X:
@@ -42,6 +42,7 @@
 ?LINT:extern _exe
 ?LINT:change _exe
 ?LINT:extern is_os2
+: Detect odd OSs
 define='define'
 undef='undef'
 smallmach='pdp11 i8086 z8000 i80286 iAPX286'
index 7f5cff7..8266057 100644 (file)
@@ -1,7 +1,7 @@
 ?RCS: $Id: afs.U,v 3.0.1.2 1997/02/28 15:23:06 ram Exp $
 ?RCS:
 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS: 
+?RCS:
 ?RCS: You may redistribute only under the terms of the Artistic Licence,
 ?RCS: as specified in the README file that comes with the distribution.
 ?RCS: You may reuse parts of this distribution only within the terms of
 ?S:    This variable is by default set to '/afs'. In the unlikely case
 ?S:    this is not the correct root, it is possible to override this with
 ?S:    a hint value or command line option.  This will be used in subsequent
-?S:    tests for AFSness in the Perl configure and test process. 
+?S:    tests for AFSness in the Perl configure and test process.
 ?S:.
+: is AFS running?
 case "$afsroot" in
 '')    afsroot=/afs ;;
 *)     afsroot=$afsroot ;;
 esac
 
-: is AFS running?
 echo " "
 case "$afs" in
 $define|true)  afs=true ;;
index 56e51be..b5ede3d 100644 (file)
@@ -1,7 +1,7 @@
 ?RCS: $Id: cc.U,v 3.0.1.4 1995/05/12 12:06:47 ram Exp $
 ?RCS:
 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS: 
+?RCS:
 ?RCS: You may redistribute only under the terms of the Artistic Licence,
 ?RCS: as specified in the README file that comes with the distribution.
 ?RCS: You may reuse parts of this distribution only within the terms of
@@ -38,6 +38,7 @@
 ?D:cc='cc'
 ?LINT:change cpp
 ?LINT:extern ldflags
+: Checking the C compiler
 case "$cc" in
 '') dflt=cc;;
 *) dflt="$cc";;
index 4d38ff5..ff693b7 100644 (file)
@@ -1,13 +1,13 @@
 ?RCS: $Id: cf_email.U,v 3.0.1.1 1994/01/24 14:05:06 ram Exp $
 ?RCS:
 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS: 
+?RCS:
 ?RCS: You may redistribute only under the terms of the Artistic Licence,
 ?RCS: as specified in the README file that comes with the distribution.
 ?RCS: You may reuse parts of this distribution only within the terms of
 ?RCS: that same Artistic Licence; a copy of which may be found at the root
 ?RCS: of the source tree for dist 3.0.
-?RCS: 
+?RCS:
 ?RCS: $Log: cf_email.U,v $
 ?RCS: Revision 3.0.1.1  1994/01/24  14:05:06  ram
 ?RCS: patch16: created
@@ -20,6 +20,7 @@
 ?S:    used by units that require the user's e-mail, like MailList.U.
 ?S:.
 ?T:cont
+: Ask for e-mail
 $cat <<EOM
 
 I need to get your e-mail address in Internet format if possible, i.e.
index ae0c329..c32085e 100644 (file)
@@ -8,14 +8,14 @@
 ?MAKE:d_getpbyname d_getpbynumber: Inlibc
 ?MAKE: -pick add $@ %<
 ?S:d_getpbyname:
-?S:    This variable conditionally defines the HAS_GETPROTOBYNAME 
-?S:    symbol, which indicates to the C program that the 
+?S:    This variable conditionally defines the HAS_GETPROTOBYNAME
+?S:    symbol, which indicates to the C program that the
 ?S:    getprotobyname() routine is available to look up protocols
 ?S:    by their name.
 ?S:.
 ?S:d_getpbynumber:
-?S:    This variable conditionally defines the HAS_GETPROTOBYNUMBER 
-?S:    symbol, which indicates to the C program that the 
+?S:    This variable conditionally defines the HAS_GETPROTOBYNUMBER
+?S:    symbol, which indicates to the C program that the
 ?S:    getprotobynumber() routine is available to look up protocols
 ?S:    by their number.
 ?S:.
@@ -31,6 +31,7 @@
 ?H:#$d_getpbynumber HAS_GETPROTOBYNUMBER               /**/
 ?H:.
 ?LINT:set d_getpbyname d_getpbynumber
+: Optional checks for getprotobyname and getprotobynumber
 
 @if d_getpbyname || HAS_GETPROTOBYNAME
 : see if getprotobyname exists
index 9e50b15..b748f96 100644 (file)
@@ -8,14 +8,14 @@
 ?MAKE:d_getsbyname d_getsbyport: Inlibc
 ?MAKE: -pick add $@ %<
 ?S:d_getsbyname:
-?S:    This variable conditionally defines the HAS_GETSERVBYNAME 
-?S:    symbol, which indicates to the C program that the 
+?S:    This variable conditionally defines the HAS_GETSERVBYNAME
+?S:    symbol, which indicates to the C program that the
 ?S:    getservbyname() routine is available to look up services
 ?S:    by their name.
 ?S:.
 ?S:d_getsbyport:
-?S:    This variable conditionally defines the HAS_GETSERVBYPORT 
-?S:    symbol, which indicates to the C program that the 
+?S:    This variable conditionally defines the HAS_GETSERVBYPORT
+?S:    symbol, which indicates to the C program that the
 ?S:    getservbyport() routine is available to look up services
 ?S:    by their port.
 ?S:.
@@ -31,6 +31,7 @@
 ?H:#$d_getsbyport HAS_GETSERVBYPORT            /**/
 ?H:.
 ?LINT:set d_getsbyname d_getsbyport
+: Optional checks for getsbyname and getsbyport
 
 @if d_getsbyname || HAS_GETSERVBYNAME
 : see if getservbyname exists
index 6d02aae..828e9bc 100644 (file)
 ?LINT:set d_sockpair
 ?LINT:set d_msg_ctrunc d_msg_dontroute d_msg_oob d_msg_peek d_msg_proxy
 ?LINT:set d_scm_rights
+: see whether socket exists
 socketlib=''
 sockethdr=''
-: see whether socket exists
 echo " "
 $echo $n "Hmm... $c" >&4
 if set socket val -f d_socket; eval $csym; $val; then
index 78c3609..6ecc7f7 100644 (file)
@@ -1,7 +1,7 @@
 ?RCS: $Id: d_statblks.U,v 3.0 1993/08/18 12:07:29 ram Exp $
 ?RCS:
 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS: 
+?RCS:
 ?RCS: You may redistribute only under the terms of the Artistic Licence,
 ?RCS: as specified in the README file that comes with the distribution.
 ?RCS: You may reuse parts of this distribution only within the terms of
@@ -28,7 +28,6 @@
 ?H:?%<:#endif
 ?H:.
 ?LINT:set d_statblks
-
 : see if stat knows about block sizes
 echo " "
 echo "Checking to see if your struct stat has st_blocks field..." >&4
index 89928b9..9fc2d35 100644 (file)
@@ -1,7 +1,7 @@
 ?RCS: $Id: groupstype.U,v 3.0.1.2 1994/10/29 16:18:08 ram Exp $
 ?RCS:
 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS: 
+?RCS:
 ?RCS: You may redistribute only under the terms of the Artistic Licence,
 ?RCS: as specified in the README file that comes with the distribution.
 ?RCS: You may reuse parts of this distribution only within the terms of
@@ -41,7 +41,6 @@
 ?H:?%<:#endif
 ?H:.
 ?W:%<:getgroups HAS_GETGROUPS setgroups HAS_SETGROUPS
-
 : Find type of 2nd arg to 'getgroups()' and 'setgroups()'
 echo " "
 case "$d_getgrps$d_setgrps" in
index bdc830e..571a5cc 100644 (file)
 ?LINT:extern libnames
 ?LINT:change nm_opt
 ?INIT:libnames=''
+: get list of predefined functions in a handy place
 case "$runnm" in
 true)
 ?X: indentation is wrong on purpose--RAM
-: get list of predefined functions in a handy place
 echo " "
 case "$libc" in
 '') libc=unknown
index 456ce58..536cec7 100644 (file)
@@ -2,16 +2,16 @@
 ?RCS: $Id$
 ?RCS:
 ?RCS: Copyright (c) 2000, Jarkko Hietaniemi
-?RCS: 
-?X: 
+?RCS:
+?X:
 ?X: This unit produces a bit of shell code that must be dotted in order
 ?X: to make quick check on whether the current C compiler is working.
-?X:    
+?X:
 ?MAKE:Mksymlinks: lns issymlink src
 ?MAKE: -pick add $@ %<
 ?T: directory filename
 ?LINT:extern mksymlinks
-
+: Make symlinks util
 case "$mksymlinks" in
 $define|true|[yY]*)
        case "$src" in
index b43c3e0..9ccff07 100644 (file)
@@ -18,7 +18,7 @@
 ?H:#$d_cmsghdr_s HAS_STRUCT_CMSGHDR    /**/
 ?H:.
 ?LINT:set d_cmsghdr_s
-
+: Check for cmsghdr support
 echo " "
 echo "Checking to see if your system supports struct cmsghdr..." >&4
 set d_cmsghdr_s cmsghdr $i_systypes sys/types.h $d_socket sys/socket.h $i_sysuio sys/uio.h
index 84b4934..1df9b92 100644 (file)
@@ -17,7 +17,6 @@
 ?H:#$d_fpos64_t        HAS_FPOS64_T            /**/
 ?H:.
 ?LINT:set d_fpos64_t
-
 : check for fpos64_t
 echo " "
 echo "Checking to see if you have fpos64_t..." >&4
index 5540058..8a77c45 100644 (file)
@@ -18,7 +18,7 @@
 ?H:#$d_fs_data_s HAS_STRUCT_FS_DATA    /**/
 ?H:.
 ?LINT:set d_fs_data_s
-
+: Check for fs_data_s
 echo " "
 echo "Checking to see if your system supports struct fs_data..." >&4
 set d_fs_data_s fs_data $i_systypes sys/types.h $i_sysparam sys/param.h $i_sysmount sys/mount.h
index 371f997..8b114fd 100644 (file)
@@ -18,7 +18,6 @@
 ?H:#$d_fstatfs HAS_FSTATFS             /**/
 ?H:.
 ?LINT:set d_fstatfs
-
 : see if fstatfs exists
 set fstatfs d_fstatfs
 eval $inlibc
index 6247fef..ba3a7e9 100644 (file)
@@ -18,7 +18,6 @@
 ?H:#$d_getfsstat HAS_GETFSSTAT         /**/
 ?H:.
 ?LINT:set d_getfsstat
-
 : see if getfsstat exists
 set getfsstat d_getfsstat
 eval $inlibc
index fb982b7..4be145e 100644 (file)
@@ -18,6 +18,7 @@
 ?H:#$d_iovec_s HAS_STRUCT_IOVEC                /**/
 ?H:.
 ?LINT:set d_iovec_s
+: Check for iovec_s
 echo "Checking to see if your system supports struct iovec..." >&4
 set d_iovec_s iovec iov_base $i_sysuio sys/uio.h
 eval $hasfield
index 6f1251e..09ca73a 100644 (file)
@@ -18,7 +18,7 @@
 ?H:#$d_msghdr_s HAS_STRUCT_MSGHDR      /**/
 ?H:.
 ?LINT:set d_msghdr_s
-
+: Check for msghdr_s
 echo " "
 echo "Checking to see if your system supports struct msghdr..." >&4
 set d_msghdr_s msghdr $i_systypes sys/types.h $d_socket sys/socket.h $i_sysuio sys/uio.h
index ff3d978..82c17ee 100644 (file)
@@ -30,7 +30,6 @@
 ?LINT:set d_sfio
 ?LINT:change libs
 ?LINT:change useperlio
-
 : see if sfio library is available
 case "$i_sfio" in
 $define)
index 0498392..7e658e0 100644 (file)
@@ -24,7 +24,7 @@
 ?H:?%<:#endif
 ?H:?%<:@end
 ?H:.
-
+: Check if site customization support was requested
 case "$usesitecustomize" in
     $define|true|[Yy]*)
        usesitecustomize="$define"
index 2375689..b1f96a5 100644 (file)
@@ -18,7 +18,6 @@
 ?H:#$d_statfs HAS_STATFS               /**/
 ?H:.
 ?LINT:set d_statfs
-
 : see if statfs exists
 set statfs d_statfs
 eval $inlibc
index 61cb335..668b55a 100644 (file)
@@ -20,7 +20,7 @@
 ?H:#$d_statfs3 HAS_STATFS3             /**/
 ?H:.
 ?LINT:set d_statfs3
-
+: Check for statfs3
 case "$d_statfs" in
 define)
        $cat >try.h <<EOCP
index 0c2cb5d..8bd441f 100644 (file)
@@ -20,7 +20,7 @@
 ?H:#$d_statfs4 HAS_STATFS4             /**/
 ?H:.
 ?LINT:set d_statfs4
-
+: Check for statfs4
 case "$d_statfs" in
 define)
        $cat >try.h <<EOCP
index fc688e0..406307f 100644 (file)
 ?H:#$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS                /**/
 ?H:.
 ?LINT:set d_statfs_f_flags
-
 : see if struct statfs knows about f_flags
 case "$d_statfs_s" in
-define)        
+define)
        echo " "
        echo "Checking to see if your struct statfs has f_flags field..." >&4
        set d_statfs_f_flags statfs f_flags $i_systypes sys/types.h $i_sysparam sys/param.h $i_sysmount sys/mount.h $i_sysvfs sys/vfs.h $i_sysstatfs sys/statfs.h
index 99c7e28..3803d49 100644 (file)
@@ -20,7 +20,7 @@
 ?H:#$d_statfs_s HAS_STRUCT_STATFS      /**/
 ?H:.
 ?LINT:set d_statfs_s
-
+: Check for statfs_s
 echo " "
 echo "Checking to see if your system supports struct statfs..." >&4
 set d_statfs_s statfs $i_systypes sys/types.h $i_sysparam sys/param.h $i_sysmount sys/mount.h $i_sysvfs sys/vfs.h $i_sysstatfs sys/statfs.h
index 77ab20c..a37e2ad 100644 (file)
@@ -28,7 +28,6 @@
 ?H:.
 ?LINT:set d_statvfs
 ?LINT:set d_fstatvfs
-
 : see if statvfs exists
 set statvfs d_statvfs
 eval $inlibc
index d69ad43..4b9f6d2 100644 (file)
@@ -80,7 +80,7 @@
 ?LINT:set d_delete64
 ?LINT:set d_firstkey64
 ?LINT:set d_nextkey64
-
+: Check if DBM has 64bit functions
 if $test X"$use64bitint" = X"$define"; then
        : see if dbminit64 exists
        set dbminit64 d_dbminit64
index 87e28f3..07b23e4 100644 (file)
@@ -8,14 +8,14 @@
 ?RCS: $Log: dlext.U,v $
 ?RCS:
 ?X:  hpux support thanks to Jeff Okamoto <okamoto@hpcc101.corp.hp.com>
-?X: 
+?X:
 ?X:  To create a shared library, you must compile ALL source files in the
 ?X:  library with +z (or possibly +Z if the library is whopping huge),
 ?X:  then link the library with -b.  Example:
 ?X:      cc -c +z module_a.c
 ?X:      cc -c +z module_b.c
 ?X:      ld -b module_a.o module_b.o -o module.sl
-?X:  
+?X:
 ?MAKE:dlext: \
        Getfile Myread cat usedl so
 ?MAKE: -pick add $@ %<
@@ -24,6 +24,7 @@
 ?S:    This variable contains the extension that is to be used for the
 ?S:    dynamically loaded modules that perl generaties.
 ?S:.
+: Check what extension to use for shared libs
 case "$usedl" in
 $define|y|true)
        $cat << EOM
index f8f4987..9d26acd 100644 (file)
@@ -19,7 +19,6 @@
 ?H:#$i_assert  I_ASSERT                /**/
 ?H:.
 ?LINT:set i_assert
-
 : see if this is a assert.h system
 set assert.h i_assert
 eval $inhdr
index 2fec042..b9bd45b 100644 (file)
@@ -18,7 +18,6 @@
 ?H:#$i_syslog  I_SYSLOG                /**/
 ?H:.
 ?LINT:set i_syslog
-
 : see if this is a syslog.h system
 set syslog.h i_syslog
 eval $inhdr
index 4799636..01eaacd 100644 (file)
@@ -18,7 +18,6 @@
 ?H:#$i_sysmode I_SYSMODE               /**/
 ?H:.
 ?LINT:set i_sysmode
-
 : see if this is a sys/mode.h system
 set sys/mode.h i_sysmode
 eval $inhdr
index a6c5a68..cfd6ca6 100644 (file)
@@ -18,7 +18,6 @@
 ?H:#$i_sysrusage       I_SYSRUSAGE             /**/
 ?H:.
 ?LINT:set i_sysrusage
-
 : see if this is a sys/rusage.h system
 set sys/rusage.h i_sysrusage
 eval $inhdr
index 245e84c..f65084b 100644 (file)
@@ -17,7 +17,6 @@
 ?H:#$i_sysstatfs       I_SYS_STATFS            /**/
 ?H:.
 ?LINT:set i_sysstatfs
-
 : see if this is a sys/statfs.h system
 set sys/statfs.h i_sysstatfs
 eval $inhdr
index 937e355..c10d8bb 100644 (file)
@@ -18,7 +18,6 @@
 ?H:#$i_sysutsname      I_SYSUTSNAME            /**/
 ?H:.
 ?LINT:set i_sysutsname
-
 : see if this is a sys/utsname.h system
 set sys/utsname.h i_sysutsname
 eval $inhdr
index d4aed71..d331906 100644 (file)
@@ -18,7 +18,6 @@
 ?H:#$i_sysvfs  I_SYS_VFS               /**/
 ?H:.
 ?LINT:set i_sysvfs
-
 : see if this is a sys/vfs.h system
 set sys/vfs.h i_sysvfs
 eval $inhdr
index 4aa4c8d..27b1402 100644 (file)
@@ -24,7 +24,7 @@
 ?S:.
 ?S:shrpenv:
 ?S:    If the user builds a shared libperl.so, then we need to tell the
-?S:    'perl' executable where it will be able to find the installed libperl.so. 
+?S:    'perl' executable where it will be able to find the installed libperl.so.
 ?S:    One way to do this on some systems is to set the environment variable
 ?S:    LD_RUN_PATH to the directory that will be the final location of the
 ?S:    shared libperl.so.  The makefile can use this with something like
@@ -53,6 +53,7 @@
 ?LINT:change ccdlflags
 ?LINT:extern maintloc maintname
 ?Y:top
+: Do we want a share libperl?
 also=''
 case "$usedl" in
 $undef)
@@ -205,7 +206,7 @@ shrpdir=$archlibexp/CORE
 xxx=''
 tmp_shrpenv=''
 if "$useshrplib"; then
-    case "$osname" in 
+    case "$osname" in
        aix)
                # We'll set it in Makefile.SH...
                ;;
@@ -234,7 +235,7 @@ if "$useshrplib"; then
        esac
        case "$xxx" in
        '') ;;
-       *)      
+       *)
                # Only add $xxx if it isn't already in ccdlflags.
                case " $ccdlflags " in
                *" $xxx "*)     ;;
@@ -242,7 +243,7 @@ if "$useshrplib"; then
                        cat <<EOM >&4
 
 Adding $xxx to the flags
-passed to $ld so that the perl executable will find the 
+passed to $ld so that the perl executable will find the
 installed shared $libperl.
 
 EOM
index 3ef17dd..888ef97 100644 (file)
@@ -9,6 +9,7 @@
 ?S:perladmin:
 ?S:    Electronic mail address of the perl5 administrator.
 ?S:.
+: Ask e-mail of administrator
 $cat <<EOM
 
 If you or somebody else will be maintaining perl at your site, please
index 15e41a3..b9fec7f 100644 (file)
 ?MAKE: -pick add $@ %<
 ?S:ivdformat:
 ?S:    This variable contains the format string used for printing
-?S:    a Perl IV as a signed decimal integer. 
+?S:    a Perl IV as a signed decimal integer.
 ?S:.
 ?S:uvuformat:
 ?S:    This variable contains the format string used for printing
-?S:    a Perl UV as an unsigned decimal integer. 
+?S:    a Perl UV as an unsigned decimal integer.
 ?S:.
 ?S:uvoformat:
 ?S:    This variable contains the format string used for printing
-?S:    a Perl UV as an unsigned octal integer. 
+?S:    a Perl UV as an unsigned octal integer.
 ?S:.
 ?S:uvxformat:
 ?S:    This variable contains the format string used for printing
 ?H:#define     NVFf            $nvFUformat             /**/
 ?H:#define     NVGf            $nvGUformat             /**/
 ?H:.
-
+: Check format strings for internal types
 echo " "
 $echo "Checking the format strings to be used for Perl's internal types..." >&4
 
index 701a4a4..6fb6511 100644 (file)
 ?LINT:set d_ftell64
 ?LINT:set d_ftello64
 ?LINT:set d_tmpfile64
-
+: Check for 64bit versions of basic file IO
 if $test X"$use64bitint" = X"$define"; then
        : see if fgetpos64 exists
        set fgetpos64 d_fgetpos64
index c69a557..0b5e971 100644 (file)
@@ -66,7 +66,7 @@
 ?LINT:extern use64bitsall
 ?F:!use64bitint.cbu
 ?F:!use64bitall.cbu
-
+: Do we want 64bit support
 case "$uselonglong" in
 "$define"|true|[yY]*)
        cat <<EOM >&4
index b740ae5..e83eb54 100644 (file)
@@ -25,6 +25,7 @@
 ?INIT:: set usecjk on the Configure command line to enable cjk.
 ?X: We should really have some explanatory text here, and some
 ?X: automatic setting of sensible defaults.
+: Check for CJK support
 case "$usecjk" in
 ''|$define|true|[yY]*) dflt='y';;
 *) dflt='n';;
index d868a28..8f9561f 100644 (file)
@@ -24,6 +24,7 @@
 ?H:.
 ?T:xversion
 ?LINT:set usefaststdio
+: Check if faststdio is requested and available
 case "$usefaststdio" in
 $define|true|[yY]*|'')
        xversion=`awk '/define[         ]+PERL_VERSION/ {print $3}' $rsrc/patchlevel.h`
@@ -47,7 +48,7 @@ EOM
 rp='Use the "fast stdio" if available?'
 . ./myread
 case "$ans" in
-y|Y)   val="$define" ;;     
+y|Y)   val="$define" ;;
 *)      val="$undef" ;;
 esac
 set usefaststdio
index c4dc77c..b73674d 100644 (file)
@@ -23,6 +23,7 @@
 ?LINT:extern ccflags
 ?LINT:use usemorebits
 ?F:!uselongdouble.cbu
+: Check for uselongdouble support
 case "$ccflags" in
 *-DUSE_LONG_DOUBLE*|*-DUSE_MORE_BITS*) uselongdouble="$define" ;;
 esac
index f3fe2ed..db3f66b 100644 (file)
@@ -22,6 +22,7 @@
 ?H:.
 ?LINT:extern ccflags
 ?F:!uselonglong.cbu
+: Check for longlong support
 case "$uselonglong" in
 ''|true|[yY]*) uselonglong="$define" ;;
 *) case "$ccflags" in
index ee78612..b6d9d03 100644 (file)
@@ -25,7 +25,7 @@
 ?LINT:change use64bitint
 ?LINT:extern uselongdouble
 ?LINT:change uselongdouble
-
+: Check if morebits is requested
 case "$usemorebits" in
 "$define"|true|[yY]*)
        use64bitint="$define"
index 2f489f8..a24b75f 100644 (file)
@@ -22,6 +22,7 @@
 ?H:.
 ?LINT:set usemultiplicity
 ?INIT:: set usemultiplicity on the Configure command line to enable multiplicity.
+: Check if multiplicity is required
 ?X: We should really have some explanatory text here, and some
 ?X: automatic setting of sensible defaults.
 cat <<EOM
index a49efcb..4f47cf4 100644 (file)
@@ -25,6 +25,7 @@
 ?H:?%<:#endif
 ?H:.
 ?LINT:set useperlio
+: Check if we want perlio
 case "$useperlio" in
 $define|true|[yY]*|'') dflt='y';;
 *) dflt='n';;
@@ -43,16 +44,16 @@ EOM
 rp='Use the PerlIO abstraction layer?'
 . ./myread
 case "$ans" in
-y|Y) 
+y|Y)
        val="$define"
        ;;
-*)      
+*)
        echo "Ok, doing things the stdio way."
        val="$undef"
        ;;
 esac
 set useperlio
-eval $setvar 
+eval $setvar
 
 case "$usesocks" in
 $define|true|[yY]*)
@@ -69,4 +70,3 @@ EOM
        ;;
 esac
 
-       
index 43d2b10..cfb1125 100644 (file)
@@ -24,6 +24,7 @@
 ?LINT:extern useperlio
 ?LINT:change useperlio
 ?INIT:: set usesocks on the Configure command line to enable socks.
+: Check is we will use socks
 ?X: We should really have some explanatory text here, and some
 ?X: automatic setting of sensible defaults.
 case "$usesocks" in
index b38bbca..b853af5 100644 (file)
@@ -24,6 +24,7 @@
 ?MAKE: -pick add $@ %<
 ?T:varname struct field
 ?V:hasfield
+: Define hasfield macro for Configure internal use
 hasfield='varname=$1; struct=$2; field=$3; shift; shift; shift;
 while $test $# -ge 2; do
        case "$1" in
index 6e41ac8..ce1d624 100644 (file)
@@ -25,6 +25,7 @@
 ?T:func varname
 ?F:!try.c
 ?V:hasproto
+: Define hasproto macro for Configure internal use
 hasproto='varname=$1; func=$2; shift; shift;
 while $test $# -ge 2; do
        case "$1" in
index fe5d602..02e486e 100644 (file)
@@ -24,6 +24,7 @@
 ?MAKE: -pick add $@ %<
 ?T:varname struct
 ?V:hasstruct
+: Define hasstruct macro for Configure internal use
 hasstruct='varname=$1; struct=$2; shift; shift;
 while $test $# -ge 2; do
        case "$1" in
index 99a5ea8..4483375 100644 (file)
@@ -42,7 +42,6 @@
 ?H:#$d_sched_yield HAS_SCHED_YIELD     /**/
 ?H:.
 ?LINT: set d_pthread_yield d_sched_yield
-
 : see whether the various POSIXish _yields exist
 $cat >try.c <<EOP
 #include <pthread.h>
index 7807291..ccc113c 100644 (file)
@@ -16,6 +16,7 @@
 ?C:.
 ?H:#define     Gid_t_f         $gidformat              /**/
 ?H:.
+: Check format string for GID
 
 echo " "
 $echo "Checking the format string to be used for gids..." >&4
index 611d22a..af8d090 100644 (file)
@@ -16,7 +16,7 @@
 ?C:.
 ?H:#define     Uid_t_f         $uidformat              /**/
 ?H:.
-
+: Check format string for UID
 echo " "
 $echo "Checking the format string to be used for uids..." >&4