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
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_try 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 : check for fpos64_t
21 echo " "
22 echo "Checking to see if you have fpos64_t..." >&4
23 $cat >try.c <<EOCP
24 #include <stdio.h>
25 int main() { fpos64_t x = 7; }
26 EOCP
27 set try
28 if eval $compile; then
29         val="$define"
30         echo "You have fpos64_t."
31 else
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
37 fi
38 $rm_try
39 set d_fpos64_t
40 eval $setvar
41