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