fix for #24, ccnet-init fails with -H
Free/Net/OpenBSD have another names for libevent2 headers.
Add #ifdef / #else / #endif to include correct headers.
[build] correct sed usage
[build] fix bus error while execute make -jN (N>1)
Merge pull request #39 from yason/master

Free/Net/OpenBSD have another names for libevent2 headers.
Merge pull request #58 from Chilledheart/fix_sed_usage

[build] correct sed usage
Merge pull request #61 from Chilledheart/patch-1

[build] fix bus error while execute make -jN (N>1)
Substitute m4 obsolete macros
Merge pull request #66 from comzeradd/m4

Substitute m4 obsolete macros
Fix memory leak
fixed lib/Makefile.am
[build] remove linkage to wsock32
Merge pull request #71 from Chilledheart/patch-1

[build] remove linkage to wsock32
Merge pull request #31 from cwittmer/i24

fix for #24, ccnet-init fails with -H
Merge branch '3.1'

Conflicts:
	configure.ac
Replace assertions with g_return_*().
[build] add cmake build system

 - add missing includedir for cmake
 - remove shared library version
 - python support
Resolve pidfile resource leaks

This patch resolves resource leaks caused by not closing the file streams upon
an write error.
[lib] removal of unused code
[build] fix the missing inclusion of config.h