configure.ac: enforce pkgconf-2.4.3.exe on windows/error if not found
protect the users from themselves, too many don't see/respect the warning message and picking up pkgconf/pkg-config from cygwin or the wsl distro just won't work with the windows-style path needed for meson. Change-Id: Ib3748587c6134f0e90d4772d507d44be5894a69f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184986 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
This commit is contained in:
+3
-2
@@ -696,8 +696,9 @@ if test "$build_os" = "cygwin" -o -n "$WSL_ONLY_AS_HELPER"; then
|
||||
# that would already set the PKG_CONFIG var and then bypass/skip this autoselection
|
||||
AC_PATH_PROG(PKG_CONFIG,pkgconf-2.4.3.exe,,[$PATH:$LODE_HOME/opt/bin])
|
||||
if test -z "$PKG_CONFIG"; then
|
||||
AC_MSG_WARN([pkgconf-2.4.3.exe not found - A windows version of pkgconf is required to build harfbuzz])
|
||||
add_warning "please add PKG_CONFIG=/path/to/pkgconf-2.4.3.exe to autogen.input or put it in PATH, a windows version of pkgconf is required to build harfbuzz"
|
||||
AC_MSG_ERROR([
|
||||
A windows version of pkgconf is required to build harfbuzz.
|
||||
Add PKG_CONFIG=/path/to/pkgconf-2.4.3.exe to autogen.input or put it in PATH])
|
||||
fi
|
||||
else
|
||||
case "$build_os" in
|
||||
|
||||
Reference in New Issue
Block a user