[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: configure doesn't check for clog and csqrt
From: |
Ludovic Courtès |
Subject: |
Re: configure doesn't check for clog and csqrt |
Date: |
Thu, 12 Oct 2006 14:34:02 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Hi,
Kevin Ryde <address@hidden> writes:
> address@hidden (Ludovic Courtès) writes:
>>
>> Han-Wen Nienhuys <address@hidden> writes:
>>
>>> Apparently, in GUILE-1.8.1 configure doesn't check for clog and csqrt().
>>> This leads to problems on Freebsd 4.1, as the libc there doesn't
>>> support both functions.
>>
>> Does it provide them in some other library, like `-lm'?
>
> (There's a test, it assumes there presence of "complex double" means
> the complex funcs exist ...)
So what? :-)
My understanding of Han-Wen's report is that FreeBSD has `complex
double' but does not provide `clog ()' et al. as part of its libc.
Thus, checking for the presence of those functions may be necessary
_even if_ complex doubles are available.
C99 (Section 7) does not seem to say whether these functions have to be
in libc.
Thanks,
Ludovic.