Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: Binutils <binutils@sourceware.org>,
	GDB <gdb-patches@sourceware.org>,
	GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: PATCH: Update --with-system-zlib
Date: Wed, 01 Apr 2015 16:54:00 -0000	[thread overview]
Message-ID: <20150401165431.GL25224@vapier> (raw)
In-Reply-To: <CAMe9rOpDXyqznHsk_kTBqRtTFXogWNrNK40jJ5WmiA30=ZYyCg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 928 bytes --]

On 01 Apr 2015 05:04, H.J. Lu wrote:
> --- a/config/zlib.m4
> +++ b/config/zlib.m4
> @@ -9,8 +9,10 @@ AC_DEFUN([AM_ZLIB],
>    zlibinc="-I\$(srcdir)/../zlib"
>    AC_ARG_WITH(system-zlib,
>    [AS_HELP_STRING([--with-system-zlib], [use installed libz])],
> -  zlibdir=
> -  zlibinc=
> +  if test x$with_system_zlib = xyes ; then
> +    zlibdir=
> +    zlibinc=
> +  fi
>    )

this is inside the 3rd arg, so normally you check $withval.  this code will 
still work as the generated shell does:
if test "${with_system_zlib+set}" = set; then :
  withval=$with_system_zlib; [3rd arg content]
fi

>  bfd/ChangeLog      | 4 ++++
>  bfd/configure      | 6 ++++--
>  binutils/ChangeLog | 4 ++++
>  binutils/configure | 6 ++++--
>  gas/ChangeLog      | 4 ++++
>  gas/configure      | 6 ++++--
>  gdb/ChangeLog      | 4 ++++
>  gdb/configure      | 6 ++++--

you need to regenerate the sim tree too
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-04-01 16:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 12:04 H.J. Lu
2015-04-01 16:54 ` Mike Frysinger [this message]
2015-04-01 17:05   ` Bernhard Reutner-Fischer
2015-04-01 17:17     ` Mike Frysinger
2015-04-01 17:17   ` H.J. Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150401165431.GL25224@vapier \
    --to=vapier@gentoo.org \
    --cc=binutils@sourceware.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=hjl.tools@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox