[PATCH 2/3] configure: support --with-docs=no
authorDavid Bremner <david@tethera.net>
Thu, 30 Jul 2015 06:19:21 +0000 (08:19 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:13 +0000 (14:49 -0700)
fc/5589add9f1aca2d056d8147f4310c24cef7d05 [new file with mode: 0644]

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