use --exists for pkg-config checking.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-10-28 04:25:37 +07:00
parent ad767dd4ac
commit 264c2fc470

View file

@ -62,7 +62,7 @@ fi
set -e
# check webkitgtk existence
webkit=`pkg-config --libs webkit-1.0`
webkit=`pkg-config --exists webkit-1.0`
if [ $webkit -eq 0 ]; then
epub="--enable-epub"
else