]> git.sesse.net Git - ffmpeg/blobdiff - configure
avformat: Use av_reallocp_array() where suitable
[ffmpeg] / configure
index 11005ab320faa0a725be005c77030ce05ea67292..a0d2d544cbb1c8159b1c1f9b590a9bba8bba99f3 100755 (executable)
--- 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 "$@" &&