mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +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.
|
||||
if test -n "${PKG_CONFIG}"; then
|
||||
MAXMIND_PKG_NAME=""
|
||||
for x in ${MAXMIND_POSSIBLE_LIB_NAMES}; do
|
||||
if ${PKG_CONFIG} --exists ${x}; then
|
||||
MAXMIND_PKG_NAME="$x"
|
||||
break
|
||||
fi
|
||||
done
|
||||
if ${PKG_CONFIG} --exists libmaxminddb; then
|
||||
MAXMIND_PKG_NAME="libmaxminddb"
|
||||
break
|
||||
fi
|
||||
fi
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user