summaryrefslogtreecommitdiff
authorLuca Barbato <lu_zero@gentoo.org>2013-09-03 20:15:23 (GMT)
committer Luca Barbato <lu_zero@gentoo.org>2013-09-04 07:47:06 (GMT)
commit7f9e893f56db52078e0f46677ed337b2e25fa94d (patch)
tree1d2e39886fc444a2e2b3b31ef94fd6f8e3bca701
parentaf11fa5409cc72fc45ca7f3527400beca10967b9 (diff)
downloadffmpeg-7f9e893f56db52078e0f46677ed337b2e25fa94d.zip
ffmpeg-7f9e893f56db52078e0f46677ed337b2e25fa94d.tar.gz
ffmpeg-7f9e893f56db52078e0f46677ed337b2e25fa94d.tar.bz2
build: Report an error message when a pc file is not found
Ease tracking path problems.
Diffstat
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 11005ab..a0d2d54 100755
--- a/configure
+++ b/configure
@@ -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 "$@" &&