[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mingw and isnanl
From: |
Bruno Haible |
Subject: |
Re: mingw and isnanl |
Date: |
Wed, 13 Jun 2007 03:37:21 +0200 |
User-agent: |
KMail/1.5.4 |
Eric Blake wrote:
> The problem is not a native compile, but a cross-compile ... I guess my
> original complaint should have made that more explicit.
Indeed. It was hard to guess so, while you were talking about failed tests
and 'fpclassify' results :-)
> configure:15398: checking whether isnanl works
> configure:15550: result: guessing yes
The appended patch fixes it: it yields
checking whether isnanl works... guessing no
2007-06-12 Bruno Haible <address@hidden>
* m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Guess no when cross-compiling
to ia64, x86_64, i386.
Reported by Eric Blake.
*** m4/isnanl.m4 6 Jun 2007 02:02:42 -0000 1.7
--- m4/isnanl.m4 13 Jun 2007 01:28:58 -0000
***************
*** 1,4 ****
! # isnanl.m4 serial 4
dnl Copyright (C) 2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
--- 1,4 ----
! # isnanl.m4 serial 5
dnl Copyright (C) 2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
***************
*** 200,208 ****
return 0;
}], [gl_cv_func_isnanl_works=yes], [gl_cv_func_isnanl_works=no],
! [case "$host_os" in
! netbsd*) gl_cv_func_isnanl_works="guessing no";;
! *) gl_cv_func_isnanl_works="guessing yes";;
esac
])
])
--- 200,214 ----
return 0;
}], [gl_cv_func_isnanl_works=yes], [gl_cv_func_isnanl_works=no],
! [case "$host_cpu" in
! # Guess no on ia64, x86_64, i386.
! ia64 | x86_64 | i*86) gl_cv_func_isnanl_works="guessing no";;
! *)
! case "$host_os" in
! netbsd*) gl_cv_func_isnanl_works="guessing no";;
! *) gl_cv_func_isnanl_works="guessing yes";;
! esac
! ;;
esac
])
])