aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-12-02 09:01:57 +0000
committerMartin Willi <martin@strongswan.org>2008-12-02 09:01:57 +0000
commit6905f794bbdfbf82e4ab0fe6e5404db9c8eab3ad (patch)
treecd3bfee8b4e584e3e20087f84eacb464da8208b0 /src/pluto
parent2671a8fcee0102173192e12e3c8739a3ee1b15fc (diff)
downloadstrongswan-6905f794bbdfbf82e4ab0fe6e5404db9c8eab3ad.tar.bz2
strongswan-6905f794bbdfbf82e4ab0fe6e5404db9c8eab3ad.tar.xz
added a --disable-threads ./configure option for pluto
Diffstat (limited to 'src/pluto')
-rw-r--r--src/pluto/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pluto/Makefile.am b/src/pluto/Makefile.am
index 453636f96..f788bc3d1 100644
--- a/src/pluto/Makefile.am
+++ b/src/pluto/Makefile.am
@@ -85,7 +85,7 @@ AM_CFLAGS = \
-DIPSEC_PIDDIR=\"${piddir}\" \
-DSHARED_SECRETS_FILE=\"${confdir}/ipsec.secrets\" \
-DKERNEL26_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES \
--DPLUTO -DKLIPS -DDEBUG -DTHREADS
+-DPLUTO -DKLIPS -DDEBUG
pluto_LDADD = \
oid.o \
@@ -143,3 +143,6 @@ if USE_CAPABILITIES
pluto_LDADD += -lcap
endif
+if USE_THREADS
+ AM_CFLAGS += -DTHREADS
+endif