[Python-Dev] Re: Possible bug (was Re: numpy, overflow, inf, ieee, and rich comparison)

Andrew Kuchling akuchlin@mems-exchange.org
Wed, 11 Oct 2000 10:32:23 -0400


On Wed, Oct 11, 2000 at 10:25:32AM -0500, Guido van Rossum wrote:
>1.5.2 links with -lieee while 2.0 doesn't.  
>Next question: what changed in the configure script, and why?

The patch from revisions 1.138 to 1.139 of configure.in is:

853c1139,1142
< AC_CHECK_LIB(ieee, __fpu_control)
---
> AC_CHECK_FUNC(__fpu_control,
>   [],
>   [AC_CHECK_LIB(ieee, __fpu_control)
> ])

The check-in comment is "Only link with -lieee when it's necessary".
If it only checks for -lieee when the __fpu_control function is
defined, perhaps the function disappeared in glibc 2.1.

--amk