This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Rename use64bits to use64bitint;
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 26 Feb 2000 02:48:23 +0000 (02:48 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 26 Feb 2000 02:48:23 +0000 (02:48 +0000)
rename usefull64bits to use64bitall.

p4raw-id: //depot/metaconfig@5261

12 files changed:
U/a_dvisory/quadtype.U
U/mksample
U/modified/libpth.U
U/perl/Extensions.U
U/perl/dbm64.U
U/perl/perlxv.U
U/perl/stdio64.U
U/perl/use64bits.U
U/perl/uselfs.U
U/perl/usemorebits.U
U/protos/socksizetype.U
U/threads/archname.U

index 8322601..6f8e4fe 100644 (file)
@@ -7,7 +7,7 @@
 ?RCS:
 ?MAKE:d_quad quadtype uquadtype quadkind: \
        longsize intsize d_longlong longlongsize d_int64_t \
-       Inhdr Setvar use64bits
+       Inhdr Setvar use64bitint
 ?MAKE: -pick add $@ %<
 ?S:d_quad:
 ?S:    This variable, if defined, tells that there's a 64-bit integer type,
@@ -100,7 +100,7 @@ case "$quadtype" in
 '')    echo "Alas, no 64-bit integer types in sight." >&4
        d_quad="$undef"
        ;;
-*)     if test X"$use64bits" = Xdefine -o X"$longsize" = X8; then
+*)     if test X"$use64bitint" = Xdefine -o X"$longsize" = X8; then
            verb="will"
        else
            verb="could"
index 6fe5dd9..30cc1e5 100755 (executable)
@@ -5,7 +5,7 @@
 #  Jarkko Hietaniemi   Sept 15, 1998   Added -Duse64bits
 
 rm -f config.sh Policy.sh
-sh Configure -Dprefix=/opt/perl -Doptimize=-O -Dusethreads -Duse64bits -Duselfs \
+sh Configure -Dprefix=/opt/perl -Doptimize=-O -Dusethreads -Duse64bitint -Duselfs \
        -Dcf_by='yourname' \
        -Dcf_email='yourname@yourhost.yourplace.com' \
        -Dperladmin='yourname@yourhost.yourplace.com' \
index 6a74311..10cc0eb 100644 (file)
@@ -84,7 +84,7 @@
 ?INIT:plibpth=''
 ?INIT:
 ?LINT:describe xlibpth glibpth
-?LINT:use use64bits
+?LINT:use use64bitint
 : Set private lib path
 case "$plibpth" in
 '') if ./mips; then
index 9c67f3e..8f08312 100644 (file)
@@ -10,7 +10,7 @@
 ?MAKE:known_extensions extensions dynamic_ext static_ext nonxs_ext \
        useposix useopcode : \
        Myread hint usedl d_sem d_socket i_db i_dbm i_rpcsvcdbm i_gdbm \ 
-       i_ndbm usethreads package test cat rsrc d_msg d_shm osname use64bits \
+       i_ndbm usethreads package test cat rsrc d_msg d_shm osname use64bitint \
        libs
 ?MAKE: -pick add $@ %<
 ?Y:BOTTOM
@@ -121,7 +121,7 @@ for xxx in $known_extensions ; do
        NDBM_File|ndbm_fil)
                case "$i_ndbm" in
                $define)
-                   case "$osname-$use64bits" in
+                   case "$osname-$use64bitint" in
                    hpux-define)
                        case "$libs" in
                        *-lndbm*) avail_ext="$avail_ext $xxx" ;;
@@ -135,7 +135,7 @@ for xxx in $known_extensions ; do
        ODBM_File|odbm_fil) 
                case "${i_dbm}${i_rpcsvcdbm}" in
                *"${define}"*)
-                   case "$osname-$use64bits" in
+                   case "$osname-$use64bitint" in
                    hpux-define)
                        case "$libs" in
                        *-ldbm*) avail_ext="$avail_ext $xxx" ;;
index 40d669e..d69ad43 100644 (file)
@@ -6,7 +6,7 @@
 ?RCS: License or the Artistic License, as specified in the README file.
 ?RCS:
 ?MAKE:d_dbminit64 d_dbmclose64 d_fetch64 d_store64 d_delete64 \
-       d_firstkey64 d_nextkey64: Inlibc use64bits Setvar test
+       d_firstkey64 d_nextkey64: Inlibc use64bitint Setvar test
 ?MAKE: -pick add $@ %<
 ?S:d_dbminit64:
 ?S:    This variable conditionally defines the HAS_DBMINIT64 symbol, which
@@ -81,7 +81,7 @@
 ?LINT:set d_firstkey64
 ?LINT:set d_nextkey64
 
-if $test X"$use64bits" = X"$define"; then
+if $test X"$use64bitint" = X"$define"; then
        : see if dbminit64 exists
        set dbminit64 d_dbminit64
        eval $inlibc
index 62b5c83..b5a2183 100644 (file)
@@ -9,7 +9,7 @@
        i8type u8type i16type u16type i32type u32type i64type u64type \
        i8size u8size i16size u16size i32size u32size i64size u64size \
        d_nv_preserves_uv: \
-       echo rm use64bits d_quad quadtype uquadtype \
+       echo rm use64bitint d_quad quadtype uquadtype \
        d_longdbl uselongdouble longdblsize doublesize \
        charsize shortsize intsize longsize \
        cat Compile i_inttypes exe_ext test
 echo " "
 $echo "Choosing the C types to be used for Perl's internal types..." >&4
 
-case "$use64bits:$d_quad:$quadtype" in
+case "$use64bitint:$d_quad:$quadtype" in
 define:define:?*)
        ivtype="$quadtype"
        uvtype="$uquadtype"
index 57d8ff1..701a4a4 100644 (file)
@@ -6,7 +6,7 @@
 ?RCS: License or the Artistic License, as specified in the README file.
 ?RCS:
 ?MAKE:d_fgetpos64 d_fopen64 d_freopen64 d_fseek64 d_fseeko64 d_fsetpos64 \
-       d_ftell64 d_ftello64 d_tmpfile64: Inlibc use64bits Setvar test
+       d_ftell64 d_ftello64 d_tmpfile64: Inlibc use64bitint Setvar test
 ?MAKE: -pick add $@ %<
 ?S:d_fgetpos64:
 ?S:    This variable conditionally defines the HAS_FGETPOS64 symbol, which
 ?LINT:set d_ftello64
 ?LINT:set d_tmpfile64
 
-if $test X"$use64bits" = X"$define"; then
+if $test X"$use64bitint" = X"$define"; then
        : see if fgetpos64 exists
        set fgetpos64 d_fgetpos64
        eval $inlibc
index efdb6cf..78c9c61 100644 (file)
@@ -5,32 +5,32 @@
 ?RCS: You may distribute under the terms of either the GNU General Public
 ?RCS: License or the Artistic License, as specified in the README file.
 ?RCS:
-?MAKE:use64bits usefull64bits archname64: Myread Oldconfig Setvar test \
+?MAKE:use64bitint use64bitall archname64: Myread Oldconfig Setvar test \
        uselargefiles usemorebits longsize ccflags
 ?MAKE: -pick add $@ %<
 ?Y:TOP
-?S:use64bits:
-?S:    This variable conditionally defines the USE_64_BITS symbol,
+?S:use64bitint:
+?S:    This variable conditionally defines the USE_64_BIT_INT symbol,
 ?S:    and indicates that 64-bit integer types should be used
 ?S:    when available.  The minimal possible 64-bitness
 ?S:    is employed, just enough to get 64-bit integers into Perl.
 ?S:    This may mean using for example "long longs", while your memory
 ?S:    may still be limited to 2 gigabytes.
 ?S:.
-?S:usefull64bits:
-?S:    This variable conditionally defines the USE_FULL_64_BITS symbol,
+?S:use64bitall:
+?S:    This variable conditionally defines the USE_64_BIT_ALL symbol,
 ?S:    and indicates that 64-bit integer types should be used
 ?S:    when available.  The maximal possible
 ?S:    64-bitness is employed: LP64 or ILP64, meaning that you will
 ?S:    be able to use more than 2 gigabytes of memory.  This mode is
-?S:    even more binary incompatible than USE_64_BITS. You may not
+?S:    even more binary incompatible than USE_64_BIT_INT. You may not
 ?S:    be able to run the resulting executable in a 32-bit CPU at all or
 ?S:    you may need at least to reboot your OS to 64-bit mode.
 ?S:.
 ?S:archname64:
 ?S:    This variable is used for the 64-bitness part of $archname.
 ?S:.
-?C:USE_64_BITS:
+?C:USE_64_BIT_INT:
 ?C:    This symbol, if defined, indicates that 64-bit integers should
 ?C:    be used when available.  If not defined, the native integers
 ?C:    will be employed (be they 32 or 64 bits).  The minimal possible
 ?C:    This may mean using for example "long longs", while your memory
 ?C:    may still be limited to 2 gigabytes.
 ?C:.
-?C:USE_FULL_64_BITS:
+?C:USE_64_BIT_ALL:
 ?C:    This symbol, if defined, indicates that 64-bit integers should
 ?C:    be used when available.  If not defined, the native integers
 ?C:    will be used (be they 32 or 64 bits).  The maximal possible
 ?C:    64-bitness is employed: LP64 or ILP64, meaning that you will
 ?C:    be able to use more than 2 gigabytes of memory.  This mode is
-?C:    even more binary incompatible than USE_64_BITS. You may not
+?C:    even more binary incompatible than USE_64_BIT_INT. You may not
 ?C:    be able to run the resulting executable in a 32-bit CPU at all or
 ?C:    you may need at least to reboot your OS to 64-bit mode.
 ?C:.
-?H:?%<:#ifndef USE_64_BITS
-?H:?%<:#$use64bits     USE_64_BITS             /**/
+?H:?%<:#ifndef USE_64_BIT_INT
+?H:?%<:#$use64bitint   USE_64_BIT_INT          /**/
 ?H:?%<:#endif
 ?H:.
-?H:?%<:#ifndef USE_FULL_64_BITS
-?H:?%<:#$usefull64bits USE_FULL_64_BITS                /**/
+?H:?%<:#ifndef USE_64_BIT_ALL
+?H:?%<:#$use64bitall   USE_64_BIT_ALL          /**/
 ?H:?%<:#endif
 ?H:.
-?LINT:set use64bits
+?LINT:set use64bitint
 ?LINT:extern ccflags
 ?LINT:change ccflags
 ?LINT:use uselargefiles
 ?LINT:use usemorebits
 ?LINT:extern uselonglong
 ?LINT:use uselonglong
-?LINT:set usefull64bits
-?F:!use64bits.cbu
-?F:!usefull64bits.cbu
+?LINT:set use64bitall
+?F:!use64bitint.cbu
+?F:!use64bitall.cbu
 
 # Backward compatibility (uselonglong is deprecated).
 case "$uselonglong" in
 "$define"|true|[yY]*)
        cat <<EOM >&4
 
-*** Configure -Duselonglong is deprecated, using the -Duse64bits instead.
+*** Configure -Duselonglong is deprecated, using -Duse64bitint instead.
 
 EOM
-       use64bits="$define"
+       use64bitint="$define"
        ;;
 esac                          
+# Backward compatibility (use64bits is deprecated).
+case "$use64bits" in
+"$define"|true|[yY]*)
+       cat <<EOM >&4
+
+*** Configure -Duse64bits is deprecated, using -Duse64bitint instead.
+
+EOM
+       use64bitint="$define"
+       ;;
+esac                          
+# Thinko compatibility
+case "$use64bitints" in
+"$define"|true|[yY]*)
+       cat <<EOM >&4
+
+*** There is no Configure -Duse64bitints, using -Duse64bitint instead.
+
+EOM
+       use64bitint="$define"
+       ;;
+esac                          
+
 case "$ccflags" in
-*-DUSE_LONG_LONG*|*-DUSE_64_BITS*|*-DUSE_FULL_64_BITS*) use64bits="$define";;
+*-DUSE_LONG_LONG*|*-DUSE_64_BIT_INT*|*-DUSE_64_BIT_ALL*) use64bitint="$define";;
 esac
-case "$usefull64bits" in
-"$define"|true|[yY]*) use64bits="$define" ;;
+case "$use64bitall" in
+"$define"|true|[yY]*) use64bitint="$define" ;;
 esac
 
 case "$longsize" in
@@ -92,14 +115,14 @@ You have natively 64-bit long integers.
 EOM
    val="$define"
    ;;
-*) case "$use64bits" in
+*) case "$use64bitint" in
    "$define"|true|[yY]*) dflt='y';;
    *) dflt='n';;
    esac
    cat <<EOM
 
 Perl can be built to take advantage of 64-bit integer types
-on some systems.  To do so, Configure can be run with -Duse64bits.
+on some systems.  To do so, Configure can be run with -Duse64bitint.
 Choosing this option will most probably introduce binary incompatibilities.
 
 If this doesn't make any sense to you, just accept the default '$dflt'.
@@ -112,12 +135,12 @@ EOM
    esac
    ;;
 esac
-set use64bits
+set use64bitint
 eval $setvar
 
-case "$usefull64bits" in
+case "$use64bitall" in
 "$define"|true|[yY]*) val="$define" ;;
-*)     case "$use64bits" in
+*)     case "$use64bitint" in
        "$define")      case "$longsize" in
                        4)      dflt='n'
                                cat <<EOM
@@ -146,47 +169,47 @@ EOM
        esac
        ;;
 esac 
-set usefull64bits
+set use64bitall
 eval $setvar
 
-case "$use64bits" in
+case "$use64bitint" in
 "$define"|true|[yY]*)
 : Look for a hint-file generated 'call-back-unit'.  If the
 : user has specified that a 64-bit perl is to be built,
 : we may need to set or change some other defaults.
-       if $test -f use64bits.cbu; then
+       if $test -f use64bitint.cbu; then
                echo "Your platform has some specific hints for 64-bit builds, using them..."
-               . ./use64bits.cbu
+               . ./use64bitint.cbu
        fi
        case "$longsize" in
        4) case "$ccflags" in
-          *-DUSE_64_BITS*) ;;
-          *) ccflags="$ccflags -DUSE_64_BITS";;
+          *-DUSE_64_BIT_INT*) ;;
+          *) ccflags="$ccflags -DUSE_64_BIT_INT";;
           esac
           case "$archname64" in
-          '') archname64=64 ;;
+          '') archname64=64int ;;
           esac
           ;;
        esac
        ;;
 esac
 
-case "$usefull64bits" in
+case "$use64bitall" in
 "$define"|true|[yY]*)
 : Look for a hint-file generated 'call-back-unit'.  If the
 : user has specified that a full 64-bit perl is to be built,
 : we may need to set or change some other defaults.
-       if $test -f usefull64bits.cbu; then
+       if $test -f use64bitall.cbu; then
                echo "Your platform has some specific hints for full 64-bit builds, using them..."
-               . ./usefull64bits.cbu
+               . ./use64bitall.cbu
        fi
        case "$longsize" in
        4) case "$ccflags" in
-          *-DUSE_FULL_64_BITS*) ;;
-          *) ccflags="$ccflags -DUSE_FULL_64_BITS";;
+          *-DUSE_64_BIT_ALL*) ;;
+          *) ccflags="$ccflags -DUSE_64_BIT_ALL";;
           esac
           case "$archname64" in
-          ''|64) archname64=full64 ;;
+          ''|64) archname64=64all ;;
           esac
           ;;
        esac
index fef6106..f05980f 100644 (file)
 ?LINT:change lseeksize
 ?LINT:change fpossize
 
+# Backward compatibility (uselfs is deprecated).
+case "$uselfs" in
+"$define"|true|[yY]*)
+       cat <<EOM >&4
+
+*** Configure -Duselfs is deprecated, using -Duselargefiles instead.
+
+EOM
+       uselargefiles="$define"
+       ;;
+esac                          
+
 case "$lseeksize:$fpossize" in
 8:8) cat <<EOM
 
index bac065e..ee78612 100644 (file)
 ?H:?%<:#$usemorebits   USE_MORE_BITS           /**/
 ?H:?%<:#endif
 ?H:.
-?LINT:extern use64bits
-?LINT:change use64bits
+?LINT:extern use64bitint
+?LINT:change use64bitint
 ?LINT:extern uselongdouble
 ?LINT:change uselongdouble
 
 case "$usemorebits" in
 "$define"|true|[yY]*)
-       use64bits="$define"
+       use64bitint="$define"
        uselongdouble="$define"
        usemorebits="$define"
        ;;
index 4cb0007..53161e8 100644 (file)
@@ -14,8 +14,8 @@
 ?S:    socklen_t, size_t, and int.
 ?S:.
 ?C:Sock_size_t:
-?C:    This symbol holds the type used for the size argument
-?C:    of various socket calls.
+?C:    This symbol holds the type used for the size argument of
+?C:    various socket calls (just the base type, not the pointer-to).
 ?C:.
 ?H:#define Sock_size_t         $socksizetype /**/
 ?H:.
@@ -39,7 +39,7 @@ EOM
                '')     try="extern int accept(int, struct sockaddr *, $xxx *);"
                        if ./protochk "$try" $hdrs; then
                                echo "Your system accepts '$xxx *' for the last argument of accept()."
-                               socksizetype="$xxx *"
+                               socksizetype="$xxx"
                        fi
                        ;;
                esac
@@ -47,13 +47,13 @@ EOM
 : In case none of those worked, prompt the user.
        case "$socksizetype" in
        '')     rp='What is the type for the last argument to accept()?'
-               dflt='int *'
+               dflt='int'
                . ./myread
                socksizetype=$ans
                ;;
        esac
        ;;
-*)     : no gethostbyaddr, so pick relatively harmless defaults
+*)     : no sockets, so pick relatively harmless defaults
        socksizetype='char *'
        ;;
 esac
index d84a6c3..1079878 100644 (file)
@@ -19,7 +19,7 @@
 ?RCS: patch51: created
 ?RCS:
 ?MAKE:archname myarchname: sed Loc Myread Oldconfig osname test rm \
-       usethreads usemultiplicity use64bits archname64
+       usethreads usemultiplicity use64bitint archname64
 ?MAKE: -pick add $@ %<
 ?S:archname:
 ?S:    This variable is a short name to characterize the current
@@ -102,8 +102,8 @@ $define)
        ;;
 esac
 @end
-@if use64bits
-case "$use64bits" in
+@if use64bitint
+case "$use64bitint" in
 $define)
        case "$archname64" in
        '')