remove not needed rt variable

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
This commit is contained in:
Juan Quintela 2009-08-03 14:45:57 +02:00 committed by Anthony Liguori
parent a36abbbbfb
commit 5169202b1a
1 changed files with 1 additions and 7 deletions

8
configure vendored
View File

@ -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