From 5bbbce97de441f908dfdb738f8816b31153b75b4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 2 Jan 2009 22:16:44 +0100 Subject: Add configure switch for HUAWEI support --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 77197de7..f114c114 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)) -- cgit v1.2.3