This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/8] Add --with-system-zlib in bfd


On Thu, Mar 26, 2015 at 8:57 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> I imported zlib from GCC.  This patch adds --with-system-zlib and remove
> --with-zlib in bfd.  OK for master?
>
> Thanks.
>
>
> H.J.
> ---
>         * 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.

I will check in this patch shortly.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]