3 ?RCS: Copyright (c) 1998 Andy Dougherty
5 ?RCS: You may distribute under the terms of either the GNU General Public
6 ?RCS: License or the Artistic License, as specified in the README file.
8 ?MAKE:use64bits archname64: Myread Oldconfig Setvar test gccversion cat \
9 uselargefiles usemorebits longsize intsize ccflags
10 ?MAKE: -pick add $@ %<
13 ?S: This variable conditionally defines the USE_64_BITS symbol,
14 ?S: and indicates that 64-bit integer types should be used
18 ?S: This variable is used for the 64-bitness part of $archname.
21 ?C: This symbol, if defined, indicates that 64-bit integers should
22 ?C: be used when available. If not defined, the native integers
23 ?C: will be used (be they 32 or 64 bits).
25 ?H:?%<:#ifndef USE_64_BITS
26 ?H:?%<:#$use64bits USE_64_BITS /**/
33 ?LINT:use uselargefiles
35 ?LINT:extern uselonglong
39 case "$intsize:$longsize" in
42 You have natively 64-bit integers.
47 *-DUSE_64_BITS*|*-DUSE_LONG_LONG*) use64bits="$define";;
48 *) case "$uselonglong" in
49 $define|true|[yY]*) use64bits="$define";;
54 $define|true|[yY]*) dflt='y';;
59 Perl can be built to take advantage of 64-bit integer types
60 on some systems. To do so, Configure must be run with -Duse64bits.
62 If this doesn't make any sense to you, just accept the default '$dflt'.
64 rp='Try to use 64-bit integers, if available?'
67 [yY]*) val="$define" ;;
76 '') archname64='' ;; # not a typo
81 : Look for a hint-file generated 'call-back-unit'. If the
82 : user has specified that a 64-bit perl is to be built,
83 : we may need to set or change some other defaults.
84 if $test -f use64bits.cbu; then
85 echo "Your platform has some specific hints for 64-bit builds, using them..."
89 (Your platform doesn't have any specific hints for 64-bit builds.)
91 case "$intsize:$longsize" in
93 (This is probably okay, as your system is a natively 64-bit system.)
100 *-DUSE_LONG_LONG*) ;;
102 But since you seem to be using gcc, I will now add -DUSE_LONG_LONG
103 to the compilation flags.
105 ccflags="$ccflags -DUSE_LONG_LONG"