RE: [PATCH] configure: use cc/c++ when GCC not installed
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 22 May 2014 03:49:03 +0000 (22:49 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:02:55 +0000 (10:02 -0800)
f6/59de072e5885b0d1432292824d57f223212b7c [new file with mode: 0644]

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