Bug 776561 - Avoid OS_LIBS containing -lrt when there is no config.cache. r=khuey

This commit is contained in:
Mike Hommey 2012-08-04 08:54:59 +02:00
parent 7096160830
commit f3b0b68230

View File

@ -3251,6 +3251,7 @@ AC_CACHE_CHECK(for clock_gettime(CLOCK_MONOTONIC),
[ struct timespec ts;
clock_gettime(CLOCK_MONOTONIC, &ts); ],
ac_cv_clock_monotonic=$libs
LIBS="$_SAVE_LIBS"
break,
ac_cv_clock_monotonic=no)
LIBS="$_SAVE_LIBS"