summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-05-06 03:27:53 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-05-06 03:27:53 +0200
commitcde55897178fb79d194f9f4951a220fb7ca4cda9 (patch)
tree1d64798773e321b878932cbc02b79a58488da60a
parentccd77fe59bba01ae791f84cb08a3eff0cd76c11e (diff)
Silence a warning if pkg_config is not installed.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index da58c24ed8..3d08cb4d5b 100755
--- a/configure
+++ b/configure
@@ -761,7 +761,7 @@ check_pkg_config(){
headers="$2"
funcs="$3"
shift 3
- $pkg_config --exists $pkg || return
+ $pkg_config --exists $pkg 2>/dev/null || return
pkg_cflags=$($pkg_config --cflags $pkg)
pkg_libs=$($pkg_config --libs $pkg)
check_func_headers "$headers" "$funcs" $pkg_cflags $pkg_libs "$@" &&