database error
[notmuch-archives.git] / 06 / 5aa240ce3acb702d226ada87ef84065c0af3ec
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 C012D431FC4\r
6         for <notmuch@notmuchmail.org>; Sat,  3 Mar 2012 08:40:41 -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 5qGOjXPJrv1p for <notmuch@notmuchmail.org>;\r
16         Sat,  3 Mar 2012 08:40:40 -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 4A86A431FDE\r
21         for <notmuch@notmuchmail.org>; Sat,  3 Mar 2012 08:40:39 -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 F1B5F41822D\r
26         for <notmuch@notmuchmail.org>; Sat,  3 Mar 2012 17:40:37 +0100 (CET)\r
27 Received: by mail.jade-hamburg.de (Postfix, from userid 401)\r
28         id 71CCEDF2A3; Sat,  3 Mar 2012 17:40:37 +0100 (CET)\r
29 Received: from thinkbox.jade-hamburg.de (unknown [85.183.11.228])\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 A3134DF2A2;\r
33         Sat,  3 Mar 2012 17:40:31 +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 1S3s0U-0007XB-Lv; Sat, 03 Mar 2012 17:40:30 +0100\r
37 From: Justus Winter <4winter@informatik.uni-hamburg.de>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: [PATCH 2/2] Use autotools config.sub for --host and --build parsing\r
40 Date: Sat,  3 Mar 2012 17:40:23 +0100\r
41 Message-Id:\r
42  <1330792823-6049-3-git-send-email-4winter@informatik.uni-hamburg.de>\r
43 X-Mailer: git-send-email 1.7.9.1\r
44 In-Reply-To:\r
45  <1330792823-6049-1-git-send-email-4winter@informatik.uni-hamburg.de>\r
46 References:\r
47  <1330792823-6049-1-git-send-email-4winter@informatik.uni-hamburg.de>\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Sat, 03 Mar 2012 16:40:42 -0000\r
61 \r
62 This introduces a build dependency on autotools, update debian/control\r
63 accordingly.\r
64 \r
65 Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>\r
66 ---\r
67  configure      |   28 ++++++----------------------\r
68  debian/control |    1 +\r
69  2 files changed, 7 insertions(+), 22 deletions(-)\r
70 \r
71 diff --git a/configure b/configure\r
72 index 77203ed..182bd12 100755\r
73 --- a/configure\r
74 +++ b/configure\r
75 @@ -171,33 +171,17 @@ for option; do\r
76      elif [ "${option}" = '--without-zsh-completion' ] ; then\r
77         WITH_ZSH=0\r
78      elif [ "${option%%=*}" = '--build' ] ; then\r
79 -       build_option="${option#*=}"\r
80 -       case ${build_option} in\r
81 -           *-*-*) ;;\r
82 -           *)\r
83 -               echo "Unrecognized value for --build option: ${build_option}"\r
84 -               echo "Should be: <cpu>-<vendor>-<os>"\r
85 -               echo "See:"\r
86 -               echo "  $0 --help"\r
87 -               echo ""\r
88 -               exit 1\r
89 -       esac\r
90 +       if ! build_option="`/usr/share/misc/config.sub "${option#*=}"`" ; then\r
91 +           exit 1\r
92 +       fi\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      elif [ "${option%%=*}" = '--host' ] ; then\r
98 -       host_option="${option#*=}"\r
99 -       case ${host_option} in\r
100 -           *-*-*) ;;\r
101 -           *)\r
102 -               echo "Unrecognized value for --host option: ${host_option}"\r
103 -               echo "Should be: <cpu>-<vendor>-<os>"\r
104 -               echo "See:"\r
105 -               echo "  $0 --help"\r
106 -               echo ""\r
107 -               exit 1\r
108 -       esac\r
109 +       if ! host_option="`/usr/share/misc/config.sub "${option#*=}"`" ; then\r
110 +           exit 1\r
111 +       fi\r
112         host_cpu=${host_option%%-*}\r
113         host_option=${host_option#*-}\r
114         host_vendor=${host_option%%-*}\r
115 diff --git a/debian/control b/debian/control\r
116 index b60790e..bfb5f01 100644\r
117 --- a/debian/control\r
118 +++ b/debian/control\r
119 @@ -8,6 +8,7 @@ Uploaders:\r
120   David Bremner <bremner@debian.org>\r
121  Build-Depends:\r
122   debhelper (>= 7.0.50~),\r
123 + autotools-dev,\r
124   pkg-config,\r
125   libxapian-dev,\r
126   libgmime-2.6-dev | libgmime-2.4-dev,\r
127 -- \r
128 1.7.9.1\r
129 \r