frexpl: Update autoconf test.
authorBruno Haible <bruno@clisp.org>
Sun, 31 Jul 2011 22:33:56 +0000 (00:33 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 31 Jul 2011 22:33:56 +0000 (00:33 +0200)
* m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Update overrides of <float.h>,
according to changes of 2011-06-20.

ChangeLog
m4/frexpl.m4

index 5ed267e..a3937cc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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.
        * lib/sys_utsname.in.h [Minix]: Include <stddef.h> before
        <sys/utsname.h>.
index 2e8c681..5843fa2 100644 (file)
@@ -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 @@ AC_DEFUN([gl_FUNC_FREXPL_WORKS],
 # 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"