Don't hardcode -levent in linker flags. Use @LIBEVENT_LIBS@ instead
Merge pull request #72 from yason/master

Don't hardcode -levent in linker flags. Use @LIBEVENT_LIBS@ instead
Do not include evutil.h twice. It's already picked up in net.h
Do not include evutil.h twice. It's included already in packet-io.h
Merge pull request #75 from yason/master

evutil.h included twice
[server] Improve search_emailusers RPC.

Now email_patt parameter doesn't have to contain '*'.
[server] Add "source" parameter to count_emailusers RPC.
[net] Add set_org_name rpc
[server] Fail user authentication if passwd is empty.
[build] use correct openssl headers instead of the default ones