From patchwork Tue May 14 21:53:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Roth X-Patchwork-Id: 243840 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 86F5D2C00A4 for ; Wed, 15 May 2013 07:57:52 +1000 (EST) Received: from localhost ([::1]:60232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcNEE-0001QB-N4 for incoming@patchwork.ozlabs.org; Tue, 14 May 2013 17:57:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcNCB-00072G-II for qemu-devel@nongnu.org; Tue, 14 May 2013 17:55:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcNC9-0003sj-RB for qemu-devel@nongnu.org; Tue, 14 May 2013 17:55:43 -0400 Received: from mail-ie0-x229.google.com ([2607:f8b0:4001:c03::229]:32916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcNC9-0003sX-M2; Tue, 14 May 2013 17:55:41 -0400 Received: by mail-ie0-f169.google.com with SMTP id u16so2225769iet.14 for ; Tue, 14 May 2013 14:55:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:mime-version:content-type :content-transfer-encoding; bh=/utupaVP5/E1u7BLilnAIXOgkh/IMXC9hZ/K72yN+hc=; b=aygeb9LsH4bCzMrThL2bujwq/RV+6YF50AGJmyuJehIl1wSj+Q/ud3rCro5P/y5icP AC2CDRrH1IrOLVrYRB1o2zm04epct1Y92PevKYXB1qRky8LcEvSR5rsrQYAtqFS+8RnS NCxAZqRUHVuFcAbwKJEmQoU8KXEovMfczkcTdwcgZhxkRXYHsnZeZMQghvwAE+7PUyYn cf/GxVY74Ib4m2WWk1zwG1Z9TgwaEhv7VjYzYzCrgAwiqob+ggwq7HdNqpU8OC4kfGiN Nidsna+4vZhL1C9RKhxaZ9NVBCPni7HCqoGOEk+hV+kCaEYEqe1EGWHn4sc6J/0CgQ+j brtA== X-Received: by 10.42.90.72 with SMTP id j8mr18284083icm.34.1368568540917; Tue, 14 May 2013 14:55:40 -0700 (PDT) Received: from localhost (cpe-72-177-121-217.austin.res.rr.com. [72.177.121.217]) by mx.google.com with ESMTPSA id qs4sm135688igb.10.2013.05.14.14.55.39 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 14 May 2013 14:55:40 -0700 (PDT) From: Michael Roth To: qemu-devel@nongnu.org Date: Tue, 14 May 2013 16:53:03 -0500 Message-Id: <1368568392-2127-7-git-send-email-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1368568392-2127-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1368568392-2127-1-git-send-email-mdroth@linux.vnet.ibm.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::229 Cc: aliguori@us.ibm.com, qemu-stable@nongnu.org Subject: [Qemu-devel] [PATCH 06/15] 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 From: Andreas Färber 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 Signed-off-by: Michael Tokarev (cherry picked from commit 372e47e9b5e31c493823d7f512716644fb02d0fd) Signed-off-by: Michael Roth --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index e7468a9..d7a39cc 100755 --- a/configure +++ b/configure @@ -1435,6 +1435,7 @@ fi 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