| 1 | ?RCS: $Id$ |
| 2 | ?RCS: |
| 3 | ?RCS: Copyright (c) 1998 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_ftello: Inlibc longsize |
| 9 | ?MAKE: -pick add $@ %< |
| 10 | ?S:d_ftello: |
| 11 | ?S: This variable conditionally defines the HAS_FTELLO symbol, which |
| 12 | ?S: indicates to the C program that the ftello() routine is available. |
| 13 | ?S:. |
| 14 | ?C:HAS_FTELLO: |
| 15 | ?C: This symbol, if defined, indicates that the ftello routine is |
| 16 | ?C: available to ftell beyond 32 bits (useful for ILP32 hosts). |
| 17 | ?C:. |
| 18 | ?H:#$d_ftello HAS_FTELLO /**/ |
| 19 | ?H:. |
| 20 | ?LINT:set d_ftello |
| 21 | : see if ftello exists |
| 22 | set ftello d_ftello |
| 23 | eval $inlibc |
| 24 | case "$longsize" in |
| 25 | 8) echo "(Your long is 64 bits, so you could use ftell.)" ;; |
| 26 | esac |
| 27 | |