From b0f9f02ca4541b333dc38545a9a436b53b905259 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Tue, 3 Apr 2007 07:58:34 +0000 Subject: [PATCH] added --enable-nat-transport and --disable-vendor-id configuration options --- src/pluto/Makefile.am | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/pluto/Makefile.am b/src/pluto/Makefile.am index e5b4b9813..208dea175 100644 --- a/src/pluto/Makefile.am +++ b/src/pluto/Makefile.am @@ -80,8 +80,7 @@ AM_CFLAGS = \ -DIPSEC_PIDDIR=\"${piddir}\" \ -DSHARED_SECRETS_FILE=\"${confdir}/ipsec.secrets\" \ -DKERNEL26_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES \ --DPLUTO -DKLIPS -DDEBUG \ --DVENDORID -DTHREADS +-DPLUTO -DKLIPS -DDEBUG -DTHREADS pluto_LDADD = \ $(top_srcdir)/src/libfreeswan/libfreeswan.a \ @@ -103,6 +102,21 @@ oid.c: oid.txt oid.pl oid.h: oid.txt oid.pl $(PERL) oid.pl +# This compile option activates the sending of a strongSwan VID +if USE_VENDORID + AM_CFLAGS += -DVENDORID +endif + +# This compile option activates the support of the Cisco VPN client +if USE_CISCO_QUIRKS + AM_CFLAGS += -DCISCO_QUIRKS +endif + +# This compile option activates NAT traversal with IPSec transport mode +if USE_NAT_TRANSPORT + AM_CFLAGS += -DI_KNOW_TRANSPORT_MODE_HAS_SECURITY_CONCERN_BUT_I_WANT_IT +endif + # This compile option activates dynamic URL fetching using libcurl if USE_LIBCURL pluto_LDADD += -lcurl