Makes the build system to look for yajl using a macro file

Now searching for yajl using find_yajl.m4 macro file instead
of using pkg-config directly. If YAJL was not found or if it
was disabled in the configure phase, the code will be compiled
without JSON support.
This commit is contained in:
Felipe Zimmerle
2013-12-03 13:41:08 -08:00
committed by Felipe Zimmerle
parent e90874a694
commit 8d4c3e4f5c
10 changed files with 242 additions and 26 deletions

View File

@@ -699,7 +699,8 @@ CHECK_CURL()
fi
# Check for YAJL libs (for JSON body processor)
AC_SEARCH_LIBS([yajl_alloc], [yajl])
CHECK_YAJL()
#AC_SEARCH_LIBS([yajl_alloc], [yajl])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([tools/Makefile])