From 243340ad57e30de3c15cffe6e4af0381995f15d9 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 29 Mar 2015 07:12:38 -0700 Subject: Add --with-system-zlib in bfd This patch adds --with-system-zlib and remove --with-zlib in bfd. * Makefile.am (ZLIB): New. (ZLIBINC): Likewise. (AM_CFLAGS): Add $(ZLIBINC). (libbfd_la_LIBADD): Add $(ZLIB). * compress.c: Don't check HAVE_ZLIB_H to include . (decompress_contents): Don't check HAVE_ZLIB_H. (decompress_contents): Likewise. (bfd_compress_section_contents): Likewise. (bfd_get_full_section_contents): Likewise. (bfd_init_section_decompress_status): Likewise. (bfd_init_section_compress_status): Likewise. * configure.ac (AM_ZLIB): Removed (zlibdir): New. AC_SUBST. (zlibinc): Likewise. Add --with-system-zlib. * Makefile.in: Regenerated. * acinclude.m4: Likewise. * config.in: Likewise. * configure: Likewise. * doc/Makefile.in: Likewise. --- bfd/config.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'bfd/config.in') diff --git a/bfd/config.in b/bfd/config.in index 96a3e74..1ee1081 100644 --- a/bfd/config.in +++ b/bfd/config.in @@ -271,9 +271,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 to the sub-directory in which libtool stores uninstalled libraries. */ #undef LT_OBJDIR -- cgit v1.1