From 733f336ad37fee0efba600a0b596ebb091babc3c Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 26 Nov 2007 11:20:00 +0000 Subject: socket_t implementation withouth raw sockets --disable-raw-socket configure option prevents charon/pluto to run in parallel --- configure.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'configure.in') 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 ========================= -- cgit v1.2.3