aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet.am
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-01-16 22:06:10 +0100
committerFlorin Coras <florin.coras@gmail.com>2017-01-16 23:19:46 +0000
commita9a951f8e5ed6e172fbfbdbb6cb690c67fa2f715 (patch)
tree1a976cda2a242e013101124b9ed686a2811ae9a1 /src/vnet.am
parent597d3c4121b4dd557328c11debb42927a45d52fb (diff)
Add --without-libssl configure parameter
This replaces --without-ipsec and --without-ipv6sr and allows other parts of the code to be disabled if libssl is not available. Change-Id: Id97ff3685a7924d7f86622952e0405d94ceb5957 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet.am')
-rw-r--r--src/vnet.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet.am b/src/vnet.am
index 3b2a25e8..93dd1e6c 100644
--- a/src/vnet.am
+++ b/src/vnet.am
@@ -26,7 +26,7 @@ libvnet_la_DEPENDENCIES = \
libvnet_la_LIBADD = $(libvnet_la_DEPENDENCIES) -lm -lpthread -ldl -lrt $(DPDK_LD_ADD)
libvnet_la_LDFLAGS = $(DPDK_LD_FLAGS)
-if WITH_IPV6SR
+if WITH_LIBSSL
libvnet_la_LIBADD += -lcrypto
endif
@@ -372,7 +372,7 @@ API_FILES += vnet/bfd/bfd.api
########################################
# Layer 3 protocol: IPSec
########################################
-if WITH_IPSEC
+if WITH_LIBSSL
libvnet_la_SOURCES += \
vnet/ipsec/ipsec.c \
vnet/ipsec/ipsec_cli.c \
@@ -673,7 +673,7 @@ nobase_include_HEADERS += \
# ipv6 segment routing
########################################
-if WITH_IPV6SR
+if WITH_LIBSSL
libvnet_la_SOURCES += \
vnet/sr/sr.c \
vnet/sr/sr_replicate.c \