From 5169202b1aadc2e043fb4d496949bbb837dc3c7c Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 3 Aug 2009 14:45:57 +0200 Subject: [PATCH] remove not needed rt variable Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori Message-Id: --- configure | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/configure b/configure index 97cea5932d..318b06ac83 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