Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from jfsmig/Cyrus-OpenIO
Browse files Browse the repository at this point in the history
openio: configure.ac and backend adapted to the latest stable release.
  • Loading branch information
RaymondPo committed Sep 3, 2015
2 parents 09c5cba + 63fe2bf commit 54c8bf1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down
2 changes: 1 addition & 1 deletion imap/objectstore_openio.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#include <errno.h>
#include <syslog.h>

#include <metautils/lib/hc_url.h>
#include <core/oiourl.h>
#include <oio_sds.h>

#include "mailbox.h"
Expand Down

0 comments on commit 54c8bf1

Please sign in to comment.