diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-08-18 08:56:48 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-08-20 09:33:10 -0400 |
commit | 4c20d4c935c843f71412e6763e9c2c32c8e0c576 (patch) | |
tree | a3b00e8648de70fe7e654ff39895ed3714b49345 /hints/darwin.sh | |
parent | 4efd38a49acddd858e6fa57ad6f55eca523d0829 (diff) | |
download | perl-4c20d4c935c843f71412e6763e9c2c32c8e0c576.tar.gz |
OSX does have isfinite(), and 10.9+ prefers it over finite().
isfinite() is a macro+inline while Configure tests it as a library symbol.
Diffstat (limited to 'hints/darwin.sh')
-rw-r--r-- | hints/darwin.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh index 7c3f818419..724fb361b5 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -24,6 +24,15 @@ case "$osvers" in ;; esac +# finite() deprecated in 10.9, use isfinite() instead. +case "$osvers" in +[1-8].*) ;; +*) d_finite='undef' ;; +esac + +# The Configure checks isfinite as libc symbol, but it is a macro+inline. +d_isfinite='define' + # This was previously used in all but causes three cases # (no -Ddprefix=, -Dprefix=/usr, -Dprefix=/some/thing/else) # but that caused too much grief. |