| 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"])
|
|
|