notmuch/compat
Felipe Contreras 0c698ef037 configure: add workaround for systems without zlib.pc
Some systems (e.g. FreeBSD) might not have installed the appropriate
pkg-config file as they should. We can workaround the issue by creating
the .pc file they should have distributed.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-06-21 16:40:39 -03:00
..
.gitignore configure: add workaround for systems without zlib.pc 2014-06-21 16:40:39 -03:00
canonicalize_file_name.c compat: add canonicalize_file_name 2014-04-08 07:27:14 -03:00
check_asctime.c asctime: check for standards compliance (Solaris support) 2013-08-23 17:55:23 +02:00
check_getpwuid.c getpwuid: check for standards compliance (Solaris support) 2013-08-23 17:53:17 +02:00
compat.h compat: add canonicalize_file_name 2014-04-08 07:27:14 -03:00
function-attributes.h Provide a NORETURN_ATTRIBUTE macro similar to PRINTF_ATTRIBUTE 2012-09-27 12:50:22 -03:00
gen_zlib_pc.c configure: add workaround for systems without zlib.pc 2014-06-21 16:40:39 -03:00
getdelim.c
getline.c
have_canonicalize_file_name.c compat: add canonicalize_file_name 2014-04-08 07:27:14 -03:00
have_d_type.c new: Detect dirent.d_type support at configure time 2014-02-14 08:42:45 -04:00
have_getline.c
have_strcasestr.c
have_strsep.c strsep: check for availability (Solaris support) 2013-08-23 17:55:39 +02:00
have_timegm.c timegm: add portable implementation (Solaris support) 2013-08-23 17:57:35 +02:00
Makefile
Makefile.local compat: add canonicalize_file_name 2014-04-08 07:27:14 -03:00
README Extend compat/README 2012-09-27 12:51:01 -03:00
strcasestr.c
strsep.c strsep: check for availability (Solaris support) 2013-08-23 17:55:39 +02:00
timegm.c timegm: add portable implementation (Solaris support) 2013-08-23 17:57:35 +02:00

notmuch/compat

This directory consists of three 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].

3. Macro definitions abstracting compiler differences (e.g. function
   attributes).

   For example: function-attributes.h