aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-11-26 11:20:00 +0000
committerMartin Willi <martin@strongswan.org>2007-11-26 11:20:00 +0000
commit733f336ad37fee0efba600a0b596ebb091babc3c (patch)
treefb9ded77be73ac2a18e8087092dcb864367f657e /configure.in
parent5af3a03396372f731fb79261adb0dccc45f7e84e (diff)
downloadstrongswan-733f336ad37fee0efba600a0b596ebb091babc3c.tar.bz2
strongswan-733f336ad37fee0efba600a0b596ebb091babc3c.tar.xz
socket_t implementation withouth raw sockets
--disable-raw-socket configure option prevents charon/pluto to run in parallel
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index e534c10e9..572d6f652 100644
--- a/configure.in
+++ b/configure.in
@@ -306,6 +306,18 @@ AC_ARG_ENABLE(
)
AM_CONDITIONAL(USE_SELF_TEST, test x$self_test = xtrue)
+AC_ARG_ENABLE(
+ [raw-socket],
+ AS_HELP_STRING([--disable-raw-socket],[disable charons RAW socket and use a normal socket instead. Prevents charon and pluto to run in parallel. (default is NO).]),
+ [if test x$enableval = xyes; then
+ raw_socket=true
+ else
+ raw_socket=false
+ fi],
+ raw_socket=true
+)
+AM_CONDITIONAL(USE_RAW_SOCKET, test x$raw_socket = xtrue)
+
dnl =========================
dnl check required programs
dnl =========================