From: Simon Marlow Date: Wed, 1 Jun 2011 08:58:21 +0000 (+0100) Subject: check for bfd_uncompress_section_contents instead of bfd_init, because X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=ef062308fb38b2cbbf30a0057bd839b5382648a4 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) --- 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