This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Continue largefileness separation from quadness;
[metaconfig.git] / U / perl / uselfs.U
CommitLineData
70674189
JH
1?RCS: $Id$
2?RCS:
3?RCS: Copyright (c) 1999 Jarkko Hietaniemi
4?RCS:
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.
7?RCS:
313cb6b3 8?MAKE:uselargefiles: Myread Oldconfig Setvar
70674189
JH
9?MAKE: -pick add $@ %<
10?Y:TOP
313cb6b3 11?S:uselargefiles:
70674189
JH
12?S: This variable conditionally defines the USE_LARGE_FILES symbol,
13?S: and indicates that large file interfaces should be used when
bbe95cfb 14?S: available. The use64bits symbol will also be turned on if necessary.
70674189
JH
15?S:.
16?C:USE_LARGE_FILES:
17?C: This symbol, if defined, indicates that large file support
18?C: should be used when available. The USE_64_BITS symbol will
bbe95cfb 19?C: also be turned on if necessary.
70674189 20?C:.
a38738d1
JH
21?H:?%<:#ifndef USE_LARGE_FILES
22?H:?%<:#$uselargefiles USE_LARGE_FILES /**/
23?H:?%<:#endif
70674189 24?H:.
313cb6b3 25?LINT:set uselargefiles
70674189
JH
26?LINT:extern use64bits
27?LINT:change use64bits
28
bbe95cfb
JH
29cat <<EOM
30
31Perl can be built to understand large files (files larger than 2 gigabytes)
313cb6b3 32on some systems. To do so, Configure must be run with -Duselargefiles.
bbe95cfb
JH
33
34If this doesn't make any sense to you, just accept the default.
35EOM
313cb6b3 36case "$uselargefiles" in
bbe95cfb
JH
37"$define"|true|[yY]*) dflt='y' ;;
38*) dflt='n' ;;
39esac
40rp='Try to understand large files?'
41. ./myread
42case "$ans" in
43y|Y) val="$define" ;;
44*) val="$undef" ;;
45esac
313cb6b3 46set uselargefiles
bbe95cfb 47eval $setvar
313cb6b3 48case "$uselargefiles" in
bbe95cfb 49"$define") use64bits="$define" ;;
70674189
JH
50esac
51