#4155: HAVE_LIBM test doesn't work
-----------------------+----------------------------------------------------
Reporter: donn | Owner:
Type: bug | Status: new
Priority: normal | Component: Build System
Version: 6.12.3 | Keywords:
Os: Other | Testcase:
Architecture: x86 | Failure: Building GHC failed
-----------------------+----------------------------------------------------
The AC_SEARCH_LIBS test in configure.ac will always set HAVE_LIBM=1,
whether the platform supports -lm or not. It's really testing whether
atan works, and it will indeed normally work -- the question is just
whether it requires an explicit -lm. The mechanics of this can be seen in
the generated configure script: look for "none required".
The preceding test for HAVE_MINGWEX does work, and of course that formula
works for HAVE_LIBM too.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4155>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs