+ dnl Also check whether it's declared.
+ dnl IRIX 6.5 has fmaf() in libm but doesn't declare it in <math.h>,
+ dnl and the function is likely buggy.
+ AC_CHECK_DECL([fmaf], , [REPLACE_FMAF=1], [[#include <math.h>]])
+ if test $REPLACE_FMAF = 0; then
+ gl_FUNC_FMAF_WORKS
+ case "$gl_cv_func_fmaf_works" in
+ *no) REPLACE_FMAF=1 ;;
+ esac
+ fi