This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Installdirs patches from Andy.
[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:.
313cb6b3 21?H:#$uselargefiles USE_LARGE_FILES /**/
70674189 22?H:.
313cb6b3 23?LINT:set uselargefiles
70674189
JH
24?LINT:extern use64bits
25?LINT:change use64bits
26
bbe95cfb
JH
27cat <<EOM
28
29Perl can be built to understand large files (files larger than 2 gigabytes)
313cb6b3 30on some systems. To do so, Configure must be run with -Duselargefiles.
bbe95cfb
JH
31
32If this doesn't make any sense to you, just accept the default.
33EOM
313cb6b3 34case "$uselargefiles" in
bbe95cfb
JH
35"$define"|true|[yY]*) dflt='y' ;;
36*) dflt='n' ;;
37esac
38rp='Try to understand large files?'
39. ./myread
40case "$ans" in
41y|Y) val="$define" ;;
42*) val="$undef" ;;
43esac
313cb6b3 44set uselargefiles
bbe95cfb 45eval $setvar
313cb6b3 46case "$uselargefiles" in
bbe95cfb 47"$define") use64bits="$define" ;;
70674189
JH
48esac
49