Patchwork configure: Earlier pkg-config probe

login
register
mail settings
Submitter Stefan Weil
Date Dec. 16, 2012, 10:29 a.m.
Message ID <1355653785-2668-1-git-send-email-sw@weilnetz.de>
Download mbox | patch
Permalink /patch/206672/
State Accepted
Headers show

Comments

Stefan Weil - Dec. 16, 2012, 10:29 a.m.
Probe pkg-config before it is used for the first time (libseccomp check).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 configure |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
Stefan Hajnoczi - Dec. 18, 2012, 4:41 p.m.
On Sun, Dec 16, 2012 at 11:29:45AM +0100, Stefan Weil wrote:
> Probe pkg-config before it is used for the first time (libseccomp check).
> 
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>  configure |   16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches

Stefan

Patch

diff --git a/configure b/configure
index ecdb33a..728caca 100755
--- a/configure
+++ b/configure
@@ -1360,6 +1360,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
 
 if test "$nptl" != "no" ; then
@@ -1590,14 +1598,6 @@  if test "$xen_pci_passthrough" != "no"; then
 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
 
 if ! has $libtool; then