changeset 15490:2aa19fbd074d

frexpl: Update autoconf test. * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Update overrides of <float.h>, according to changes of 2011-06-20.
author Bruno Haible <bruno@clisp.org>
date Mon, 01 Aug 2011 00:33:56 +0200
parents 0377e22dd6c8
children 51661422d6f2
files ChangeLog m4/frexpl.m4
diffstat 2 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-31  Bruno Haible  <bruno@clisp.org>
+
+	frexpl: Update autoconf test.
+	* m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Update overrides of <float.h>,
+	according to changes of 2011-06-20.
+
 2011-07-31  Bruno Haible  <bruno@clisp.org>
 
 	sys_utsname: Add support for Minix.
--- a/m4/frexpl.m4
+++ b/m4/frexpl.m4
@@ -1,4 +1,4 @@
-# frexpl.m4 serial 15
+# frexpl.m4 serial 16
 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -115,6 +115,20 @@
 # undef LDBL_MIN_EXP
 # define LDBL_MIN_EXP    (-16381)
 #endif
+#if defined __i386__ && defined __FreeBSD__
+# undef LDBL_MIN_EXP
+# define LDBL_MIN_EXP    (-16381)
+#endif
+#if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__
+# undef LDBL_MIN_EXP
+# define LDBL_MIN_EXP DBL_MIN_EXP
+#endif
+#if defined __sgi && (LDBL_MANT_DIG >= 106)
+# if defined __GNUC__
+#  undef LDBL_MIN_EXP
+#  define LDBL_MIN_EXP DBL_MIN_EXP
+# endif
+#endif
 extern
 #ifdef __cplusplus
 "C"