]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
fmaf: Remove support for IRIX.
authorBruno Haible <bruno@clisp.org>
Wed, 10 Sep 2025 20:59:14 +0000 (22:59 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 10 Sep 2025 20:59:14 +0000 (22:59 +0200)
* m4/fmaf.m4 (gl_FUNC_FMAF): Don't test whether fmaf is declared.

ChangeLog
m4/fmaf.m4

index 013c047355b26a02c4a8553945487ca0b3cc7cca..c17ab474fd2d7ca808e776970aafae35b1e64ff6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2025-09-10  Bruno Haible  <bruno@clisp.org>
 
+       fmaf: Remove support for IRIX.
+       * m4/fmaf.m4 (gl_FUNC_FMAF): Don't test whether fmaf is declared.
+
        fma: Remove support for IRIX.
        * m4/fma.m4 (gl_FUNC_FMA): Don't test whether fma is declared.
 
index ac6d14e18c67e5283ca44b0dc35577db12097e96..d842f5ff77d5df22832fbe862becaee4eb80c267 100644 (file)
@@ -1,5 +1,5 @@
 # fmaf.m4
-# serial 10
+# serial 11
 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -23,16 +23,10 @@ AC_DEFUN([gl_FUNC_FMAF],
     ])
   if test $gl_cv_func_fmaf_no_libm = yes \
      || test $gl_cv_func_fmaf_in_libm = yes; then
-    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
+    gl_FUNC_FMAF_WORKS
+    case "$gl_cv_func_fmaf_works" in
+      *no) REPLACE_FMAF=1 ;;
+    esac
   else
     HAVE_FMAF=0
   fi