aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/configure.in')
-rw-r--r--binutils/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/configure.in b/binutils/configure.in
index d38b677..d0443cf 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -155,7 +155,7 @@ AC_CHECK_DECLS([fprintf, stpcpy, strstr, sbrk, getenv, environ, getc_unlocked,
# Link in zlib if we can. This allows us to read compressed debug
# sections. This is used only by readelf.c (objdump uses bfd for
# reading compressed sections).
-AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)])
+AM_ZLIB
BFD_BINARY_FOPEN