From 63fe2bfa3376ae3d21692e48f8153cc739004b37 Mon Sep 17 00:00:00 2001 From: Jean-Francois SMIGIELSKI Date: Thu, 3 Sep 2015 13:46:52 +0200 Subject: [PATCH] openio: configure.ac and backend adaptedd to the latest release. --- configure.ac | 8 ++++---- imap/objectstore_openio.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 907c9185d0..be0cd5a0d9 100644 --- a/configure.ac +++ b/configure.ac @@ -324,18 +324,18 @@ if test "$use_openio" = "yes"; then LDFLAGS="$LDFLAGS -L$with_openio_lib" CFLAGS="$CFLAGS -I$with_openio_inc" - openio_headers="oio_sds.h metautils/lib/hc_url.h" + openio_headers="oio_sds.h core/oiourl.h" for h in $openio_headers; do AC_CHECK_HEADER($h,[],[ AC_MSG_ERROR([Header $h is missing.]) ]) done AC_CHECK_LIB([oiosds],[oio_error_free],[],[AC_MSG_ERROR([Library oiosds not found.])]) - AC_CHECK_LIB([metautils],[hc_url_empty],[],[AC_MSG_ERROR([Library metautils not found.])]) + AC_CHECK_LIB([oiocore],[oio_url_empty],[],[AC_MSG_ERROR([Library oiocore not found.])]) AC_CHECK_LIB([curl],[curl_version],[],[AC_MSG_ERROR([Library curl not found.])]) - AC_CHECK_LIB([neon],[ne_move],[],[AC_MSG_ERROR([Library neon not found.])]) + AC_CHECK_LIB([json-c],[json_tokener_parse_ex],[],[AC_MSG_ERROR([Library json-c not found.])]) - LDFLAGS="$LDFLAGS -L$with_openio_lib -loiosds -lmetautils -lgridclient -lcurl -lneon" + LDFLAGS="$LDFLAGS -L$with_openio_lib -loiosds -loiocore -lcurl -ljson-c" fi dnl End OpenIO Detection AM_CONDITIONAL([WITH_OPENIO], [test "$use_openio" = "yes"]) diff --git a/imap/objectstore_openio.c b/imap/objectstore_openio.c index 8adf61061e..9d4445358e 100644 --- a/imap/objectstore_openio.c +++ b/imap/objectstore_openio.c @@ -45,7 +45,7 @@ #include #include -#include +#include #include #include "mailbox.h"