mirror of
https://github.com/TurboGit/hubicfuse.git
synced 2026-08-02 02:42:00 +02:00
configure.ac: Check first for json as libjson-c.
cloudfsapi.c: Search include paths for json.h (cannot assume json/).
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@
|
||||
#include <libxml/tree.h>
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/evp.h>
|
||||
#include <json/json.h>
|
||||
#include <json.h>
|
||||
#include "cloudfsapi.h"
|
||||
#include "config.h"
|
||||
|
||||
|
||||
+2
-2
@@ -14,14 +14,14 @@ AC_PROG_INSTALL
|
||||
AC_PROG_MKDIR_P
|
||||
|
||||
# Checks that pkg-config is installed
|
||||
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
# Checks for libraries.
|
||||
PKG_CHECK_MODULES(XML, libxml-2.0, , AC_MSG_ERROR('Unable to find libxml2. Please make sure library and header files are installed.'))
|
||||
PKG_CHECK_MODULES(CURL, libcurl, , AC_MSG_ERROR('Unable to find libcurl. Please make sure library and header files are installed.'))
|
||||
PKG_CHECK_MODULES(FUSE, fuse, , AC_MSG_ERROR('Unable to find libfuse. Please make sure library and header files are installed.'))
|
||||
PKG_CHECK_MODULES(JSON, json, , AC_MSG_ERROR('Unable to find libjson. Please make sure library and header files are installed.'))
|
||||
PKG_CHECK_MODULES(JSON, json-c, ,
|
||||
PKG_CHECK_MODULES(JSON, json, , AC_MSG_ERROR('Unable to find libjson. Please make sure library and header files are installed.')))
|
||||
PKG_CHECK_MODULES(OPENSSL, openssl, , [])
|
||||
|
||||
# Checks for header files.
|
||||
|
||||
Reference in New Issue
Block a user