diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-10-08 13:05:47 +0900 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-10-10 14:40:28 +0200 |
commit | 3f97b2d8aa4f0633249fa3b1b8499de929d70b37 (patch) | |
tree | e32e932840f83eded8e918e0893aa3c69f9ad123 /configure.ac | |
parent | 9856478957f315b63cd273d8d76589bb38daf2de (diff) | |
download | connman-3f97b2d8aa4f0633249fa3b1b8499de929d70b37.tar.gz connman-3f97b2d8aa4f0633249fa3b1b8499de929d70b37.tar.bz2 connman-3f97b2d8aa4f0633249fa3b1b8499de929d70b37.zip |
Fix more WiMAX SDK API compat breakage from 1.4 to 1.5
These deal with types that were messed up in the version
iteration. These are autoconf checks plus stubs in iwmx.h.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 25ada261..7b988423 100644 --- a/configure.ac +++ b/configure.ac @@ -223,6 +223,8 @@ if (test "${enable_iwmx}" = "yes"); then PKG_CONFIG_PATH="" AC_SUBST(IWMXSDK_CFLAGS) AC_SUBST(IWMXSDK_LIBS) + + # Fix API compat breakage from 1.4 to 1.5... CPPFLAGS_save=$CPPFLAGS CPPFLAGS="$IWMXSDK_CFLAGS $CPPFLAGS" AH_TEMPLATE([HAVE_IWMXSDK_STATUS_IDLE], @@ -231,6 +233,36 @@ if (test "${enable_iwmx}" = "yes"); then [AC_DEFINE([HAVE_IWMXSDK_STATUS_IDLE], [1], [])], [], [[#include <WiMaxType.h>]]) + + AH_TEMPLATE([HAVE_WIMAX_API_DEVICE_ID], + [WIMAX_API_DEVICE_ID is present]) + AC_CHECK_TYPE(WIMAX_API_DEVICE_ID, + [AC_DEFINE([HAVE_WIMAX_API_DEVICE_ID], [1], [])], + [], + [[#include <WiMaxType.h>]]) + + AH_TEMPLATE([HAVE_WIMAX_API_HW_DEVICE_ID], + [WIMAX_API_HW_DEVICE_ID is present]) + AC_CHECK_TYPE(WIMAX_API_HW_DEVICE_ID, + [AC_DEFINE([HAVE_WIMAX_API_HW_DEVICE_ID], [1], [])], + [], + [[#include <WiMaxType.h>]]) + + AH_TEMPLATE([HAVE_WIMAX_API_NSP_INFO_EX], + [WIMAX_API_NSP_INFO_EX is present]) + AC_CHECK_TYPE(WIMAX_API_NSP_INFO_EX, + [AC_DEFINE([HAVE_WIMAX_API_NSP_INFO_EX], [1], [])], + [], + [[#include <WiMaxType.h>] + [#include <WiMaxTypesEx.h>]]) + + AH_TEMPLATE([HAVE_WIMAX_API_CONNECTED_NSP_INFO], + [WIMAX_API_CONNECTED_NSP_INFO is present]) + AC_CHECK_TYPE(WIMAX_API_CONNECTED_NSP_INFO, + [AC_DEFINE([HAVE_WIMAX_API_CONNECTED_NSP_INFO], [1], [])], + [], + [[#include <WiMaxType.h>]]) + CPPFLAGS=$CPPFLAGS_save fi AM_CONDITIONAL(IWMX, test "${enable_iwmx}" = "yes") |