Skip to content
Snippets Groups Projects
Commit d0932f4a authored by Philippe Groarke's avatar Philippe Groarke Committed by Tristan Matthews
Browse files

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
Branches
Tags
No related merge requests found
......@@ -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`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment