From patchwork Mon Aug 3 12:45:57 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 30508 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id E7537B6F31 for ; Mon, 3 Aug 2009 23:02:37 +1000 (EST) Received: from localhost ([127.0.0.1]:52101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXxBS-0007KR-A1 for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 09:02:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXwyn-00035Y-HN for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXwye-00030C-P7 for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:25 -0400 Received: from [199.232.76.173] (port=51638 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXwye-0002zu-EG for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:20 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40749) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXwyd-0006pu-6i for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:19 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n73CnI96006358; Mon, 3 Aug 2009 08:49:18 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n73CnH8n025933; Mon, 3 Aug 2009 08:49:17 -0400 Received: from localhost.localdomain (vpn-12-117.rdu.redhat.com [10.11.12.117]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n73Cn8MA009715; Mon, 3 Aug 2009 08:49:16 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 3 Aug 2009 14:45:57 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: aliguori@us.ibm.com Subject: [Qemu-devel] [PATCH 06/81] remove not needed rt variable X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- configure | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 2594bb2..9f6ce79 100755 --- a/configure +++ b/configure @@ -1376,21 +1376,15 @@ fi ########################################## # Do we need librt -CLOCKLIBS="" cat > $TMPC < #include int main(void) { clockid_t id; return clock_gettime(id, NULL); } EOF -rt=no if $cc $ARCH_CFLAGS -o $TMPE $TMPC > /dev/null 2> /dev/null ; then - : + CLOCKLIBS="" elif $cc $ARCH_CFLAGS -o $TMPE $TMPC -lrt > /dev/null 2> /dev/null ; then - rt=yes -fi - -if test "$rt" = "yes" ; then CLOCKLIBS="-lrt" fi