From: Juan Quintela Date: Mon, 3 Aug 2009 12:45:57 +0000 (+0200) Subject: remove not needed rt variable X-Git-Tag: TizenStudio_2.0_p2.3~8060 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8423c2e81594eb0ba6a953160ae0d0bab91ee1a;p=sdk%2Femulator%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 97cea59..318b06a 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