aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_bfd.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-03-31 08:24:02 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-03-31 08:24:18 -0700
commit711a72d3d6f8cd3c3f408e718ff19aa4bfd2144e (patch)
tree87513c7ddcc1337bf2e2fe85f3328ef4151c6d66 /gdb/gdb_bfd.c
parent518a69099cf8eca95a86c4d1ff4b8d8c30cf3c6b (diff)
downloadgdb-711a72d3d6f8cd3c3f408e718ff19aa4bfd2144e.zip
gdb-711a72d3d6f8cd3c3f408e718ff19aa4bfd2144e.tar.gz
gdb-711a72d3d6f8cd3c3f408e718ff19aa4bfd2144e.tar.bz2
Add --with-system-zlib in gdb
This patch adds --with-system-zlib and removes --with-zlib in gdb. * Makefile.in (ZLIB): New. (ZLIBINC): Likewise. (INTERNAL_CFLAGS_BASE): Add $(ZLIBINC). (CLIBS): Add $(ZLIB). * acinclude.m4: (GDB_AC_CHECK_BFD): Add $zlibdir to LDFLAGS. Add -lz to LIBS. * gdb_bfd.c: Don't check HAVE_ZLIB_H to include <zlib.h>. * top.c (print_gdb_configuration): Remove --with-zlib and --without-zlib. * config.in: Regenerated. * configure: Likewise.
Diffstat (limited to 'gdb/gdb_bfd.c')
-rw-r--r--gdb/gdb_bfd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c
index 3f89d3a..40874a8 100644
--- a/gdb/gdb_bfd.c
+++ b/gdb/gdb_bfd.c
@@ -24,9 +24,6 @@
#include "hashtab.h"
#include "filestuff.h"
#include "vec.h"
-#ifdef HAVE_ZLIB_H
-#include <zlib.h>
-#endif
#ifdef HAVE_MMAP
#include <sys/mman.h>
#ifndef MAP_FAILED