[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: isinf is a macro on HP-UX
From: |
Kevin Ryde |
Subject: |
Re: isinf is a macro on HP-UX |
Date: |
Fri, 28 May 2004 10:48:21 +1000 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
Andreas Vögele <address@hidden> writes:
>
> isinf is a macro on HP-UX. Currently, configure.in uses
> AC_CHECK_FUNCS, which checks for functions only, to check for
> isinf.
It's tempting to look only for an isinf macro in the C file. I wonder
if any systems have only a function version.
> I've attached a patch that replaces the current test with a
> test that includes math.h.
I guess the alternative is to leave configure alone and supplement the
result of the test with #ifdef isinf in the C file. Though I suppose
it's a bit disconcerting to see "no" in configure when one's libc docs
say isinf exists.