[ac] drop old libjson compatibility

json-c >= 0.11 is required now
This commit is contained in:
Andreas Schultz 2016-03-14 11:47:43 +01:00
parent 64012e792c
commit 7293ce43da
6 changed files with 9 additions and 14 deletions

View File

@ -183,15 +183,10 @@ if test "${enable_ac}" = "yes"; then
test "x${have_wolfssl_ssl}" != "xyes" && AC_MSG_ERROR(You need the wolfssl library)
PKG_CHECK_MODULES(
[LIBJSON],
[json-c >= 0.11],
[],
[PKG_CHECK_MODULES(
[LIBJSON],
[json >= 0.9],
[],
[AC_MSG_ERROR(You need the libjson)]
)]
[LIBJSON],
[json-c >= 0.11],
[],
[AC_MSG_ERROR(You need the libjson)]
)
# Check XML2 library

View File

@ -14,7 +14,7 @@
#include <pthread.h>
#include <linux/if_ether.h>
#include <json/json.h>
#include <json-c/json.h>
#include <ac_kmod.h>

View File

@ -4,7 +4,7 @@
#include "ac_session.h"
#include "ac_json.h"
#include "ac_wlans.h"
#include <json/json.h>
#include <json-c/json.h>
#include <arpa/inet.h>
/* */

View File

@ -3,7 +3,7 @@
#include "capwap_array.h"
#include "ac_session.h"
#include "ac_json.h"
#include <json/json.h>
#include <json-c/json.h>
/* */
static struct ac_soap_response* ac_dfa_state_datacheck_parsing_request(struct ac_session_t* session, struct capwap_parsed_packet* packet) {

View File

@ -4,7 +4,7 @@
#include "ac_session.h"
#include "ac_backend.h"
#include "ac_json.h"
#include <json/json.h>
#include <json-c/json.h>
#include <arpa/inet.h>
/* */

View File

@ -2,7 +2,7 @@
#define __AC_JSON_HEADER__
#include "capwap_array.h"
#include <json/json.h>
#include <json-c/json.h>
#define IEEE80211_BINDING_JSON_ROOT "WTPRadio"