Use a more bulletproof test for whether finite() and isinf() are present.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jan 2006 19:23:41 +0000 (19:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jan 2006 19:23:41 +0000 (19:23 +0000)
commit693b1bf67ab6fb08cf4e7c84762060eb02ca0011
tree8a80a6db1b8d28bba923a38e22a5917d10f78e32
parenta778bbbfba7f8ce3ae7cef1d1d67a3700a5c361d
Use a more bulletproof test for whether finite() and isinf() are present.
It seems that recent gcc versions can optimize away calls to these functions
even when the functions do not exist on the platform, resulting in a bogus
positive result.  Avoid this by using a non-constant argument and ensuring
that the function result is not simply discarded.  Per report from
François Laupretre.
configure
configure.in