diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-03-31 08:24:02 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-03-31 08:24:18 -0700 |
commit | 711a72d3d6f8cd3c3f408e718ff19aa4bfd2144e (patch) | |
tree | 87513c7ddcc1337bf2e2fe85f3328ef4151c6d66 /gdb/top.c | |
parent | 518a69099cf8eca95a86c4d1ff4b8d8c30cf3c6b (diff) | |
download | gdb-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.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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\ |