diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-03 14:45:57 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 13:05:32 -0500 |
commit | 5169202b1aadc2e043fb4d496949bbb837dc3c7c (patch) | |
tree | 6fa2e64898098a87877e70b020eff43f58a4fad4 | |
parent | a36abbbbfbe32f3beb649d3cddd7304137f44780 (diff) |
remove not needed rt variable
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
-rwxr-xr-x | configure | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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 |