From ef062308fb38b2cbbf30a0057bd839b5382648a4 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 1 Jun 2011 09:58:21 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4