From patchwork Mon Sep 30 15:04:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohamad Gebai X-Patchwork-Id: 279271 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id EEF892C00AD for ; Tue, 1 Oct 2013 07:26:44 +1000 (EST) Received: from localhost ([::1]:51654 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQkzK-0001Wm-Gt for incoming@patchwork.ozlabs.org; Mon, 30 Sep 2013 17:26:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQf2F-0005Ch-3W for qemu-devel@nongnu.org; Mon, 30 Sep 2013 11:05:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VQf26-0003xf-AG for qemu-devel@nongnu.org; Mon, 30 Sep 2013 11:05:19 -0400 Received: from mail-ie0-x22d.google.com ([2607:f8b0:4001:c03::22d]:34807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQf26-0003xa-5b for qemu-devel@nongnu.org; Mon, 30 Sep 2013 11:05:10 -0400 Received: by mail-ie0-f173.google.com with SMTP id ar20so10377482iec.4 for ; Mon, 30 Sep 2013 08:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fDNCkuQ5O7hZtfkepPMOvkj7KEWbZQAwW9Q5dpci0pU=; b=Tx6nJcjrQX8Hhkv3YB7qcSTxMiZcYXO/34jyWZCZNXoFQDOEy55ZnWZs7Ajf4dWI71 AwATCZwOKAYslwl5Z9tCzqq6Rsql31CNOsPO5ZuG1+IbAsG8v529OTwaQlZx3Uu1YsOX kYNCg+SB+GPPkAPVQMLsNbKfsdAhz3F0Vds9iYDQug3OQ8eoxAL2wkJ/0AmMQnSpbh3j JXOxLb4HpQkV8qCwCrJrc5HHs/gzjNtS0C3jOEyMTtE6X83UhAV0wTimXdJvFkimBdFh Lc7QoCwGbcTEuqI7DnUavEq3ZccQz9GCSeh0kxnadiZS4sQSnVj7eA5SFVuSOeOLbE6h Lgkw== X-Received: by 10.42.60.18 with SMTP id o18mr396125ich.83.1380553509494; Mon, 30 Sep 2013 08:05:09 -0700 (PDT) Received: from mogeb-Inspiron-7520.polymtl.ca (Sansfil-Public-Lassonde-221-222.polymtl.ca. [132.207.221.222]) by mx.google.com with ESMTPSA id cl4sm985349igc.1.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Sep 2013 08:05:09 -0700 (PDT) From: Mohamad Gebai To: qemu-devel@nongnu.org Date: Mon, 30 Sep 2013 11:04:59 -0400 Message-Id: <1380553501-20670-2-git-send-email-mohamad.gebai@polymtl.ca> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1380553501-20670-1-git-send-email-mohamad.gebai@polymtl.ca> References: <1380553501-20670-1-git-send-email-mohamad.gebai@polymtl.ca> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::22d X-Mailman-Approved-At: Mon, 30 Sep 2013 17:26:08 -0400 Cc: Mohamad Gebai Subject: [Qemu-devel] [RFC PATCH 1/3] Fix configure script for LTTng 2.x 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 Signed-off-by: Mohamad Gebai --- configure | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 05e16da..b3c9b80 100755 --- a/configure +++ b/configure @@ -3283,15 +3283,14 @@ fi # For 'ust' backend, test if ust headers are present if test "$trace_backend" = "ust"; then cat > $TMPC << EOF -#include -#include +#include int main(void) { return 0; } EOF if compile_prog "" "" ; then - LIBS="-lust -lurcu-bp $LIBS" - libs_qga="-lust -lurcu-bp $libs_qga" + LIBS="-llttng-ust -lurcu-bp -ldl $LIBS" + libs_qga="-llttng-ust -lurcu-bp -ldl $libs_qga" else - error_exit "Trace backend 'ust' missing libust header files" + error_exit "Trace backend 'ust' missing lttng-ust header files" fi fi