3 ?RCS: Copyright (c) 2000 Jarkko Hietaniemi
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.
8 ?MAKE:d_isfinite: Inlibc cat i_math Compile rm_try Setvar
11 ?S: This variable conditionally defines the HAS_ISFINITE symbol, which
12 ?S: indicates to the C program that the isfinite() routine is available.
15 ?C: This symbol, if defined, indicates that the isfinite routine is
16 ?C: available to check whether a double is finite (non-infinity non-NaN).
19 ?H:#$d_isfinite HAS_ISFINITE /**/
22 echo "Checking to see if you have isfinite..." >&4
28 int main() { return isfinite(0.0); }
31 if eval $compile; then
33 echo "You have isfinite."
36 echo "You do not have isfinite."