summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Denemark <Jiri.Denemark@gmail.com>2011-01-24 13:20:29 +0100
committerGerd Hoffmann <kraxel@redhat.com>2011-01-24 15:41:40 +0100
commit098d8a72a91f4992d646655de4e025ce44e457eb (patch)
tree29498f9c10275b0b265db31802ea77c7e8f9c889
parent16ec6c04a490cf731ed0ab047f3fd0a72725b48d (diff)
downloadqemu-098d8a72a91f4992d646655de4e025ce44e457eb.tar.gz
qemu-098d8a72a91f4992d646655de4e025ce44e457eb.tar.bz2
qemu-098d8a72a91f4992d646655de4e025ce44e457eb.zip
configure: Fix spice probe
Non-existent $pkgconfig instead of $pkg_config was used when configure probes for spice availability. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 210670c16f..dc469b2001 100755
--- a/configure
+++ b/configure
@@ -2207,9 +2207,9 @@ if test "$spice" != "no" ; then
#include <spice.h>
int main(void) { spice_server_new(); return 0; }
EOF
- spice_cflags=$($pkgconfig --cflags spice-protocol spice-server 2>/dev/null)
- spice_libs=$($pkgconfig --libs spice-protocol spice-server 2>/dev/null)
- if $pkgconfig --atleast-version=0.5.3 spice-server >/dev/null 2>&1 && \
+ spice_cflags=$($pkg_config --cflags spice-protocol spice-server 2>/dev/null)
+ spice_libs=$($pkg_config --libs spice-protocol spice-server 2>/dev/null)
+ if $pkg_config --atleast-version=0.5.3 spice-server >/dev/null 2>&1 && \
compile_prog "$spice_cflags" "$spice_libs" ; then
spice="yes"
libs_softmmu="$libs_softmmu $spice_libs"