diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-02 22:16:44 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-02 22:16:44 +0100 |
commit | 5bbbce97de441f908dfdb738f8816b31153b75b4 (patch) | |
tree | 646256e9f489aee4d4835b59e71129c3173de206 | |
parent | 0a23309f85839e8cd1c65b53e8e5ff07bf588d4c (diff) | |
download | connman-5bbbce97de441f908dfdb738f8816b31153b75b4.tar.gz connman-5bbbce97de441f908dfdb738f8816b31153b75b4.tar.bz2 connman-5bbbce97de441f908dfdb738f8816b31153b75b4.zip |
Add configure switch for HUAWEI support
-rwxr-xr-x | bootstrap-configure | 1 | ||||
-rw-r--r-- | configure.ac | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bootstrap-configure b/bootstrap-configure index 54926b43..67346d07 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 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)) |