Do not disable the default-socket if it was enabled explicitly
authorMartin Willi <martin@revosec.ch>
Thu, 11 Mar 2010 07:52:48 +0000 (08:52 +0100)
committerMartin Willi <martin@revosec.ch>
Thu, 11 Mar 2010 07:52:48 +0000 (08:52 +0100)
configure.in

index 89a32fe..a48c096 100644 (file)
@@ -242,9 +242,10 @@ fi
 if test x$pluto = xtrue; then
        if test x$socket_raw = xfalse; then
                AC_MSG_NOTICE([Enforcing --enable-socket-raw, as pluto is enabled])
-               socket_default=false
                socket_raw=true
-               socket_dynamic=false
+               if test x$socket_default_given = xfalse; then
+                       socket_default=false
+               fi
        fi
 fi