Skip to content
Snippets Groups Projects
Commit 899944fa3060 authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

Fix build with older pkg-config versions

The PKG_CHECK_VAR macro was introduced in pkg-config 0.28. Guard the
invocation with m4_ifdef.

Fixes #374.
parent b5e6fd589f74
No related branches found
No related tags found
No related merge requests found
......@@ -1226,7 +1226,8 @@
[have_libicu=no])
if test "x$have_libicu" = "xyes"; then
PKG_CHECK_VAR([ICU_DEFS], [icu-i18n], [DEFS])
m4_ifdef([PKG_CHECK_VAR],
[PKG_CHECK_VAR([ICU_DEFS], [icu-i18n], [DEFS])])
if test "x$ICU_DEFS" != "x"; then
CPPFLAGS="$CPPFLAGS $ICU_DEFS"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment