[PATCH 1/8] Add --with-system-zlib in bfd
Mike Frysinger
vapier@gentoo.org
Tue Mar 31 06:13:00 GMT 2015
On 26 Mar 2015 08:57, H.J. Lu wrote:
> --- a/bfd/configure.ac
> +++ b/bfd/configure.ac
>
> -# Link in zlib if we can. This allows us to read compressed debug sections.
> -# This is used only by compress.c.
> -AM_ZLIB
> +# Use the system's zlib library.
> +zlibdir=-L../zlib
> +zlibinc="-I\$(srcdir)/../zlib"
> +AC_ARG_WITH(system-zlib,
> +[AS_HELP_STRING([--with-system-zlib], [use installed libz])],
> +zlibdir=
> +zlibinc=
> +)
this is wrong. the 3rd arg is whether the option was specified, not that the
option was disabled. you need to check $withval is equal to "no" (or not equal
to "yes").
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20150331/93ca3852/attachment.sig>
More information about the Binutils
mailing list