Re: [PATCH 3/5] nmbug-status: Add an nmbug-status(5) man page
[notmuch-archives.git] / 16 / 0b153e1eeddba0449940d0410c75f4bb2ae53b
1 Return-Path: <teythoon@jade-hamburg.de>\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 603EF431FC3\r
6         for <notmuch@notmuchmail.org>; Mon,  5 Mar 2012 02:23:59 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 Sk1SXw5IE5Gr for <notmuch@notmuchmail.org>;\r
16         Mon,  5 Mar 2012 02:23:57 -0800 (PST)\r
17 Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id B00F3431FBC\r
21         for <notmuch@notmuchmail.org>; Mon,  5 Mar 2012 02:23:57 -0800 (PST)\r
22 Received: from mail.jade-hamburg.de (unknown [85.183.11.228])\r
23         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
24         (No client certificate requested)\r
25         by mail.cryptobitch.de (Postfix) with ESMTPSA id 84A22542632\r
26         for <notmuch@notmuchmail.org>; Mon,  5 Mar 2012 11:23:56 +0100 (CET)\r
27 Received: by mail.jade-hamburg.de (Postfix, from userid 401)\r
28         id 06DBEDF2A3; Mon,  5 Mar 2012 11:23:56 +0100 (CET)\r
29 Received: from thinkbox.jade-hamburg.de (unknown [193.174.12.196])\r
30         (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
31         (No client certificate requested) (Authenticated sender: teythoon)\r
32         by mail.jade-hamburg.de (Postfix) with ESMTPSA id B9A5ADF2A1;\r
33         Mon,  5 Mar 2012 11:23:50 +0100 (CET)\r
34 Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.77)\r
35         (envelope-from <teythoon@thinkbox.jade-hamburg.de>)\r
36         id 1S4V53-0002mr-BC; Mon, 05 Mar 2012 11:23:49 +0100\r
37 From: Justus Winter <4winter@informatik.uni-hamburg.de>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: [PATCH 2/2] Do not try to parse the options for --build and --host\r
40         arguments\r
41 Date: Mon,  5 Mar 2012 11:23:44 +0100\r
42 Message-Id:\r
43  <1330943024-10541-2-git-send-email-4winter@informatik.uni-hamburg.de>\r
44 X-Mailer: git-send-email 1.7.9.1\r
45 In-Reply-To:\r
46  <1330943024-10541-1-git-send-email-4winter@informatik.uni-hamburg.de>\r
47 References: <87k42zokjs.fsf@zancas.localnet>\r
48         <1330943024-10541-1-git-send-email-4winter@informatik.uni-hamburg.de>\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Mon, 05 Mar 2012 10:23:59 -0000\r
62 \r
63 Formerly the code assumed the arguments to be triples and threw an\r
64 error if this was not the case. But those arguments are only there for\r
65 compatibility with autotools and are not used within the build system,\r
66 so just dropping the code parsing these values makes the build system\r
67 more robust.\r
68 \r
69 Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>\r
70 ---\r
71  configure |   32 ++------------------------------\r
72  1 files changed, 2 insertions(+), 30 deletions(-)\r
73 \r
74 diff --git a/configure b/configure\r
75 index 77203ed..ca30482 100755\r
76 --- a/configure\r
77 +++ b/configure\r
78 @@ -171,37 +171,9 @@ for option; do\r
79      elif [ "${option}" = '--without-zsh-completion' ] ; then\r
80         WITH_ZSH=0\r
81      elif [ "${option%%=*}" = '--build' ] ; then\r
82 -       build_option="${option#*=}"\r
83 -       case ${build_option} in\r
84 -           *-*-*) ;;\r
85 -           *)\r
86 -               echo "Unrecognized value for --build option: ${build_option}"\r
87 -               echo "Should be: <cpu>-<vendor>-<os>"\r
88 -               echo "See:"\r
89 -               echo "  $0 --help"\r
90 -               echo ""\r
91 -               exit 1\r
92 -       esac\r
93 -       build_cpu=${build_option%%-*}\r
94 -       build_option=${build_option#*-}\r
95 -       build_vendor=${build_option%%-*}\r
96 -       build_os=${build_option#*-}\r
97 +       true\r
98      elif [ "${option%%=*}" = '--host' ] ; then\r
99 -       host_option="${option#*=}"\r
100 -       case ${host_option} in\r
101 -           *-*-*) ;;\r
102 -           *)\r
103 -               echo "Unrecognized value for --host option: ${host_option}"\r
104 -               echo "Should be: <cpu>-<vendor>-<os>"\r
105 -               echo "See:"\r
106 -               echo "  $0 --help"\r
107 -               echo ""\r
108 -               exit 1\r
109 -       esac\r
110 -       host_cpu=${host_option%%-*}\r
111 -       host_option=${host_option#*-}\r
112 -       host_vendor=${host_option%%-*}\r
113 -       host_os=${host_option#*-}\r
114 +       true\r
115      elif [ "${option%%=*}" = '--infodir' ] ; then\r
116         true\r
117      elif [ "${option%%=*}" = '--datadir' ] ; then\r
118 -- \r
119 1.7.9.1\r
120 \r