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 141D5431FBC for ; Wed, 21 May 2014 21:00:23 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 n+EZagpn6m2D for ; Wed, 21 May 2014 21:00:19 -0700 (PDT) Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 9E492431FAE for ; Wed, 21 May 2014 21:00:19 -0700 (PDT) Received: by mail-oa0-f51.google.com with SMTP id n16so3382181oag.10 for ; Wed, 21 May 2014 21:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type:content-transfer-encoding; bh=pEvOd1LLfw9PySfDTmApTML5iSye9pTyl1TxfPDS8i0=; b=0O3fyquTsBGnwPorFbo9TB/yQqpenw920DRPrQpLsj8905E/MOn3ssGZkKZfrmiQdM kPAMrCdFQaoI5k2goY7+0lQYNOhc3sdduELzq/0abctNVXZC+lwNK6vV0ZdUDknNs/YJ wCwklhDa/HmtFF/6igv1GA9L6CNvX7M8l7qbFkGR7Sc8EVHViGjuzAHyyMZahc7mSqf2 MSH/jonx70klnDjuYuJLEltyyWtO8PjO7W8R80G+rdQjff+t8jGOWxMLcsyBwVot6zyw vEfvB7RDhmEXeMKhZpFfZsZRebgJdjHIZ8dCLinZz2wYOCh9O1ACSI0jo8WY/YqFgehM 5K6w== X-Received: by 10.60.131.6 with SMTP id oi6mr17309915oeb.39.1400731218253; Wed, 21 May 2014 21:00:18 -0700 (PDT) Received: from localhost (189-211-224-40.static.axtel.net. [189.211.224.40]) by mx.google.com with ESMTPSA id js4sm66374388oeb.3.2014.05.21.21.00.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 May 2014 21:00:17 -0700 (PDT) Date: Wed, 21 May 2014 22:49:03 -0500 From: Felipe Contreras To: Fraser Tweedale , notmuch@notmuchmail.org Message-ID: <537d73afe956_1bf76cb3085c@nysa.notmuch> In-Reply-To: <1400662721-68562-1-git-send-email-frase@frase.id.au> References: <1400662721-68562-1-git-send-email-frase@frase.id.au> Subject: RE: [PATCH] configure: use cc/c++ when GCC not installed Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Fraser Tweedale 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, 22 May 2014 04:00:23 -0000 Fraser Tweedale wrote: > Some systems (e.g. FreeBSD 10) do not ship with the GNU Compiler > Collection. Use generic cc/c++ as a fallback when gcc/g++ are not > available. > --- > configure | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > diff --git a/configure b/configure > index 9bde2eb..3f4942b 100755 > --- a/configure > +++ b/configure > @@ -43,8 +43,16 @@ fi > > # Set several defaults (optionally specified by the user in > # environment variables) > -CC=${CC:-gcc} > -CXX=${CXX:-g++} Why not just use cc and c++? -- Felipe Contreras