qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 06/42] remove not needed rt variable


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 06/42] remove not needed rt variable
Date: Thu, 30 Jul 2009 04:07:01 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 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 <<EOF
 #include <signal.h>
 #include <time.h>
 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]