Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/ef062308fb38b2cbbf30a0057bd839b5382648a4

>---------------------------------------------------------------

commit ef062308fb38b2cbbf30a0057bd839b5382648a4
Author: Simon Marlow <[email protected]>
Date:   Wed Jun 1 09:58:21 2011 +0100

    check for bfd_uncompress_section_contents instead of bfd_init, because
    the former will fail if libbfd is a static library and has a libz
    dependency that we don't know about (#3756)

>---------------------------------------------------------------

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2de4d8a..b634bbf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -782,7 +782,7 @@ fi
 dnl ** check whether this machine has BFD and liberty installed (used for 
debugging)
 dnl    the order of these tests matters: bfd needs liberty
 AC_CHECK_LIB(iberty, xmalloc)
-AC_CHECK_LIB(bfd,    bfd_init)
+AC_CHECK_LIB(bfd,    bfd_uncompress_section_contents)
 
 dnl ################################################################
 dnl Check for libraries



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to