]> Savannah Git Hosting - gnulib.git/commitdiff
float: Fix 'float' and 'isinf' failures on DragonFly BSD.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Jun 2017 23:57:02 +0000 (01:57 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Jun 2017 23:57:02 +0000 (01:57 +0200)
* m4/fmal.m4, m4/frexpl.m4, m4/logbl.m4: Update accordingly.

ChangeLog
m4/fmal.m4
m4/frexpl.m4
m4/logbl.m4

index 1cd8cbf44e41caca7f3c804f158ea899a7753671..487102520451aded246d49c058e2f2b495ecbcb8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        float: Fix 'float' and 'isinf' failures on DragonFly BSD.
        * m4/float_h.m4 (gl_FLOAT_H): Treat DragonFly BSD like FreeBSD.
        * lib/float.in.h: Likewise.
+       * m4/fmal.m4, m4/frexpl.m4, m4/logbl.m4: Update accordingly.
 
 2017-06-11  Bruno Haible  <bruno@clisp.org>
 
index a8e43bdc2b35634b79d69cf09878f270d980d8a9..eb8dc1a0623e1e15058094baf6a52886dd4c4b4b 100644 (file)
@@ -1,4 +1,4 @@
-# fmal.m4 serial 4
+# fmal.m4 serial 5
 dnl Copyright (C) 2011-2017 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -88,7 +88,7 @@ AC_DEFUN([gl_FUNC_FMAL_WORKS],
 # undef LDBL_MAX_EXP
 # define LDBL_MAX_EXP    16384
 #endif
-#if defined __i386__ && defined __FreeBSD__
+#if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__)
 # undef LDBL_MANT_DIG
 # define LDBL_MANT_DIG   64
 # undef LDBL_MIN_EXP
index e6a1bed1f7dea0a06f70ff81db50abde542987a4..717aec01608ca127198af9992f15a27bfb498ed7 100644 (file)
@@ -1,4 +1,4 @@
-# frexpl.m4 serial 20
+# frexpl.m4 serial 21
 dnl Copyright (C) 2007-2017 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -131,7 +131,7 @@ AC_DEFUN([gl_FUNC_FREXPL_WORKS],
 # undef LDBL_MIN_EXP
 # define LDBL_MIN_EXP    (-16381)
 #endif
-#if defined __i386__ && defined __FreeBSD__
+#if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__)
 # undef LDBL_MIN_EXP
 # define LDBL_MIN_EXP    (-16381)
 #endif
index 553e5bd4e471c33357a48e6af0a12dccd58dfdb2..db0a36d5edcbd21ab46ccd6d7671884a170079d3 100644 (file)
@@ -1,4 +1,4 @@
-# logbl.m4 serial 1
+# logbl.m4 serial 2
 dnl Copyright (C) 2012-2017 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -71,7 +71,7 @@ AC_DEFUN([gl_FUNC_LOGBL_WORKS],
 # undef LDBL_MIN_EXP
 # define LDBL_MIN_EXP    (-16381)
 #endif
-#if defined __i386__ && defined __FreeBSD__
+#if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__)
 # undef LDBL_MIN_EXP
 # define LDBL_MIN_EXP    (-16381)
 #endif