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 F0516431FBC for ; Thu, 22 May 2014 03:11:17 -0700 (PDT) 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 ZUzy7sfS+k10 for ; Thu, 22 May 2014 03:11:13 -0700 (PDT) Received: from captainmorgan.hollandpark.frase.id.au (110-174-235-130.static.tpgi.com.au [110.174.235.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id AC2A9431FAE for ; Thu, 22 May 2014 03:11:12 -0700 (PDT) Received: from bacardi.hollandpark.frase.id.au (bacardi.hollandpark.frase.id.au [192.168.0.100]) by captainmorgan.hollandpark.frase.id.au (8.14.5/8.14.5) with ESMTP id s4MAB2DS032437; Thu, 22 May 2014 20:11:02 +1000 (EST) (envelope-from fraser@bacardi.hollandpark.frase.id.au) Received: from bacardi.hollandpark.frase.id.au (localhost [127.0.0.1]) by bacardi.hollandpark.frase.id.au (8.14.7/8.14.7) with ESMTP id s4MAB2nC098702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 22 May 2014 20:11:02 +1000 (EST) (envelope-from fraser@bacardi.hollandpark.frase.id.au) Received: (from fraser@localhost) by bacardi.hollandpark.frase.id.au (8.14.7/8.14.7/Submit) id s4MAB2Fb098701; Thu, 22 May 2014 20:11:02 +1000 (EST) (envelope-from fraser) From: Fraser Tweedale To: notmuch@notmuchmail.org Subject: [PATCH v2] configure: use cc/c++ instead of gcc/g++ Date: Thu, 22 May 2014 20:10:06 +1000 Message-Id: <1400753406-98646-1-git-send-email-frase@frase.id.au> X-Mailer: git-send-email 1.9.2 In-Reply-To: <537d73afe956_1bf76cb3085c@nysa.notmuch> References: <537d73afe956_1bf76cb3085c@nysa.notmuch> 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 10:11:18 -0000 Some systems (e.g. FreeBSD 10) do not ship with the GNU Compiler Collection. Use generic cc/c++ instead of gcc/g++ (unless the CC/CXX environment variables are used). --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 9bde2eb..7d015c6 100755 --- a/configure +++ b/configure @@ -43,8 +43,8 @@ fi # Set several defaults (optionally specified by the user in # environment variables) -CC=${CC:-gcc} -CXX=${CXX:-g++} +CC=${CC:-cc} +CXX=${CXX:-c++} CFLAGS=${CFLAGS:--O2} CPPFLAGS=${CPPFLAGS:-} CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)} -- 1.9.2