]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fixed --disable-iproute2 in ./configure to actually disable
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Mon, 21 Jan 2008 19:38:41 +0000 (19:38 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Mon, 21 Jan 2008 19:38:41 +0000 (19:38 +0000)
iproute2 usage (Alon Bar-Lev).

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2640 e7ae566f-a301-0410-adde-c780ea21d3b5

configure.ac

index 7155ae5cbe288f1719b2cb5225461410201b0fbe..1302494b88f8a78e01c8f5354a7ef523f0dcf09a 100644 (file)
@@ -134,7 +134,7 @@ AC_ARG_ENABLE(password-save,
 
 AC_ARG_ENABLE(iproute2,
    [  --enable-iproute2       Enable support for iproute2],
-   AC_DEFINE(CONFIG_FEATURE_IPROUTE, 1, [enable iproute2 support])   
+   test $enableval = "yes" && AC_DEFINE(CONFIG_FEATURE_IPROUTE, 1, [enable iproute2 support])   
 )
 
 AC_ARG_ENABLE(strict,