bfd/
[deliverable/binutils-gdb.git] / binutils / configure.in
index fa0cee3a8523c3ea733e2ba9e7fa24a392ce37f5..d6dcea849a588caacfb0dbd50e1ae2605c1e9647 100644 (file)
@@ -182,6 +182,11 @@ fi
 AC_CHECK_DECLS([fprintf, stpcpy, strstr, sbrk, getenv, environ, getc_unlocked,
                snprintf, vsnprintf])
 
+# 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)])
+
 BFD_BINARY_FOPEN
 
 # target-specific stuff:
This page took 0.031381 seconds and 4 git commands to generate.