From patchwork Sun Apr 28 14:27:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 240251 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 2763E2C00BD for ; Mon, 29 Apr 2013 00:27:52 +1000 (EST) Received: from localhost ([::1]:35559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWSZy-0003l2-6g for incoming@patchwork.ozlabs.org; Sun, 28 Apr 2013 10:27:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWSZh-0003kl-Jw for qemu-devel@nongnu.org; Sun, 28 Apr 2013 10:27:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWSZg-0002au-PT for qemu-devel@nongnu.org; Sun, 28 Apr 2013 10:27:33 -0400 Received: from cantor2.suse.de ([195.135.220.15]:33234 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWSZg-0002ak-JL; Sun, 28 Apr 2013 10:27:32 -0400 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7A24E5E00020A; Sun, 28 Apr 2013 16:27:31 +0200 (CEST) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: qemu-devel@nongnu.org Date: Sun, 28 Apr 2013 16:27:26 +0200 Message-Id: <1367159247-13441-1-git-send-email-afaerber@suse.de> X-Mailer: git-send-email 1.8.1.4 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 195.135.220.15 Cc: qemu-trivial@nongnu.org, qemu-stable@nongnu.org, agraf@suse.de, =?UTF-8?q?Andreas=20F=C3=A4rber?= , brogers@suse.com Subject: [Qemu-devel] [PATCH for-1.5] configure: Pick up libseccomp include path 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 openSUSE 12.3 has seccomp.h in /usr/include/libseccomp-1.0.1, so add `pkg-config --cflags libseccomp` output to QEMU_CFLAGS. Cc: qemu-stable@nongnu.org Signed-off-by: Andreas Färber --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 21438d4..643153f 100755 --- a/configure +++ b/configure @@ -1505,6 +1505,7 @@ libs_softmmu="$libs_softmmu -lz" if test "$seccomp" != "no" ; then if $pkg_config --atleast-version=1.0.0 libseccomp --modversion >/dev/null 2>&1; then libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`" + QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`" seccomp="yes" else if test "$seccomp" = "yes"; then