<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/configure, branch 0.17</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.17</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.17'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2013-11-27T11:43:29Z</updated>
<entry>
<title>util: detect byte order</title>
<updated>2013-11-27T11:43:29Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2013-11-26T02:55:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b9f0e6923d645a044f837d61a9343ea16d56504e'/>
<id>urn:sha1:b9f0e6923d645a044f837d61a9343ea16d56504e</id>
<content type='text'>
Unfortunately old versions of GCC and clang do not provide byte order
macros, so we re-invent them.

If UTIL_BYTE_ORDER is not defined or defined to 0, we fall back to
macros supported by recent versions of GCC and clang
</content>
</entry>
<entry>
<title>database: Add notmuch_database_compact_close</title>
<updated>2013-10-10T00:46:49Z</updated>
<author>
<name>Ben Gamari</name>
<email>bgamari.foss@gmail.com</email>
</author>
<published>2013-10-02T20:30:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0bd11b654e048a2ba562137c76d51296808b1a5d'/>
<id>urn:sha1:0bd11b654e048a2ba562137c76d51296808b1a5d</id>
<content type='text'>
This function uses Xapian's Compactor machinery to compact the notmuch
database. The compacted database is built in a temporary directory and
later moved into place while the original uncompacted database is
preserved.

Signed-off-by: Ben Gamari &lt;bgamari.foss@gmail.com&gt;
</content>
</entry>
<entry>
<title>timegm: add portable implementation (Solaris support)</title>
<updated>2013-08-23T15:57:35Z</updated>
<author>
<name>Blake Jones</name>
<email>blakej@foo.net</email>
</author>
<published>2013-08-21T11:09:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8c6b2e7e9d30bb3a9ef4fd8632cbf6d8d0673bb7'/>
<id>urn:sha1:8c6b2e7e9d30bb3a9ef4fd8632cbf6d8d0673bb7</id>
<content type='text'>
The timegm(3) function is a non-standard extension to libc which is
available in GNU libc and on some BSDs.  Although SunOS had this
function in its libc, Solaris (unfortunately) removed it.  This patch
implements a very simple version of timegm() which is good enough for
parse-time-string.c.

Signed-off-by: Vladimir Marek &lt;vlmarek@volny.cz&gt;
</content>
</entry>
<entry>
<title>strsep: check for availability (Solaris support)</title>
<updated>2013-08-23T15:55:39Z</updated>
<author>
<name>Blake Jones</name>
<email>blakej@foo.net</email>
</author>
<published>2013-08-16T14:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=43843745dcbf31e96f447410e335a8d2aa21b00d'/>
<id>urn:sha1:43843745dcbf31e96f447410e335a8d2aa21b00d</id>
<content type='text'>
Solaris does not ship a version of the strsep() function.  This change
adds a check to "configure" to see whether notmuch needs to provide its
own implementation, and if so, it uses the new version in
"compat/strsep.c" (which was copied from Mutt, and apparently before
that from glibc).

Signed-off-by: Vladimir Marek &lt;vlmarek@volny.cz&gt;
</content>
</entry>
<entry>
<title>asctime: check for standards compliance (Solaris support)</title>
<updated>2013-08-23T15:55:23Z</updated>
<author>
<name>Vladimir Marek</name>
<email>vlmarek@volny.cz</email>
</author>
<published>2013-08-16T14:38:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=49a0b96486242ca4fc4d26e5b01a34e9df7a9f9f'/>
<id>urn:sha1:49a0b96486242ca4fc4d26e5b01a34e9df7a9f9f</id>
<content type='text'>
Add checks to "configure" to see whether _POSIX_PTHREAD_SEMANTICS needs
to be defined to get the right number of arguments in the prototypes for
asctime_r().  Solaris' default implementation conforms to POSIX.1c
Draft 6, rather than the final POSIX.1c spec.  The standards-compliant
version can be used by defining _POSIX_PTHREAD_SEMANTICS.

This change also adds the file "compat/check_asctime.c", which
configure uses to perform its check, and modifies compat/compat.h to
define _POSIX_PTHREAD_SEMANTICS if configure detected it was needed.

Signed-off-by: Vladimir Marek &lt;vlmarek@volny.cz&gt;
</content>
</entry>
<entry>
<title>getpwuid: check for standards compliance (Solaris support)</title>
<updated>2013-08-23T15:53:17Z</updated>
<author>
<name>Blake Jones</name>
<email>blakej@foo.net</email>
</author>
<published>2013-08-16T14:38:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=31c7001c99e042c2722217410d8a913875d44149'/>
<id>urn:sha1:31c7001c99e042c2722217410d8a913875d44149</id>
<content type='text'>
Add checks to "configure" to see whether _POSIX_PTHREAD_SEMANTICS needs
to be defined to get the right number of arguments in the prototypes for
getpwuid_r().  Solaris' default implementation conforms to POSIX.1c
Draft 6, rather than the final POSIX.1c spec.  The standards-compliant
version can be used by defining _POSIX_PTHREAD_SEMANTICS.

This change also adds the file "compat/check_getpwuid.c", which
configure uses to perform its check, and modifies compat/compat.h to
define _POSIX_PTHREAD_SEMANTICS if configure detected it was needed.

Signed-off-by: Vladimir Marek &lt;vlmarek@volny.cz&gt;
</content>
</entry>
<entry>
<title>configure: grab CPPFLAGS from the environment.</title>
<updated>2013-06-02T23:45:56Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2013-05-26T01:28:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=51b14fb3c3a3cfdfa6b29d8309aaa6cbe82cedda'/>
<id>urn:sha1:51b14fb3c3a3cfdfa6b29d8309aaa6cbe82cedda</id>
<content type='text'>
This is needed in particular for hardening flags.
</content>
</entry>
<entry>
<title>configure: really expand libdir_expanded</title>
<updated>2012-12-01T12:04:30Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-11-28T12:25:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3c6b2d5071fb71035d5d8cfd24b3bb843840eb9b'/>
<id>urn:sha1:3c6b2d5071fb71035d5d8cfd24b3bb843840eb9b</id>
<content type='text'>
It turns out that if people really use configure in autotools style and pass
libdir containing '${prefix}/foo' then the ldconfig previously failed.

This uses sed for portability (versus bash parameter expansion with
substitution) and hopefully a bit more robustness than blindly
parameter expanding the string.
</content>
</entry>
<entry>
<title>build: drop the -Wswitch-enum warning</title>
<updated>2012-10-31T19:39:25Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2012-10-30T20:32:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c158201ee217740cb1b64858df8c7d39cf7793d0'/>
<id>urn:sha1:c158201ee217740cb1b64858df8c7d39cf7793d0</id>
<content type='text'>
-Wswitch-enum is a bit awkward if a switch statement is intended to
handle just some of the named codes of an enumeration especially, and
leave the rest to the default label.

We already have -Wall, which enables -Wswitch by default, and per GCC
documentation, "The only difference between -Wswitch and this option
[-Wswitch-enum] is that this option gives a warning about an omitted
enumeration code even if there is a default label."

Drop -Wswitch-enum to not force listing all named codes of
enumerations in switch statements that have a default label.
</content>
</entry>
<entry>
<title>Support OpenBSD</title>
<updated>2012-10-27T12:35:47Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-10-24T21:43:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b04c062aee50f456f46bf7f31641384010780791'/>
<id>urn:sha1:b04c062aee50f456f46bf7f31641384010780791</id>
<content type='text'>
OpenBSD's build flags are identical to FreeBSD, except that libraries
need to be explicitly linked against libc.  No code changes are
necessary.

From: Cody Cutler &lt;ccutler@csail.mit.edu&gt;
</content>
</entry>
</feed>
