Commit 1ccd9ecb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Mozilla: do not check for "" pkg-config file

parent 292bee9e
......@@ -4555,16 +4555,19 @@ then
else
if test -n "$PKG_CONFIG"; then
for i in "${with_mozilla_pkg}" libxul {seamonkey,iceape,xulrunner,firefox,iceweasel,mozilla}-plugin; do
echo "Trying to find $i.pc files" >&5
if test -n "$i"
then
echo "Trying to find $i package" >&5
if $PKG_CONFIG --exists --print-errors "$i" 2>&5
then
echo "Using $i.pc files." >&5
echo "Using $i.pc files." >&6
echo "Using $i pkg-config package." >&5
echo "Using $i package." >&6
found=1
MOZILLA_CFLAGS=$(eval $PKG_CONFIG --cflags "$i" )
MOZILLA_LIBS=$(eval $PKG_CONFIG --libs "$i" )
break
fi
fi
done
fi
fi
......
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