On Tue, Mar 31, 2015 at 4:51 AM, H.J. Lu wrote: > On Tue, Mar 31, 2015 at 04:27:12AM -0700, H.J. Lu wrote: >> This patch adds --with-system-zlib and removes --with-zlib in gdb. >> OK for master? >> Here is the patch for updated zlib.m4. OK for master? -- H.J. --- 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 -lz to LIBS. * gdb_bfd.c: Don't check HAVE_ZLIB_H to include . * top.c (print_gdb_configuration): Remove --with-zlib and --without-zlib. * config.in: Regenerated. * configure: Likewise.