]> git.notmuchmail.org Git - obsolete/notmuch-old/commit
strsep: check for availability (Solaris support)
authorBlake Jones <blakej@foo.net>
Fri, 16 Aug 2013 14:38:16 +0000 (16:38 +0200)
committerDavid Bremner <bremner@debian.org>
Fri, 23 Aug 2013 15:55:39 +0000 (17:55 +0200)
commit43843745dcbf31e96f447410e335a8d2aa21b00d
treeefdd355c806cafca3829f2b09d5aadd69b42a9ee
parent49a0b96486242ca4fc4d26e5b01a34e9df7a9f9f
strsep: check for availability (Solaris support)

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 <vlmarek@volny.cz>
compat/Makefile.local
compat/compat.h
compat/have_strsep.c [new file with mode: 0644]
compat/strsep.c [new file with mode: 0644]
configure