[PATCH] configure: add ignored options for compatibility.
authorCédric Cabessa <ced@ryick.net>
Sat, 24 Apr 2010 23:33:10 +0000 (01:33 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:53 +0000 (09:36 -0800)
20/022c6b5804f06248df018f1a311c9a242de804 [new file with mode: 0644]

diff --git a/20/022c6b5804f06248df018f1a311c9a242de804 b/20/022c6b5804f06248df018f1a311c9a242de804
new file mode 100644 (file)
index 0000000..1c39f70
--- /dev/null
@@ -0,0 +1,100 @@
+Return-Path: <ced@ryick.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id A33EF4196F2\r
+       for <notmuch@notmuchmail.org>; Sat, 24 Apr 2010 16:39:05 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.801\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.801 tagged_above=-999 required=5\r
+       tests=[BAYES_50=0.8, RCVD_IN_SORBS_DUL=0.001] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id WqLvSfTlTjRb for <notmuch@notmuchmail.org>;\r
+       Sat, 24 Apr 2010 16:39:04 -0700 (PDT)\r
+X-Greylist: delayed 351 seconds by postgrey-1.32 at olra;\r
+       Sat, 24 Apr 2010 16:39:04 PDT\r
+Received: from ced.ryick.net (ced.ryick.net [82.229.97.62])\r
+       by olra.theworths.org (Postfix) with ESMTP id 8AA03431FC1\r
+       for <notmuch@notmuchmail.org>; Sat, 24 Apr 2010 16:39:04 -0700 (PDT)\r
+Received: from lappy.localnet (lappy.ryick.net [192.168.0.1])\r
+       by ced.ryick.net (Postfix) with ESMTPSA id 343D287A6D\r
+       for <notmuch@notmuchmail.org>; Sun, 25 Apr 2010 01:33:12 +0200 (CEST)\r
+X-Mailbox-Line: From 6c4da8735dfe1b84940654832c2aaab6fd9e7a1b Mon Sep 17\r
+       00:00:00 2001\r
+From: =?iso-8859-1?q?C=E9dric_Cabessa?= <ced@ryick.net>\r
+Date: Sun, 25 Apr 2010 01:33:10 +0200\r
+Subject: [PATCH] configure: add ignored options for compatibility.\r
+To: notmuch@notmuchmail.org\r
+MIME-Version: 1.0\r
+Content-Type: text/plain;\r
+  charset="us-ascii"\r
+Content-Transfer-Encoding: 7bit\r
+Message-Id: <201004250133.11327.ced@ryick.net>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\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: Sat, 24 Apr 2010 23:39:05 -0000\r
+\r
+gentoo's ebuild script expects 2 more options for configure:\r
+  --host (same format as --build)\r
+  --datadir\r
+---\r
+ configure |   20 ++++++++++++++++++++\r
+ 1 files changed, 20 insertions(+), 0 deletions(-)\r
+\r
+diff --git a/configure b/configure\r
+index ec8c3fd..c522ad8 100755\r
+--- a/configure\r
++++ b/configure\r
+@@ -77,7 +77,9 @@ Additional options are accepted for compatibility with other\r
+ configure-script calling conventions, but don't do anything yet:\r
\r
+       --build=<cpu>-<vendor>-<os>     Currently ignored\r
++      --host=<cpu>-<vendor>-<os>      Currently ignored\r
+       --infodir=DIR                   Currently ignored\r
++      --datadir=DIR                   Currently ignored\r
+       --localstatedir=DIR             Currently ignored\r
+       --libexecdir=DIR                Currently ignored\r
+       --disable-maintainer-mode       Currently ignored\r
+@@ -119,8 +121,26 @@ for option; do\r
+       build_option=${build_option#*-}\r
+       build_vendor=${build_option%%-*}\r
+       build_os=${build_option#*-}\r
++    elif [ "${option%%=*}" = '--host' ] ; then\r
++      host_option="${option#*=}"\r
++      case ${host_option} in\r
++          *-*-*) ;;\r
++          *)\r
++              echo "Unrecognized value for --host option: ${host_option}"\r
++              echo "Should be: <cpu>-<vendor>-<os>"\r
++              echo "See:"\r
++              echo "  $0 --help"\r
++              echo ""\r
++              exit 1\r
++      esac\r
++      host_cpu=${host_option%%-*}\r
++      host_option=${host_option#*-}\r
++      host_vendor=${host_option%%-*}\r
++      host_os=${host_option#*-}\r
+     elif [ "${option%%=*}" = '--infodir' ] ; then\r
+       true\r
++    elif [ "${option%%=*}" = '--datadir' ] ; then\r
++      true\r
+     elif [ "${option%%=*}" = '--localstatedir' ] ; then\r
+       true\r
+     elif [ "${option%%=*}" = '--libexecdir' ] ; then\r
+-- \r
+1.7.0.4\r
+\r