[Top][All Lists]
[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
- [Qemu-devel] [PATCH 00/42] More Makefile/configure simplification, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 01/42] strip binary is not used anywhere, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 02/42] oss variable don't exist anymore, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 03/42] Use CFLAGS from enviroment, ARCH_CFLAGS hasn't been defined yet, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 05/42] move check_linker_flags sooner than starting of printing variables, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 04/42] move cpu command line setting to the beggining, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 06/42] remove not needed rt variable,
Juan Quintela <=
- [Qemu-devel] [PATCH 07/42] move checks for bswap32/bswap_32 sooner than starting of printing variables, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 09/42] We want to add options at the beggining, not at the end of variables, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 08/42] move general CFLAGS/LDFLAGS definitions after last $cc run, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 10/42] Remove OS_{CFLAGS, LDFLAGS} and ARCH_{LDFLAGS, CFLAGS}, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 11/42] move EXTRA_CFLAGS/LDFLAGS to the very beginning, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 13/42] remove unused temporal files, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 14/42] Add CURL_CFLAGS, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 16/42] move mingw32 code after selection of OS, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 15/42] __sparc_*__ is defined through -D__sparc_*__, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 12/42] create compile_object/compile_prog functions, Juan Quintela, 2009/07/29