Skip to content

Commit 0c0e4a2

Browse files
authored
Merge branch 'v3/master' into v3/master
2 parents af860e2 + 503804b commit 0c0e4a2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ v3.x.y - YYYY-MMM-DD (to be released)
33

44
- Support comments in ipMatchFromFile file via '#' token
55
[Issue #2554 - @tomsommer, @martinhsv]
6+
- Use name package name libmaxminddb with pkg-config
7+
[Issue #2595, #2596 - @frankvanbever, @ffontaine, @arnout]
68
- Fix: FILES_TMP_CONTENT collection key should use part name
79
[Issue #2831 - @airween]
810
- Use AS_HELP_STRING instead of obsolete AC_HELP_STRING macro

build/libmaxmind.m4

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,10 @@ else
6060
# Nothing about MaxMind was informed, using the pkg-config to figure things out.
6161
if test -n "${PKG_CONFIG}"; then
6262
MAXMIND_PKG_NAME=""
63-
for x in ${MAXMIND_POSSIBLE_LIB_NAMES}; do
64-
if ${PKG_CONFIG} --exists ${x}; then
65-
MAXMIND_PKG_NAME="$x"
66-
break
67-
fi
68-
done
63+
if ${PKG_CONFIG} --exists libmaxminddb; then
64+
MAXMIND_PKG_NAME="libmaxminddb"
65+
break
66+
fi
6967
fi
7068
AC_MSG_NOTICE([Nothing about MaxMind was informed during the configure phase. Trying to detect it on the platform...])
7169
if test -n "${MAXMIND_PKG_NAME}"; then

0 commit comments

Comments
 (0)