summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-06-01 09:58:21 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-06-01 10:56:05 +0100
commitef062308fb38b2cbbf30a0057bd839b5382648a4 (patch)
tree87ac5ead048e6385eee8380ec6b71930af34b514 /configure.ac
parent02c4f41730b234728a408bbf29607d0345d2b481 (diff)
downloadhaskell-ef062308fb38b2cbbf30a0057bd839b5382648a4.tar.gz
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)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2de4d8ad48..b634bbfb26 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