This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix .gitignore: only ignore 'perl' in root of repo, not U/perl subdir
[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: \
2cb64bf6 9 Inlibc Setvar Compile rm_try cat fpossize
840deeaa
JH
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
840deeaa
JH
20: check for fpos64_t
21echo " "
22echo "Checking to see if you have fpos64_t..." >&4
23$cat >try.c <<EOCP
24#include <stdio.h>
25int main() { fpos64_t x = 7; }
26EOCP
27set try
28if eval $compile; then
29 val="$define"
30 echo "You have fpos64_t."
31else
32 val="$undef"
33 echo "You do not have fpos64_t."
34 case "$fpossize" in
35 8) echo "(Your fpos_t is 64 bits, so you could use that.)" ;;
36 esac
37fi
2cb64bf6 38$rm_try
840deeaa
JH
39set d_fpos64_t
40eval $setvar
41