From: David Bremner Date: Wed, 21 May 2014 20:09:41 +0000 (+1700) Subject: Re: [PATCH] configure: use cc/c++ when GCC not installed X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=787c364bbf791da3d7ff8135448d8161b350dee4;p=notmuch-archives.git Re: [PATCH] configure: use cc/c++ when GCC not installed --- diff --git a/85/3f4fe328048f82cf01e2b36aa3ae2a7fa51cd1 b/85/3f4fe328048f82cf01e2b36aa3ae2a7fa51cd1 new file mode 100644 index 000000000..d8078e735 --- /dev/null +++ b/85/3f4fe328048f82cf01e2b36aa3ae2a7fa51cd1 @@ -0,0 +1,64 @@ +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 19F13431FC4 + for ; Wed, 21 May 2014 13:11:29 -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 o7+SJ7owYRH9 for ; + Wed, 21 May 2014 13:11:21 -0700 (PDT) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 91C1B431FBC + for ; Wed, 21 May 2014 13:11:21 -0700 (PDT) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.72) (envelope-from ) + id 1WnCpo-0006Mm-Ve; Wed, 21 May 2014 20:09:57 +0000 +Received: (nullmailer pid 5712 invoked by uid 1000); Wed, 21 May 2014 + 20:09:41 -0000 +From: David Bremner +To: Tomi Ollila , Fraser Tweedale , + notmuch@notmuchmail.org +Subject: Re: [PATCH] configure: use cc/c++ when GCC not installed +In-Reply-To: +References: <1400662721-68562-1-git-send-email-frase@frase.id.au> + +User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Wed, 21 May 2014 13:09:41 -0700 +Message-ID: <878upu6ghm.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +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, 21 May 2014 20:11:29 -0000 + +Tomi Ollila writes: +> +> hash is builtin in modern shells, and is command in some systems +> which(1) is builtin in zsh (only?). Solaris 10 which(1) exits 0 +> even the command is not found. +> +> Tomi + +I thought "command -v" was the posix way of testing for a binary? + +d