Message ID | ae94917bd6c66833e4f41eb700f81adcde0c6a8d.1249301360.git.quintela@redhat.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/configure b/configure index 2594bb2..9f6ce79 100755 --- a/configure +++ b/configure @@ -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
Signed-off-by: Juan Quintela <quintela@redhat.com> --- configure | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-)