Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: configure.ac

Issue 6513009: flimflam: Add L2TP/IPsec VPN plugin (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: Add gateway when requested Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Makefile.plugins ('k') | include/task.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: configure.ac
diff --git a/configure.ac b/configure.ac
index 10861aa4d04c00cbe7ccba1d5fb7758ad393b4fe..4fb6c15f426638d812decc525780c0a2daa46720 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,6 +156,26 @@ fi
AM_CONDITIONAL(OPENVPN, test "${enable_openvpn}" != "no")
AM_CONDITIONAL(OPENVPN_BUILTIN, test "${enable_openvpn}" = "builtin")
+AC_ARG_WITH(l2tpipsec, AC_HELP_STRING([--with-l2tpipsec=PROGRAM],
+ [specify location of L2TP/IPsec VPN binary]),
+ [path_l2tpipsec=${withval}])
+
+AC_ARG_ENABLE(l2tpipsec,
+ AC_HELP_STRING([--enable-l2tpipsec], [enable L2TP/IPsec support]),
+ [enable_l2tpipsec=${enableval}],
+ [enable_l2tpipsec="no"])
+if (test "${enable_l2tpipsec}" != "no"); then
+ if (test -z "${path_l2tpipsec}"); then
+ AC_PATH_PROG(L2TPIPSEC, [l2tpipsec_vpn], [],
+ $PATH:/sbin:/usr/sbin)
+ else
+ L2TPIPSEC="${path_l2tpipsec}"
+ AC_SUBST(L2TPIPSEC)
+ fi
+fi
+AM_CONDITIONAL(L2TPIPSEC, test "${enable_l2tpipsec}" != "no")
+AM_CONDITIONAL(L2TPIPSEC_BUILTIN, test "${enable_l2tpipsec}" = "builtin")
+
AC_ARG_ENABLE(loopback,
AC_HELP_STRING([--enable-loopback], [enable loopback support]),
[enable_loopback=${enableval}], [enable_loopback="no"])
« no previous file with comments | « Makefile.plugins ('k') | include/task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698