summaryrefslogtreecommitdiff
path: root/bfd/config.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-03-29 07:12:38 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-03-29 07:13:00 -0700
commit243340ad57e30de3c15cffe6e4af0381995f15d9 (patch)
treed8d22601296073d341535ae9b32336c069553b6e /bfd/config.in
parentea6b7543b422836409fe7848abbfcb452ad26398 (diff)
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 <zlib.h>. (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.
Diffstat (limited to 'bfd/config.in')
-rw-r--r--bfd/config.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/config.in b/bfd/config.in
index 96a3e74030..1ee1081752 100644
--- a/bfd/config.in
+++ b/bfd/config.in
@@ -271,9 +271,6 @@
/* Define to 1 if you have the <windows.h> header file. */
#undef HAVE_WINDOWS_H
-/* Define to 1 if you have the <zlib.h> header file. */
-#undef HAVE_ZLIB_H
-
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR