[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strtod.c compilation failure on i386/Solaris 10
From: |
Jim Meyering |
Subject: |
Re: strtod.c compilation failure on i386/Solaris 10 |
Date: |
Sat, 12 Apr 2008 17:27:38 +0200 |
Eric Blake <address@hidden> wrote:
> According to Eric Blake on 4/12/2008 6:47 AM:
> | Aha. Solaris 10 has a buggy math.h - it defines NAN and HUGE_VAL
> | incorrectly (to the value of the builtin function address, and not the
> | result of calling the function), which totally explains the compiler error
> | message.
>
> I'm committing this. Can you give it a try?
Thanks. Didn't work.
This might help ;-) Just pushed.
Trying again...
* m4/math_h.m4 (gl_MATH_H): Fix typos.
diff --git a/m4/math_h.m4 b/m4/math_h.m4
index 3090b6e..1e67652 100644
--- a/m4/math_h.m4
+++ b/m4/math_h.m4
@@ -1,4 +1,4 @@
-# math_h.m4 serial 10
+# math_h.m4 serial 11
dnl Copyright (C) 2007-2008 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@ AC_DEFUN([gl_MATH_H],
return f == 0;]])],
[gl_cv_header_math_nan_works=yes],
[gl_cv_header_math_nan_works=no])])
- if test gl_cv_header_math_nan_works = no; then
+ if test $gl_cv_header_math_nan_works = no; then
REPLACE_NAN=1
fi
AC_CACHE_CHECK([whether HUGE_VAL works], [gl_cv_header_math_huge_val_works],
@@ -30,7 +30,7 @@ AC_DEFUN([gl_MATH_H],
return d == 0;]])],
[gl_cv_header_math_huge_val_works=yes],
[gl_cv_header_math_huge_val_works=no])])
- if test gl_cv_header_math_huge_val_works = no; then
+ if test $gl_cv_header_math_huge_val_works = no; then
REPLACE_HUGE_VAL=1
fi
])
--
1.5.5.41.gc63d7
- strtod.c compilation failure on i386/Solaris 10, Jim Meyering, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Simon Josefsson, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Eric Blake, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Jim Meyering, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Eric Blake, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Eric Blake, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10,
Jim Meyering <=
- Re: strtod.c compilation failure on i386/Solaris 10, Jim Meyering, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Bruno Haible, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Jim Meyering, 2008/04/12
- Re: strtod.c compilation failure on i386/Solaris 10, Eric Blake, 2008/04/12