This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Even better use64bitall logic.
[metaconfig.git] / U / perl / d_fpos64_t.U
CommitLineData
840deeaa
JH
1?RCS: $Id$
2?RCS:
3?RCS: Copyright (c) 2000 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:
8?MAKE:d_fpos64_t: \
9 Inlibc Setvar Compile rm cat fpossize
10?MAKE: -pick add $@ %<
11?S:d_fpos64_t:
12?S: This symbol will be defined if the C compiler supports fpos64_t.
13?S:.
14?C:HAS_FPOS64_T:
15?C: This symbol will be defined if the C compiler supports fpos64_t.
16?C:.
17?H:#$d_fpos64_t HAS_FPOS64_T /**/
18?H:.
19?LINT:set d_fpos64_t
20
21: check for fpos64_t
22echo " "
23echo "Checking to see if you have fpos64_t..." >&4
24$cat >try.c <<EOCP
25#include <stdio.h>
26int main() { fpos64_t x = 7; }
27EOCP
28set try
29if eval $compile; then
30 val="$define"
31 echo "You have fpos64_t."
32else
33 val="$undef"
34 echo "You do not have fpos64_t."
35 case "$fpossize" in
36 8) echo "(Your fpos_t is 64 bits, so you could use that.)" ;;
37 esac
38fi
39$rm -f try.* try
40set d_fpos64_t
41eval $setvar
42