notmuch/compat
Dirk Hohndel d09154465a Add simplistic reimplementation of strcasestr to compat library
While all systems that I have access to support strcasestr, it is
in fact not part of POSIX. So here's a fallback reimplementation
based on POSIX functions.

Signed-off-by: Dirk Hohndel <hohndel@infradead.org>

Tested-by: Tomas Carnecky <tom@dbservice.com> (on OpenSolaris snv_134)
2010-04-14 11:34:12 -07:00
..
compat.h Add simplistic reimplementation of strcasestr to compat library 2010-04-14 11:34:12 -07:00
getdelim.c getdelim: Silence a (bogus) compiler warning. 2009-12-01 16:46:21 -08:00
getline.c compat: Change includes from config.h to compat.h. 2009-12-01 16:27:29 -08:00
have_getline.c Move "config" test programs to "compat". 2010-04-06 14:36:31 -07:00
have_strcasestr.c Add simplistic reimplementation of strcasestr to compat library 2010-04-14 11:34:12 -07:00
Makefile Makefiles: Use .DEFAULT to support arbitrary targets from sub directories. 2010-01-06 10:32:06 -08:00
Makefile.local Add simplistic reimplementation of strcasestr to compat library 2010-04-14 11:34:12 -07:00
README Move "config" test programs to "compat". 2010-04-06 14:36:31 -07:00
strcasestr.c Add simplistic reimplementation of strcasestr to compat library 2010-04-14 11:34:12 -07:00

notmuch/comapt

This directory consists of two things:

1. Small programs used by the notmuch configure script to test for the
   availability of certain system features, (library functions, etc.).

   For example: have_getline.c

2. Compatibility implementations of those system features for systems
   that don't provide their own versions.

   For example: getline.c

   The compilation of these files is made conditional on the output of
   the test programs from [1].