From Craig Silverstein: Add support for compressing .debug_str section.
[deliverable/binutils-gdb.git] / gold / configure.ac
index e230b5f55bcfec3711f8ae2115ac595cc719ea6a..ea4fd675bd9e31057037788deb4379a6222b1b8d 100644 (file)
@@ -202,6 +202,9 @@ AC_SUBST(LFS_CXXFLAGS)
 
 AC_REPLACE_FUNCS(pread)
 
+# Link in zlib if we can.  This allows us to write compressed sections.
+AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)])
+
 AC_LANG_PUSH(C++)
 
 AC_CHECK_HEADERS(tr1/unordered_set tr1/unordered_map)
This page took 0.025224 seconds and 4 git commands to generate.