From ebc5ea0b80072b5026d8fb220208befd00bdd2c3 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 4 Apr 2014 11:19:40 -0400 Subject: ppp-manager: find pppd at build time, allow overriding Add --with-pppd, just like --with-dnsmasq. Also change "ppp" to "pppd" for clarity in a few places. --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2ca6aed586..4f51831075 100644 --- a/configure.ac +++ b/configure.ac @@ -537,6 +537,15 @@ else fi AC_SUBST(PPPD_PLUGIN_DIR) +AC_ARG_WITH(pppd, AS_HELP_STRING([--with-pppd=/path/to/pppd], [path to pppd binary])) +if test "x${with_pppd}" = x; then + AC_PATH_PROG(PPPD_PATH, pppd, [], $PATH:/sbin:/usr/sbin) +else + PPPD_PATH="$with_pppd" +fi +AC_DEFINE_UNQUOTED(PPPD_PATH, "$PPPD_PATH", [Define to path of pppd binary]) +AC_SUBST(PPPD_PATH) + # ModemManager1 with libmm-glib AC_ARG_WITH(modem-manager-1, AS_HELP_STRING([--with-modem-manager-1], [Enable new ModemManager1 interface support]),,[with_modem_manager_1=auto]) if (test "${with_modem_manager_1}" != "no"); then -- cgit v1.2.1