build: configure: Allow to compile tools without libnl
commitb073c8e5fd7f8c723680b659bd81afd231ef32f5
authorTobias Klauser <tklauser@distanz.ch>
Thu, 4 Aug 2016 16:30:20 +0000 (4 19:30 +0300)
committerTobias Klauser <tklauser@distanz.ch>
Fri, 5 Aug 2016 09:32:47 +0000 (5 11:32 +0200)
tree1fb86f5f2c1455848420fd0c52ab5de2b7368c30
parent20a5e15443bfbbb7e6624a754832cdce19d462a0
build: configure: Allow to compile tools without libnl

With libnl being made optional in commits 20a5e15443bf ("netsniff-ng:
Allow to compile without libnl") and c831bcda3e26 ("trafgen: Allow to
compile without libnl"), we can now compile netsniff-ng and trafgen
without libnl being present.

For now we don't consider libnl and libnl-route separately, meaning that
if libnl-route is not present, we disable libnl support entirely.

Also add a configure option to explicitely disable building netsniff-ng
and trafgen with libnl support.

Based on original patch by Vadim Kochan.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
.travis.yml
configure