aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.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/top.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/top.c')
-rw-r--r--gdb/top.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/top.c b/gdb/top.c
index b15c06b..647d9fb 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1316,15 +1316,6 @@ This GDB was configured as follows:\n\
fprintf_filtered (stream, _("\
--with-system-gdbinit=%s%s\n\
"), SYSTEM_GDBINIT, SYSTEM_GDBINIT_RELOCATABLE ? " (relocatable)" : "");
-#if HAVE_ZLIB_H
- fprintf_filtered (stream, _("\
- --with-zlib\n\
-"));
-#else
- fprintf_filtered (stream, _("\
- --without-zlib\n\
-"));
-#endif
#if HAVE_LIBBABELTRACE
fprintf_filtered (stream, _("\
--with-babeltrace\n\