added json unit tests

This commit is contained in:
TLINDEN
2015-07-08 23:51:40 +02:00
parent 16e4981245
commit 5301734f23
4 changed files with 266 additions and 1 deletions

View File

@@ -232,11 +232,14 @@ AC_ARG_WITH([json],
if test "x$search_json" = "xyes"; then
# use pkg only
# FIXME: search
_have_json="yes"
LDFLAGS="$LDFLAGS -ljansson"
CFLAGS="$CFLAGS -DHAVE_JSON=1"
fi
AM_CONDITIONAL([BUILDJSON], [test "x$_have_json" = "xyes"])
# Check for some target-specific stuff
case "$host" in