build: Report an error message when a pc file is not found

Ease tracking path problems.
This commit is contained in:
Luca Barbato 2013-09-03 22:15:23 +02:00
parent af11fa5409
commit 7f9e893f56
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -885,7 +885,7 @@ check_pkg_config(){
headers="$2"
funcs="$3"
shift 3
$pkg_config --exists $pkg || return
check_cmd $pkg_config --exists --print-errors $pkg || return
pkg_cflags=$($pkg_config --cflags $pkg)
pkg_libs=$($pkg_config --libs $pkg)
check_func_headers "$headers" "$funcs" $pkg_cflags $pkg_libs "$@" &&