Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 814884196F4 for ; Wed, 12 May 2010 10:00:49 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.89 X-Spam-Level: X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c5YNE1cy4jBj for ; Wed, 12 May 2010 10:00:39 -0700 (PDT) Received: from tarap.cc.columbia.edu (tarap.cc.columbia.edu [128.59.29.7]) by olra.theworths.org (Postfix) with ESMTP id 1157B4196F0 for ; Wed, 12 May 2010 10:00:38 -0700 (PDT) Received: from servo.finestructure.net (cpe-72-227-128-66.nyc.res.rr.com [72.227.128.66]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by tarap.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o4CH0Vgg020965 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Wed, 12 May 2010 13:00:32 -0400 (EDT) Received: from jrollins by servo.finestructure.net with local (Exim 4.71) (envelope-from ) id 1OCFIM-000716-Om; Wed, 12 May 2010 13:00:30 -0400 From: Jameson Rollins To: Nelson Elhage , notmuch@notmuchmail.org Subject: Re: [PATCH] configure: Respect LDFLAGS from the environment. In-Reply-To: <1273682752-19140-1-git-send-email-nelhage@ksplice.com> References: <1273682752-19140-1-git-send-email-nelhage@ksplice.com> User-Agent: Notmuch/0.3.1-18-gaf7aad2 (http://notmuchmail.org) Emacs/23.1.1 (i486-pc-linux-gnu) Date: Wed, 12 May 2010 13:00:27 -0400 Message-ID: <87wrv9caxg.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.68 on 128.59.29.7 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 17:00:49 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Wed, 12 May 2010 12:45:52 -0400, Nelson Elhage wro= te: > The configure usage string documents that it respects LDFLAGS, but > currently it doesn't do anything with the configure-time LDFLAGS > value. > --- > configure | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) >=20 > diff --git a/configure b/configure > index c522ad8..90355e8 100755 > --- a/configure > +++ b/configure > @@ -6,6 +6,7 @@ CC=3D${CC:-gcc} > CXX=3D${CXX:-g++} > CFLAGS=3D${CFLAGS:--O2} > CXXFLAGS=3D${CXXFLAGS:-\$(CFLAGS)} > +LDFLAGS=3D${LDFLAGS-} Hey, Nelson. I'm not sure exactly what you're trying to do here, but I'm betting that this is not it. If you're trying to get the LDFLAGS var from the existing environment, you probably want: LDFLAGS=3D${LDFLAGS:-} jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJL6t6rAAoJEO00zqvie6q8nfwP/iKQwTShRmNsIcMznJlcVq42 3NBbUEouGRA8FmFAh5MrU+EJApQmio1o/Pl0f74rwi4LbUG4GGkQIasp/t1L7eEh LuDz/1KJQIUX1ac+QkYbZiycE/Ortf33FAoVboncV1ovZ3HWfLMVNS9isj/CjYmC b5PxztyXLjBKitUge3AzO2MnYJPOgFMDhDN+Dew6RtCK2Fwt9lS5xLxHZFh+CEua Dk1vcgSJhqqW7Ob61lLRVsnJAAQjA6s2ctJnQa9A1ewHLOzJ8/DkwMb7i9e2LkTw ICUYD1diGsWymPg+1+k+RQiKceS542or7p4VWBbaI8OJfaBqx3MN0FR+mP1ofqDf 5/UO9CZdjf+/RoW/xd/cXAD88BPmMeUAXApWexqIDjxH50Q4gz84yfTPfj4+Ha5Q PyInAGJU/oq/AuP7kNf9dAuHxeTEEpmGxPSkQF+DtmQGa5s5nFpPUW5/ZG6Ti8j8 NsgOY2LlDVrPa0H2lPhzP9EYUHpQtdT+q73DWw/7Vw8cTLX/3BZkPB3DhS0ltuqG I5tK5O7CcUakIxEwJxHlfAWQABZfuFQx+I3/7rTtEWyVktsYnSIicNsMRlQPLKY8 QkwybAAVrqWqBOkJX9ld4BNStArM/3zjwm18rQybsoISW6YlNueDqcMUgPmgnqqR EIshKyD1towU2Y5KfMps =cI/Q -----END PGP SIGNATURE----- --=-=-=--