Re: [PATCH] emacs: make `notmuch-show-open-or-close-all' toggle visibility
[notmuch-archives.git] / 20 / 022c6b5804f06248df018f1a311c9a242de804
1 Return-Path: <ced@ryick.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id A33EF4196F2\r
6         for <notmuch@notmuchmail.org>; Sat, 24 Apr 2010 16:39:05 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.801\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.801 tagged_above=-999 required=5\r
12         tests=[BAYES_50=0.8, RCVD_IN_SORBS_DUL=0.001] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id WqLvSfTlTjRb for <notmuch@notmuchmail.org>;\r
16         Sat, 24 Apr 2010 16:39:04 -0700 (PDT)\r
17 X-Greylist: delayed 351 seconds by postgrey-1.32 at olra;\r
18         Sat, 24 Apr 2010 16:39:04 PDT\r
19 Received: from ced.ryick.net (ced.ryick.net [82.229.97.62])\r
20         by olra.theworths.org (Postfix) with ESMTP id 8AA03431FC1\r
21         for <notmuch@notmuchmail.org>; Sat, 24 Apr 2010 16:39:04 -0700 (PDT)\r
22 Received: from lappy.localnet (lappy.ryick.net [192.168.0.1])\r
23         by ced.ryick.net (Postfix) with ESMTPSA id 343D287A6D\r
24         for <notmuch@notmuchmail.org>; Sun, 25 Apr 2010 01:33:12 +0200 (CEST)\r
25 X-Mailbox-Line: From 6c4da8735dfe1b84940654832c2aaab6fd9e7a1b Mon Sep 17\r
26         00:00:00 2001\r
27 From: =?iso-8859-1?q?C=E9dric_Cabessa?= <ced@ryick.net>\r
28 Date: Sun, 25 Apr 2010 01:33:10 +0200\r
29 Subject: [PATCH] configure: add ignored options for compatibility.\r
30 To: notmuch@notmuchmail.org\r
31 MIME-Version: 1.0\r
32 Content-Type: text/plain;\r
33   charset="us-ascii"\r
34 Content-Transfer-Encoding: 7bit\r
35 Message-Id: <201004250133.11327.ced@ryick.net>\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Sat, 24 Apr 2010 23:39:05 -0000\r
49 \r
50 gentoo's ebuild script expects 2 more options for configure:\r
51   --host (same format as --build)\r
52   --datadir\r
53 ---\r
54  configure |   20 ++++++++++++++++++++\r
55  1 files changed, 20 insertions(+), 0 deletions(-)\r
56 \r
57 diff --git a/configure b/configure\r
58 index ec8c3fd..c522ad8 100755\r
59 --- a/configure\r
60 +++ b/configure\r
61 @@ -77,7 +77,9 @@ Additional options are accepted for compatibility with other\r
62  configure-script calling conventions, but don't do anything yet:\r
63  \r
64         --build=<cpu>-<vendor>-<os>     Currently ignored\r
65 +       --host=<cpu>-<vendor>-<os>      Currently ignored\r
66         --infodir=DIR                   Currently ignored\r
67 +       --datadir=DIR                   Currently ignored\r
68         --localstatedir=DIR             Currently ignored\r
69         --libexecdir=DIR                Currently ignored\r
70         --disable-maintainer-mode       Currently ignored\r
71 @@ -119,8 +121,26 @@ for option; do\r
72         build_option=${build_option#*-}\r
73         build_vendor=${build_option%%-*}\r
74         build_os=${build_option#*-}\r
75 +    elif [ "${option%%=*}" = '--host' ] ; then\r
76 +       host_option="${option#*=}"\r
77 +       case ${host_option} in\r
78 +           *-*-*) ;;\r
79 +           *)\r
80 +               echo "Unrecognized value for --host option: ${host_option}"\r
81 +               echo "Should be: <cpu>-<vendor>-<os>"\r
82 +               echo "See:"\r
83 +               echo "  $0 --help"\r
84 +               echo ""\r
85 +               exit 1\r
86 +       esac\r
87 +       host_cpu=${host_option%%-*}\r
88 +       host_option=${host_option#*-}\r
89 +       host_vendor=${host_option%%-*}\r
90 +       host_os=${host_option#*-}\r
91      elif [ "${option%%=*}" = '--infodir' ] ; then\r
92         true\r
93 +    elif [ "${option%%=*}" = '--datadir' ] ; then\r
94 +       true\r
95      elif [ "${option%%=*}" = '--localstatedir' ] ; then\r
96         true\r
97      elif [ "${option%%=*}" = '--libexecdir' ] ; then\r
98 -- \r
99 1.7.0.4\r
100 \r