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 7B31841733F for ; Sat, 5 Jun 2010 04:05:51 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham 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 zlPPEZMVWL5k for ; Sat, 5 Jun 2010 04:05:39 -0700 (PDT) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by olra.theworths.org (Postfix) with ESMTP id 3885F4196F4 for ; Sat, 5 Jun 2010 04:05:30 -0700 (PDT) Received: by mail-bw0-f53.google.com with SMTP id 12so685083bwz.26 for ; Sat, 05 Jun 2010 04:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=sznE+Eu4Ef7/hznootVmhcAllHk1O53mv7givhy2GMM=; b=RRJy72vveNd7plZSWLe9oqOPKGqj2FWfc1pczPotjdKOWUi3za6vbFjt+XMPJwKndd dt0DDDqHDco++gZ4rpjsZeBbfFwYog0mwoleg/wryey0z3VhQnDNO53BKZFX73CmBjop 6Dq6Vi/rD23mH0jsAC7xYsm53oxql14dCc7ec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=uqZiRHPlV3TdUWfd7NtPWacvaE0XuwLR0VirIr0ZUD6sedZAyAXxyRnx2jtofBuf+c 8x07HV7Dc6ahGsckHh7bd8Ww0iDaIATao4wRpTKpBUTILSZqH71YIKc/7LnMZvQQHWOj Y67MVVyvtdDYXmwXtFxy7LcWDSTl4Z9FBHiL0= Received: by 10.204.81.225 with SMTP id y33mr169115bkk.150.1275735929897; Sat, 05 Jun 2010 04:05:29 -0700 (PDT) Received: from localhost (a91-153-253-80.elisa-laajakaista.fi [91.153.253.80]) by mx.google.com with ESMTPS id v2sm9566384bkz.13.2010.06.05.04.05.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 05 Jun 2010 04:05:29 -0700 (PDT) From: Felipe Contreras To: notmuch@notmuchmail.org Subject: [PATCH 3/3] configure: optimize uname finding a bit Date: Sat, 5 Jun 2010 14:05:15 +0300 Message-Id: <1275735915-22650-4-git-send-email-felipe.contreras@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1275735915-22650-1-git-send-email-felipe.contreras@gmail.com> References: <1275735915-22650-1-git-send-email-felipe.contreras@gmail.com> 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: Sat, 05 Jun 2010 11:05:51 -0000 Signed-off-by: Felipe Contreras --- configure | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configure b/configure index ff775f0..3b4df37 100755 --- a/configure +++ b/configure @@ -198,15 +198,16 @@ errors=0 libdir_in_ldconfig=0 printf "Checking which platform we are on... " -if [ `uname` = "Darwin" ] ; then +uname=`uname` +if [ $uname = "Darwin" ] ; then printf "Mac OS X.\n" platform=MACOSX linker_resolves_library_dependencies=0 -elif [ `uname` = "SunOS" ] ; then +elif [ $uname = "SunOS" ] ; then printf "Solaris.\n" platform=SOLARIS linker_resolves_library_dependencies=0 -elif [ `uname` = "Linux" ] ; then +elif [ $uname = "Linux" ] ; then printf "Linux\n" platform=LINUX linker_resolves_library_dependencies=1 -- 1.7.0.1