This patch converts libdect to build with libnl3. Older libnl versions will
not work anymore, to fix this the build system will be converted to automake
and pkgconfig soon.
Signed-off-by: Patrick McHardy <kaber@trash.net>
libev contains an libevent compat header file that at least on Debian
is only installed optionally. Make sure event.h and the event library
match since their respective struct event definitions don't match.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Fixes:
checking event.h usability... yes
checking event.h presence... yes
checking for event.h... yes
configure: line 4346: syntax error near unexpected token `newline'
configure: line 4346: ` yes:no:'
with autoconf 2.61-8 and dash 0.5.5.1-7 on Debian.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Add --enable switch for documentation build, build documentation by
default and add a few more configure tests.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Check for and prefer libev over libevent and check for the location
of the event.h file, which is contained in libev/event.h on Fedora.
Signed-off-by: Patrick McHardy <kaber@trash.net>