aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer2011-05-06 04:28:12 +0200
committerMichael Niedermayer2011-05-06 04:28:23 +0200
commit6dc30b25c5513f6f02077825411377e167415d52 (patch)
treed4423dfee6fa9438105f5cc82d7033165012ea76 /configure
parent187528441ab936c102b8e72f38925cc10fc14abc (diff)
parent762f95e4cbccad7f31607e5c0163d097b01332dc (diff)
Merge remote branch 'qatar/master'
* qatar/master: configure: warn if pkg-config is missing Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 3d08cb4d5b..11fb7f8837 100755
--- a/configure
+++ b/configure
@@ -1857,6 +1857,11 @@ set_default cc nm pkg_config strip sysinclude
enabled cross_compile || host_cc_default=$cc
set_default host_cc
+if ! $pkg_config --version >/dev/null 2>&1; then
+ warn "$pkg_config not found, library detection may fail."
+ pkg_config=false
+fi
+
exesuf() {
case $1 in
mingw32*|cygwin*|*-dos|freedos|opendos|os/2*|symbian) echo .exe ;;