summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-03-09 14:41:58 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-03-09 14:41:58 +0100
commit3225efab82eb76cb4fd6b2e12b344f2746f4ba72 (patch)
tree027b512b5bdf7536b17f522b6e2a3eeffb68b9e6 /configure.ac
parentaf9e77603bf7cfd12ac5de15540712ceb93c761d (diff)
downloadconnman-3225efab82eb76cb4fd6b2e12b344f2746f4ba72.tar.gz
connman-3225efab82eb76cb4fd6b2e12b344f2746f4ba72.tar.bz2
connman-3225efab82eb76cb4fd6b2e12b344f2746f4ba72.zip
Check for libiWmxSdk-0 when enabling Intel WiMAX plugin
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 09bae924..9ad6824e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -206,7 +206,13 @@ AC_ARG_ENABLE(iospm, AC_HELP_STRING([--enable-iospm],
AM_CONDITIONAL(IOSPM, test "${enable_iospm}" = "yes")
AC_ARG_ENABLE(iwmxsdk, AC_HELP_STRING([--enable-iwmxsdk],
- [enable Intel WiMAX support]), [enable_iwmxsdk=${enableval}])
+ [enable Intel WiMAX support]), [enable_iwmxsdk=${enableval}])
+if (test "${enable_iwmxsdk}" = "yes"); then
+ PKG_CHECK_MODULES(IWMXSDK, libiWmxSdk-0, enable_iwmxsdk=yes,
+ AC_MSG_ERROR(Intel WiMAX SDK is required))
+ AC_SUBST(IWMXSDK_CFLAGS)
+ AC_SUBST(IWMXSDK_LIBS)
+fi
AM_CONDITIONAL(IWMXSDK, test "${enable_iwmxsdk}" = "yes")
AC_ARG_ENABLE(polkit, AC_HELP_STRING([--enable-polkit],