1 Return-Path: <too@guru-group.fi>
\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 arlo.cworth.org (Postfix) with ESMTP id 642926DE0C42
\r
6 for <notmuch@notmuchmail.org>; Fri, 22 Jan 2016 14:01:48 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.064 tagged_above=-999 required=5 tests=[AWL=0.604,
\r
12 RP_MATCHES_RCVD=-0.55, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id xzAeshWCelkh for <notmuch@notmuchmail.org>;
\r
17 Fri, 22 Jan 2016 14:01:45 -0800 (PST)
\r
18 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
19 by arlo.cworth.org (Postfix) with ESMTP id 79D286DE0B38
\r
20 for <notmuch@notmuchmail.org>; Fri, 22 Jan 2016 14:01:45 -0800 (PST)
\r
21 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
22 id D82E0100090; Sat, 23 Jan 2016 00:01:54 +0200 (EET)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: notmuch@notmuchmail.org
\r
25 Cc: tomi.ollila@iki.fi
\r
26 Subject: [PATCH] configure: pass HAVE_TIMEGM to build
\r
27 Date: Sat, 23 Jan 2016 00:01:53 +0200
\r
28 Message-Id: <1453500113-13315-1-git-send-email-tomi.ollila@iki.fi>
\r
29 X-Mailer: git-send-email 2.6.4
\r
30 X-BeenThere: notmuch@notmuchmail.org
\r
31 X-Mailman-Version: 2.1.20
\r
33 List-Id: "Use and development of the notmuch mail system."
\r
34 <notmuch.notmuchmail.org>
\r
35 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
36 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
37 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
38 List-Post: <mailto:notmuch@notmuchmail.org>
\r
39 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
40 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
42 X-List-Received-Date: Fri, 22 Jan 2016 22:01:48 -0000
\r
44 Checking the existence of timegm() function and setting
\r
45 configure internal variable ${have_timegm} was done, but
\r
46 actually defining HAVE_TIMEGM in build was not done --
\r
47 meaning that compat timegm() was always part of final
\r
50 configure | 6 ++++++
\r
51 1 file changed, 6 insertions(+)
\r
53 diff --git a/configure b/configure
\r
54 index abd28da..a79f6bd 100755
\r
57 @@ -969,6 +969,10 @@ HAVE_STRCASESTR = ${have_strcasestr}
\r
58 # build its own version)
\r
59 HAVE_STRSEP = ${have_strsep}
\r
61 +# Whether the timegm function is available (if not, then notmuch will
\r
62 +# build its own version)
\r
63 +HAVE_TIMEGM = ${have_timegm}
\r
65 # Whether struct dirent has d_type (if not, then notmuch will use stat)
\r
66 HAVE_D_TYPE = ${have_d_type}
\r
68 @@ -1041,6 +1045,7 @@ CONFIGURE_CFLAGS = -DHAVE_GETLINE=\$(HAVE_GETLINE) \$(GMIME_CFLAGS) \\
\r
69 \$(VALGRIND_CFLAGS) \\
\r
70 -DHAVE_STRCASESTR=\$(HAVE_STRCASESTR) \\
\r
71 -DHAVE_STRSEP=\$(HAVE_STRSEP) \\
\r
72 + -DHAVE_TIMEGM=\$(HAVE_TIMEGM) \\
\r
73 -DHAVE_D_TYPE=\$(HAVE_D_TYPE) \\
\r
74 -DSTD_GETPWUID=\$(STD_GETPWUID) \\
\r
75 -DSTD_ASCTIME=\$(STD_ASCTIME) \\
\r
76 @@ -1054,6 +1059,7 @@ CONFIGURE_CXXFLAGS = -DHAVE_GETLINE=\$(HAVE_GETLINE) \$(GMIME_CFLAGS) \\
\r
77 \$(VALGRIND_CFLAGS) \$(XAPIAN_CXXFLAGS) \\
\r
78 -DHAVE_STRCASESTR=\$(HAVE_STRCASESTR) \\
\r
79 -DHAVE_STRSEP=\$(HAVE_STRSEP) \\
\r
80 + -DHAVE_TIMEGM=\$(HAVE_TIMEGM) \\
\r
81 -DHAVE_D_TYPE=\$(HAVE_D_TYPE) \\
\r
82 -DSTD_GETPWUID=\$(STD_GETPWUID) \\
\r
83 -DSTD_ASCTIME=\$(STD_ASCTIME) \\
\r