[FFmpeg-cvslog] build: Report an error message when a pc file is not found

Luca Barbato git at videolan.org
Wed Sep 4 13:41:17 CEST 2013


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Tue Sep  3 22:15:23 2013 +0200| [7f9e893f56db52078e0f46677ed337b2e25fa94d] | committer: Luca Barbato

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

Ease tracking path problems.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7f9e893f56db52078e0f46677ed337b2e25fa94d
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 "$@" &&



More information about the ffmpeg-cvslog mailing list