Removes LMDB from the default configuration options

This commit is contained in:
Felipe Zimmerle 2017-05-10 12:50:38 -03:00
parent b4bc52f670
commit ae216245c5
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -97,6 +97,10 @@ if test -z "${LMDB_LDADD}"; then
AC_MSG_ERROR([LMDB was explicitly referenced but it was not found])
LMDB_FOUND=-1
fi
else
if test -z "${LMDB_MANDATORY}"; then
LMDB_FOUND=2
AC_MSG_NOTICE([LMDB is disabled by default.])
else
LMDB_FOUND=1
AC_MSG_NOTICE([using LMDB v${LMDB_VERSION}])
@ -109,6 +113,7 @@ else
AC_SUBST(LMDB_CFLAGS)
AC_SUBST(LMDB_DISPLAY)
fi
fi
AC_SUBST(LMDB_FOUND)