]> git.proxmox.com Git - mirror_qemu.git/commitdiff
configure: Earlier pkg-config probe
authorStefan Weil <sw@weilnetz.de>
Sun, 16 Dec 2012 10:29:45 +0000 (11:29 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 18 Dec 2012 16:40:40 +0000 (17:40 +0100)
Probe pkg-config before it is used for the first time (libseccomp check).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
configure

index ecdb33a58e5352a5ba1d0c1fe69960eee8f0a251..728caca0d0ee3cade6c2301e99be31b9bfc77006 100755 (executable)
--- a/configure
+++ b/configure
@@ -1359,6 +1359,14 @@ esac
 
 fi
 
+##########################################
+# pkg-config probe
+
+if ! has "$pkg_config_exe"; then
+  echo "Error: pkg-config binary '$pkg_config_exe' not found"
+  exit 1
+fi
+
 ##########################################
 # NPTL probe
 
@@ -1589,14 +1597,6 @@ if test "$xen_pci_passthrough" != "no"; then
   fi
 fi
 
-##########################################
-# pkg-config probe
-
-if ! has "$pkg_config_exe"; then
-  echo "Error: pkg-config binary '$pkg_config_exe' not found"
-  exit 1
-fi
-
 ##########################################
 # libtool probe