From: Juan Quintela Date: Mon, 3 Aug 2009 12:45:57 +0000 (+0200) Subject: remove not needed rt variable X-Git-Tag: v0.12.0-rc0~1685 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5169202b1aadc2e043fb4d496949bbb837dc3c7c;p=thirdparty%2Fqemu.git remove not needed rt variable Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori Message-Id: --- diff --git a/configure b/configure index 97cea5932d8..318b06ac836 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