Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id D74406DE1A1C for ; Wed, 29 Jul 2015 23:21:16 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.158 X-Spam-Level: X-Spam-Status: No, score=0.158 tagged_above=-999 required=5 tests=[AWL=0.148, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lJfk44RCeTPp for ; Wed, 29 Jul 2015 23:21:15 -0700 (PDT) Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id 2EF426DE19A2 for ; Wed, 29 Jul 2015 23:21:15 -0700 (PDT) Received: from remotemail by gitolite.debian.net with local (Exim 4.80) (envelope-from ) id 1ZKhCj-0004Y5-7D; Thu, 30 Jul 2015 06:20:33 +0000 Received: (nullmailer pid 28682 invoked by uid 1000); Thu, 30 Jul 2015 06:19:42 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 2/3] configure: support --with-docs=no Date: Thu, 30 Jul 2015 08:19:21 +0200 Message-Id: <1438237162-28454-3-git-send-email-david@tethera.net> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1438237162-28454-1-git-send-email-david@tethera.net> References: <1438237162-28454-1-git-send-email-david@tethera.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.18 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, 30 Jul 2015 06:21:16 -0000 Since we promise --with-foo=no is equivalent to --without-foo --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index 1e17b46..c415568 100755 --- a/configure +++ b/configure @@ -187,6 +187,12 @@ for option; do BASHCOMPLETIONDIR="${option#*=}" elif [ "${option%%=*}" = '--zshcompletiondir' ] ; then ZSHCOMLETIONDIR="${option#*=}" + elif [ "${option%%=*}" = '--with-docs' ]; then + if [ "${option#*=}" = 'no' ]; then + WITH_DOCS=0 + else + WITH_DOCS=1 + fi elif [ "${option}" = '--without-docs' ] ; then WITH_DOCS=0 elif [ "${option%%=*}" = '--with-emacs' ]; then -- 2.1.4