aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-09-03 22:15:23 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-09-04 09:47:06 +0200
commit7f9e893f56db52078e0f46677ed337b2e25fa94d (patch)
tree1d2e39886fc444a2e2b3b31ef94fd6f8e3bca701 /configure
parentaf11fa5409cc72fc45ca7f3527400beca10967b9 (diff)
downloadffmpeg-7f9e893f56db52078e0f46677ed337b2e25fa94d.tar.gz
build: Report an error message when a pc file is not found
Ease tracking path problems.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 11005ab320..a0d2d544cb 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 "$@" &&