Commit Graph

8 Commits

Author SHA1 Message Date
Matthew Brush b82a8f4ec6 Add cfutimer which uses more accurate functions if available
This is some code I had previously written, adapted to (mostly)
libcfu coding style. The API is very similar to that of the
existing (to be eventually removed) cfutime.
2013-03-04 19:45:24 -08:00
Matthew Brush a054a4de71 Make C89 compatible using some preprocessor trickery
Also using C99-snprintf file from:
  http://www.jhweiss.de/software/snprintf.html

For when in strict C89 compiler mode or when snprintf() or vsnprintf()
aren't for whatever reason available.

Use CFU_INLINE macro defined in cfu.h to make a decent attempt at
getting inline function support when in C89 mode.
2013-03-04 17:37:24 -08:00
Matthew Brush eb89c4bf8e Use Libtool to enable building shared library 2013-03-04 15:22:09 -08:00
Matthew Brush 382bac9900 Replace libcfu-config utility with a pkg-config .pc file 2013-03-04 15:10:02 -08:00
Matthew Brush ec404e96a9 Make POSIX threads library optional
Guard out use of pthreads in hash and list and don't build the
thread queue when pthreads is not available.
2013-03-04 03:04:27 -08:00
Matthew Brush 3cfc07997b Cleanup src/Makefile.am a bit 2013-03-04 02:31:22 -08:00
Matthew Brush aed8b7f4da Move headers from include dir to src dir 2013-03-04 02:22:28 -08:00
Matthew Brush f660e3460a Initial commit
All of the files from the tarball downloaded from SourceForge are
being checked in so there's a record of the changes made compared
to it (since I can't find the libcfu source repository). The
generated files will be removed in the following commit.
2013-03-04 01:40:58 -08:00