Better integration of libevent in build system.
authorGuus Sliepen <guus@sliepen.eu.org>
Sat, 7 Nov 2009 13:35:48 +0000 (14:35 +0100)
committerGuus Sliepen <guus@sliepen.eu.org>
Sat, 7 Nov 2009 13:35:48 +0000 (14:35 +0100)
commit5c5548fc7185cc1462602dadcd39a53cef481d29
tree6e0a31f47d56c0df578ec6630a6f4eb331a2d5ee
parent075264a9e18f9fd58cad044c064a91557e9ed429
Better integration of libevent in build system.

Since event.h is not part of tinc, we include it in have.h were all other
system header files are included.  We also ensure -levent comes before -lgdi32
when compiling with MinGW, apparently it doesn't work when the order is
reversed.
have.h
m4/libevent.m4
src/net.h
src/node.h