2 # This function determins if the the HUGE_VAL macro is compilable with the
3 # -pedantic switch or not. XCode < 2.4.1 doesn't get it right.
5 AC_DEFUN([AC_HUGE_VAL_CHECK],[
6 AC_CACHE_CHECK([for HUGE_VAL sanity], [ac_cv_huge_val_sanity],[
12 [double x = HUGE_VAL; return x != x; ]),
13 [ac_cv_huge_val_sanity=yes],[ac_cv_huge_val_sanity=no],
14 [ac_cv_huge_val_sanity=yes])
17 AC_SUBST(HUGE_VAL_SANITY,$ac_cv_huge_val_sanity)