summaryrefslogtreecommitdiff
path: root/hints/hpux.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-09-01 12:13:03 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-09-01 14:13:18 -0400
commitc782ab84aeb2abcd3975b09cc4909b8488c3939e (patch)
tree1ab6e7852d6279416e966a069e4f7b1c5879007a /hints/hpux.sh
parent636a970bf2930ff403635f62b602c6750cb49207 (diff)
downloadperl-c782ab84aeb2abcd3975b09cc4909b8488c3939e.tar.gz
HP-UX: 10.X doesn't really have isfinite().
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r--hints/hpux.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 6ee7cdffbd..39150be73e 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -773,3 +773,10 @@ case "`grep 'double strtold.const' /usr/include/stdlib.h`" in
*) echo "Looks like your strtold() is non-standard..." >&4
d_strtold=undef ;;
esac
+
+# In pre-11 HP-UXes there really isn't isfinite(), despite what
+# Configure might think. (There is finite(), though.)
+case "`grep 'isfinite' /usr/include/math.h`" in
+*"isfinite"*) ;;
+*) d_isfinite=undef ;;
+esac