From 0ee42ecde7aadb3e68ae5b944f7b1b6a859ebcfd Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 31 Mar 2015 03:53:41 -0700 Subject: Add --with-system-zlib in binutils This patch adds --with-system-zlib and remove --with-zlib in binutils. * Makefile.am (ZLIB): New. (ZLIBINC): Likewise. (AM_CFLAGS): Add $(ZLIBINC). (readelf_LDADD): Add $(ZLIB). * configure.ac (AM_ZLIB): Removed. (zlibdir): New. AC_SUBST. (zlibinc): Likewise. Add --with-system-zlib. * readelf.c: Don't check HAVE_ZLIB_H to include . (uncompress_section_contents): Don't check HAVE_ZLIB_H. * Makefile.in: Regenerated. * config.in: Likewise. * configure: Likewise. --- binutils/config.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'binutils/config.in') diff --git a/binutils/config.in b/binutils/config.in index a0ed034..5174d3e 100644 --- a/binutils/config.in +++ b/binutils/config.in @@ -180,9 +180,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H -/* Define to 1 if you have the header file. */ -#undef HAVE_ZLIB_H - /* Define as const if the declaration of iconv() needs const. */ #undef ICONV_CONST -- cgit v1.1