From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21292 invoked by alias); 1 Apr 2015 16:54:32 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 21237 invoked by uid 89); 1 Apr 2015 16:54:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 01 Apr 2015 16:54:31 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id E8A54340897; Wed, 1 Apr 2015 16:54:28 +0000 (UTC) Date: Wed, 01 Apr 2015 16:54:00 -0000 From: Mike Frysinger To: "H.J. Lu" Cc: Binutils , GDB , GCC Patches Subject: Re: PATCH: Update --with-system-zlib Message-ID: <20150401165431.GL25224@vapier> Mail-Followup-To: "H.J. Lu" , Binutils , GDB , GCC Patches References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="H83aLI5Lttn3Hg7B" Content-Disposition: inline In-Reply-To: X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00063.txt.bz2 --H83aLI5Lttn3Hg7B Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 916 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=3D"-I\$(srcdir)/../zlib" > AC_ARG_WITH(system-zlib, > [AS_HELP_STRING([--with-system-zlib], [use installed libz])], > - zlibdir=3D > - zlibinc=3D > + if test x$with_system_zlib =3D xyes ; then > + zlibdir=3D > + zlibinc=3D > + fi > ) this is inside the 3rd arg, so normally you check $withval. this code will= =20 still work as the generated shell does: if test "${with_system_zlib+set}" =3D set; then : withval=3D$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 --H83aLI5Lttn3Hg7B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVHCLHAAoJEEFjO5/oN/WBnLIQAKZCLNh8aVZHvLdOIWjeewUK wMe38hMA3pHGt0DPNbS1gDFQn2HyTfvOfVBg3Ue5wB/LsV4psatEEGZDoWRdrFDt gYhXftnTvRXdBFcPVM4CP4lbHdYOyL80LHQoecApDoX/6734QdtesZi4EC509+U3 G8A5VJKmxr9AsomfaHuObtiYAKm9fIVgNVfIKIxoGtnABOPxmkobeR59vKmRfqo5 z0JYvpkko5BJdhEAJncoJ5IWRxjg/ZTfRf360qkl7Q9cD1lrumBw2vdUKLI0S9Wb q9WYGMLbfgrLM2LVDIPZ0SUxUTGaTnn5L3bRjIbkPV7yUqDkEiJgxJ4rhXsJ7OVE oLVmi3ItzeNUpONaD2UaSxnpJcVZddorejBp3i5bxwtE1RfqRs0FnsnPzgf/+rdE 14fo23FtvMg0x+6brzlvtKhlZLIEiYmoqRmW6Oel3ak0S/GooiJ9f+TQWfIIhy6u Lm1t4moJfgjdmNJxQIIbe8hQBbn/CTqa7Ylr22eydCsoyen4QbxqIbuU7S3qzwQE ISADv15UePYBdFMfdOgnssCFoPHCS02FzW7aRTqart7wtUwAHs3bo4DM/eLigoU/ hj3EtQsEE5g9ohQJTnHMHQh4DZ8ftxtsFdFhO4scuCB1BGZaJ16lNEK4sVEV0r7A QUO5mv39x/4Je+gwdZKb =3F6G -----END PGP SIGNATURE----- --H83aLI5Lttn3Hg7B--