configure: fix pkg-config invocation
The code was already probing $PKGCONFIG but then still falls back to using the hardcoded `pkg-config` tool.
This commit is contained in:
parent
ae0efd3d74
commit
48842cb07b
1 changed files with 1 additions and 1 deletions
|
|
@ -1597,7 +1597,7 @@ else
|
|||
|
||||
if test -z "$JSCORELIB" -a -n "$PKGCONFIG"; then
|
||||
AC_MSG_CHECKING(for JavaScriptCore/Webkit library)
|
||||
if pkg-config javascriptcoregtk-1.0; then
|
||||
if $PKGCONFIG javascriptcoregtk-1.0; then
|
||||
JSCORELIB=`$PKGCONFIG --libs javascriptcoregtk-1.0`
|
||||
JSCOREVERSION=`$PKGCONFIG --modversion javascriptcoregtk-1.0`
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue