From 5bbbce97de441f908dfdb738f8816b31153b75b4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 2 Jan 2009 22:16:44 +0100 Subject: [PATCH] Add configure switch for HUAWEI support --- bootstrap-configure | 1 + configure.ac | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bootstrap-configure b/bootstrap-configure index 54926b4..67346d0 100755 --- a/bootstrap-configure +++ b/bootstrap-configure @@ -18,6 +18,7 @@ fi --sysconfdir=/etc \ --enable-loopback \ --enable-wifi \ + --enable-huawei \ --enable-hso \ --enable-ppp \ --enable-udev \ diff --git a/configure.ac b/configure.ac index 77197de..f114c11 100644 --- a/configure.ac +++ b/configure.ac @@ -62,13 +62,17 @@ if (test "${enable_wifi}" = "yes"); then fi AM_CONDITIONAL(WIFI, test "${enable_wifi}" = "yes") +AC_ARG_ENABLE(huawei, AC_HELP_STRING([--enable-huawei], + [enable HUAWEI support]), [enable_huawei=${enableval}]) +AM_CONDITIONAL(HUAWEI, test "${enable_huawei}" = "yes") + AC_ARG_ENABLE(hso, AC_HELP_STRING([--enable-hso], [enable HSO support]), [enable_hso=${enableval}]) AM_CONDITIONAL(HSO, test "${enable_hso}" = "yes") AC_ARG_ENABLE(ppp, AC_HELP_STRING([--enable-ppp], [enable PPP support]), [enable_ppp=${enableval}]) -if (test "${enable_ppp}" = "yes"); then +if (test "${enable_ppp}" = "yes" || test "${enable_huawei}" = "yes"); then AC_PATH_PROG(PPPD, [pppd], [], $PATH:/sbin:/usr/sbin) AC_CHECK_HEADERS(pppd/pppd.h, enable_ppp=yes, AC_MSG_ERROR(PPP development files are required)) -- 2.7.4