Commit d0932f4a authored by Philippe Groarke's avatar Philippe Groarke Committed by Tristan Matthews

daemon: fix pkg-config check for mingw

Test if empty first, so we don't override mingw pkg-config directory.

Refs #56437

Change-Id: Ifb3c918a434aa697f81c92965cdb614b50728dc4
parent 4ed5a895
......@@ -6,11 +6,10 @@ if test -z $AUTORECONF; then
exit 1
fi
PKGCONFIG=`which pkg-config`
if test -z $PKGCONFIG; then
echo "*** No pkg-config found, please install it ***"
# warn without exiting, since pkg-config is only needed
# by configure, not autogen.sh
if !"${PKG_CONFIG:-pkg-config}" --version >/dev/null 2>&1; then
echo "*** No pkg-config found, please install it ***"
# warn without exiting, since pkg-config is only needed
# by configure, not autogen.sh
fi
LIBTOOLIZE=`which libtoolize || which glibtoolize`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment