mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Merge pull request #2596 from ffontaine/v3/master
build/libmaxmind.m4: fix build with host-pkgconf
This commit is contained in:
commit
e56f53b719
@ -60,12 +60,10 @@ else
|
|||||||
# Nothing about MaxMind was informed, using the pkg-config to figure things out.
|
# Nothing about MaxMind was informed, using the pkg-config to figure things out.
|
||||||
if test -n "${PKG_CONFIG}"; then
|
if test -n "${PKG_CONFIG}"; then
|
||||||
MAXMIND_PKG_NAME=""
|
MAXMIND_PKG_NAME=""
|
||||||
for x in ${MAXMIND_POSSIBLE_LIB_NAMES}; do
|
if ${PKG_CONFIG} --exists libmaxminddb; then
|
||||||
if ${PKG_CONFIG} --exists ${x}; then
|
MAXMIND_PKG_NAME="libmaxminddb"
|
||||||
MAXMIND_PKG_NAME="$x"
|
break
|
||||||
break
|
fi
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
AC_MSG_NOTICE([Nothing about MaxMind was informed during the configure phase. Trying to detect it on the platform...])
|
AC_MSG_NOTICE([Nothing about MaxMind was informed during the configure phase. Trying to detect it on the platform...])
|
||||||
if test -n "${MAXMIND_PKG_NAME}"; then
|
if test -n "${MAXMIND_PKG_NAME}"; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user