[PATCH 2/3] Add build suppport for VPNC.

David Woodhouse dwmw2 at infradead.org
Sat Jan 15 17:23:00 PST 2011


On Sat, 2011-01-15 at 16:34 -0800, Mohamed Abbas wrote:
>  if OPENCONNECT_BUILTIN
>  builtin_sources += plugins/vpn.c plugins/vpn.h
>  else
>  if OPENVPN_BUILTIN
>  builtin_sources += plugins/vpn.c plugins/vpn.h
> +else
> +if VPNC_BUILTIN
> +builtin_sources += plugins/vpn.c plugins/vpn.h
> +endif
>  endif
>  endif

My version tidied that up a little.

> +if VPNC
> +script_PROGRAMS += scripts/vpnc-script
> +
> +scripts_vpnc_script_LDADD = @DBUS_LIBS@
> +endif

You shouldn't need a separate vpnc-script; the openconnect-script should
be enough.

> +AC_ARG_WITH(vpnc, AC_HELP_STRING([--with-pptp=PROGRAM],
> +	[specify location of pptp binary]), [path_pptp=${withval}])

You're working on pptp too? :)

If you are *also* working on l2tp, I should be able to test that at some
point.

-- 
dwmw2




More information about the connman mailing list