summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-07-27 21:03:04 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2000-07-27 21:03:04 +0000
commitbe28f5b2a2ad5dd504d3b1e4a670f67753dc8a31 (patch)
tree051a5925a9d7d92881f3816c4cea11370c19dd30 /configure.in
parent518e55c7f22e43d5f9c242edf5173155baf03f4f (diff)
downloadcpython-git-be28f5b2a2ad5dd504d3b1e4a670f67753dc8a31.tar.gz
Gregor Hoffleit: Don't link with the libieee library if it's not necessary
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 7a819e4140..e44a3bedc7 100644
--- a/configure.in
+++ b/configure.in
@@ -1011,7 +1011,10 @@ AC_SUBST(HAVE_GETHOSTBYNAME)
# (none yet)
# Linux requires this for correct f.p. operations
-AC_CHECK_LIB(ieee, __fpu_control)
+AC_CHECK_FUNC(__fpu_control,
+ [],
+ [AC_CHECK_LIB(ieee, __fpu_control)
+])
# Check for --with-fpectl
AC_MSG_CHECKING(for --with-fpectl)