From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWL5b-0006wl-6H for qemu-devel@nongnu.org; Wed, 29 Jul 2009 22:09:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWL5U-0006pd-O5 for qemu-devel@nongnu.org; Wed, 29 Jul 2009 22:09:48 -0400 Received: from [199.232.76.173] (port=47298 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWL5U-0006pR-H6 for qemu-devel@nongnu.org; Wed, 29 Jul 2009 22:09:44 -0400 Received: from mx2.redhat.com ([66.187.237.31]:50779) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWL5T-00053z-Vf for qemu-devel@nongnu.org; Wed, 29 Jul 2009 22:09:44 -0400 From: Juan Quintela Date: Thu, 30 Jul 2009 04:07:01 +0200 Message-Id: <2ee62265bcae49d9e60f0743e2c5eb01af84b767.1248918837.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH 06/42] remove not needed rt variable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com Signed-off-by: Juan Quintela --- configure | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 47e846b..f152d46 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 -- 1.6.2.5