Eric Blake <[EMAIL PROTECTED]> 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