changeset 13675:a973123e4b73

float: fix broken MirBSD header * m4/float_h.m4 (gl_FLOAT_H): MirBSD copied OpenBSD's bug. * doc/posix-headers/float.texi (float.h): Document it. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Mon, 13 Sep 2010 14:33:22 -0600
parents 5c447be5815d
children 223800d7ac7d
files ChangeLog doc/posix-headers/float.texi m4/float_h.m4
diffstat 3 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-13  Eric Blake  <eblake@redhat.com>
+
+	float: fix broken MirBSD header
+	* m4/float_h.m4 (gl_FLOAT_H): MirBSD copied OpenBSD's bug.
+	* doc/posix-headers/float.texi (float.h): Document it.
+
 2010-09-13  Paul Eggert  <eggert@cs.ucla.edu>
 
 	fts: use O_NOFOLLOW to avoid race condition when opening a directory
--- a/doc/posix-headers/float.texi
+++ b/doc/posix-headers/float.texi
@@ -9,7 +9,7 @@
 @itemize
 @item
 The values of @code{LDBL_*} macros are incorrect on some platforms:
-On OpenBSD 4.0 and BeOS, they are the same as the values of the
+On OpenBSD 4.0, MirBSD 10, and BeOS, they are the same as the values of the
 @code{DBL_*} macros, although @samp{long double} is a larger type than
 @samp{double}.
 @end itemize
--- a/m4/float_h.m4
+++ b/m4/float_h.m4
@@ -1,4 +1,4 @@
-# float_h.m4 serial 3
+# float_h.m4 serial 4
 dnl Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -10,7 +10,7 @@
   AC_REQUIRE([AC_CANONICAL_HOST])
   FLOAT_H=
   case "$host_os" in
-    beos* | openbsd*)
+    beos* | openbsd* | mirbsd*)
       FLOAT_H=float.h
       gl_CHECK_NEXT_HEADERS([float.h])
       ;;