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 8ECB6431FB6 for ; Thu, 20 Jan 2011 04:45:17 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled 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 Kdew8Fo5MmDN for ; Thu, 20 Jan 2011 04:45:17 -0800 (PST) Received: from smtp-1.01.com (smtp-1.01.com [38.102.63.180]) by olra.theworths.org (Postfix) with ESMTP id 16C20431FB5 for ; Thu, 20 Jan 2011 04:45:17 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-1.01.com (Postfix) with ESMTP id E7C14E0508; Thu, 20 Jan 2011 06:45:15 -0600 (CST) Received: from smtp-1.01.com ([127.0.0.1]) by localhost (smtp-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bu7n8ArQYwqW; Thu, 20 Jan 2011 06:45:15 -0600 (CST) Received: from harpy.local (74.Red-80-24-4.staticIP.rima-tde.net [80.24.4.74]) by smtp-1.01.com (Postfix) with ESMTPSA id 2628FE0519; Thu, 20 Jan 2011 06:45:14 -0600 (CST) From: Andy Wingo To: Michal Sojka Subject: Re: ./configure with CC="ccache gcc" doesn't work References: <87zkqvnbu7.fsf@steelpick.2x.cz> Date: Thu, 20 Jan 2011 13:40:01 +0100 In-Reply-To: <87zkqvnbu7.fsf@steelpick.2x.cz> (Michal Sojka's message of "Thu, 20 Jan 2011 10:50:08 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch@notmuchmail.org 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: Thu, 20 Jan 2011 12:45:17 -0000 Hi Michal, On Thu 20 Jan 2011 10:50, Michal Sojka writes: > Hmm, the IFS thing in configure seems annoying in this case. But you can > create a little script containing > > exec ccache gcc "$@" > > and set CC to the name of the script, cannot you? Sure. But the ccache thing is fairly common, AFAIK, and IMO notmuch's configure should either handle spaces in a non-absolute-path $CC or exit with an error in that case. And, oddly enough, the $CC does succeed in compiling, modulo this build error -- so it seems that the $IFS isn't actually providing any benefit in this case. (If the IFS did its job, I would expect to see an error like "ccache gcc: command not found" or something.) Andy