added a --disable-threads ./configure option for pluto

This commit is contained in:
Martin Willi
2008-12-02 09:01:57 +00:00
parent 2671a8fcee
commit 6905f794bb
2 changed files with 16 additions and 1 deletions
+4 -1
View File
@@ -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