mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
build: Searching for LMDB during the configuration phase
This commit is contained in:
22
configure.ac
22
configure.ac
@@ -94,6 +94,10 @@ PROG_GEOIP
|
||||
AM_CONDITIONAL([GEOIP_CFLAGS], [test "GEOIP_CFLAGS" != ""])
|
||||
|
||||
|
||||
# Check for LMDB
|
||||
PROG_LMDB
|
||||
AM_CONDITIONAL([LMDB_CFLAGS], [test "LMDB_CFLAGS" != ""])
|
||||
|
||||
#
|
||||
# Check for curl
|
||||
#
|
||||
@@ -373,6 +377,24 @@ if test "x$YAJL_FOUND" = "x2"; then
|
||||
fi
|
||||
|
||||
|
||||
## LMDB
|
||||
if test "x$LMDB_FOUND" = "x0"; then
|
||||
echo " + LMDB ....not found"
|
||||
fi
|
||||
if test "x$LMDB_FOUND" = "x1"; then
|
||||
echo -n " + LMDB ....found "
|
||||
if ! test "x$LMDB_VERSION" = "x"; then
|
||||
echo "v${LMDB_VERSION}"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
echo " ${LMDB_DISPLAY}"
|
||||
fi
|
||||
if test "x$LMDB_FOUND" = "x2"; then
|
||||
echo " + LMDB ....disabled"
|
||||
fi
|
||||
|
||||
|
||||
## libxml2
|
||||
if test "x$LIBXML2_FOUND" = "x0"; then
|
||||
echo " + LibXML2 ....not found"
|
||||
|
Reference in New Issue
Block a user