Commit Graph

11 Commits

Author SHA1 Message Date
Matthew Brush
dd8b293d22 Fixup header inclusion and C++ guards a bit
* Now headers only include headers they use (at least std headers).
* Remove CFU_DEBUG stuff since NDEBUG automatically controls assert()
* Make use of CFU_BEGIN_DECLS and CFU_END_DECLS macros from cfu.h.
2013-03-04 03:18:47 -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
5b2f19e1c4 Fix some wrong formatting characters for size_t
The '%lu' isn't stricly right either, but now this commit can be
referred to find locations to fix with the more correct '%zu' or
'PRIuMAX' or whatever is the right thing to use.
2013-03-04 02:46:04 -08:00
Matthew Brush
2aed767bb7 Re-write examples/Makefile.am a bit
This gets the examples compiling again.
2013-03-04 02:35:09 -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
5b15c782d0 Remove cfutypes.h(.in) since it seems to be useless
Also make cfu.h not generated. Need to fix the @VERSION@ replacement
it was using in a future commit, for now it's just hardcoded.
2013-03-04 02:19:05 -08:00
Matthew Brush
49862e7b8d Re-write configure.ac a bit 2013-03-04 02:11:33 -08:00
Matthew Brush
1a19591a67 Start fixing up the build system 2013-03-04 01:57:54 -08:00
Matthew Brush
bd619f4226 Cleanup built files from initial commit
Add myself to AUTHORS.
There might still be generated files in the doc dir but I don't
know enough about that setup yet to start deleting files.
2013-03-04 01:46:56 -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