From patchwork Sun Dec 16 10:29:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 206672 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 2B78C2C00A6 for ; Sun, 16 Dec 2012 21:30:14 +1100 (EST) Received: from localhost ([::1]:40216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkBU4-0000NK-2m for incoming@patchwork.ozlabs.org; Sun, 16 Dec 2012 05:30:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkBTr-0000Kv-SX for qemu-devel@nongnu.org; Sun, 16 Dec 2012 05:30:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TkBTp-0004VQ-3i for qemu-devel@nongnu.org; Sun, 16 Dec 2012 05:29:59 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:53604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkBTo-0004V9-TS; Sun, 16 Dec 2012 05:29:57 -0500 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id 949C97280040; Sun, 16 Dec 2012 11:29:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at weilnetz.de Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bM1j9VZXUemj; Sun, 16 Dec 2012 11:29:55 +0100 (CET) Received: by v220110690675601.yourvserver.net (Postfix, from userid 1000) id 2CB267280049; Sun, 16 Dec 2012 11:29:55 +0100 (CET) From: Stefan Weil To: qemu-trivial@nongnu.org Date: Sun, 16 Dec 2012 11:29:45 +0100 Message-Id: <1355653785-2668-1-git-send-email-sw@weilnetz.de> X-Mailer: git-send-email 1.7.10.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 78.47.199.172 Cc: Stefan Weil , qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH] configure: Earlier pkg-config probe X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Probe pkg-config before it is used for the first time (libseccomp check). Signed-off-by: Stefan Weil --- configure | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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