[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 03 / 3471fb0417ce777d04595af371aeb2ba04313b
1 Return-Path: <cworth@cworth.org>\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 39AD3429E25\r
6         for <notmuch@notmuchmail.org>; Thu, 26 May 2011 15:12:26 -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.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[T_MIME_NO_TEXT=0.01] 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 ign3qWv9Is7U for <notmuch@notmuchmail.org>;\r
16         Thu, 26 May 2011 15:12:25 -0700 (PDT)\r
17 Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2])\r
18         by olra.theworths.org (Postfix) with ESMTP id CB5D5431FB6\r
19         for <notmuch@notmuchmail.org>; Thu, 26 May 2011 15:12:25 -0700 (PDT)\r
20 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
21         by arlo.cworth.org (Postfix) with ESMTP id AFCA229A4E7;\r
22         Thu, 26 May 2011 15:12:24 -0700 (PDT)\r
23 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
24         id 6055025417E; Thu, 26 May 2011 15:12:24 -0700 (PDT)\r
25 From: Carl Worth <cworth@cworth.org>\r
26 To: Felix Geller <fgeller@gmail.com>, notmuch@notmuchmail.org\r
27 Subject: Re: [PATCH] Change in increment_mtime for BSD compatibility of test\r
28         suite\r
29 In-Reply-To: <m2sjs3q66v.fsf@gmail.com>\r
30 References: <m2sjs3q66v.fsf@gmail.com>\r
31 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1\r
32         (i486-pc-linux-gnu)\r
33 Date: Thu, 26 May 2011 15:12:19 -0700\r
34 Message-ID: <87boypcdrw.fsf@yoom.home.cworth.org>\r
35 MIME-Version: 1.0\r
36 Content-Type: multipart/signed; boundary="=-=-=";\r
37         micalg=pgp-sha1; protocol="application/pgp-signature"\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Thu, 26 May 2011 22:12:26 -0000\r
51 \r
52 --=-=-=\r
53 Content-Transfer-Encoding: quoted-printable\r
54 \r
55 On Wed, 25 May 2011 15:07:52 +0200, Felix Geller <fgeller@gmail.com> wrote:\r
56 Non-text part: multipart/mixed\r
57 Non-text part: multipart/signed\r
58 > Use `-t' option rather than `-d' which is not supported by BSD's\r
59 > touch. I'm not sure whether this is the cleanest way to do this, please\r
60 > let me know if there is a better way.\r
61 \r
62 I don't know of a better way, but...\r
63 \r
64 > +    last_mod_date=3D`date -j -f %Y%m%d%H%M%S \`stat -f %Sm -t %Y%m%d%H%M=\r
65 %S ${dir}\` +%s`\r
66 >      increment_mtime_amount=3D$((increment_mtime_amount + 1))\r
67 > -    touch -d "+${increment_mtime_amount} seconds" "$dir"\r
68 > +    new_date=3D`date -j -r ${last_mod_date} -v+${increment_mtime_amount}=\r
69 S +%Y%m%d%H%M.%S`\r
70 > +    touch -t ${new_date} ${dir}\r
71 \r
72 $ date -j\r
73 date: invalid option -- 'j'\r
74 Try `date --help' for more information.\r
75 \r
76 :-P\r
77 \r
78 > There are additional changes\r
79 > (e.g., sed does not support `-r' but instead `-E') but they seem to be\r
80 > incompatible between GNU and BSD. What's the recommended way to handle\r
81 > this?\r
82 \r
83 That sounds like something we could test inside our configure\r
84 script. In addition to the current Makefile.config file it's creating,\r
85 it could also create a little test-config.sh file for things like this.\r
86 \r
87 What do you think?\r
88 \r
89 =2DCarl\r
90 \r
91 =2D-=20\r
92 carl.d.worth@intel.com\r
93 \r
94 --=-=-=\r
95 Content-Type: application/pgp-signature\r
96 \r
97 -----BEGIN PGP SIGNATURE-----\r
98 Version: GnuPG v1.4.11 (GNU/Linux)\r
99 \r
100 iEYEARECAAYFAk3e0EMACgkQ6JDdNq8qSWgpgwCfbTAkaeMwS9Y1Bew/lhhvHMsk\r
101 vS8AnA9EYceeXdFlmyKlPk3JsEzNApPk\r
102 =TZnd\r
103 -----END PGP SIGNATURE-----\r
104 --=-=-=--\r