LP bug#673567: Unnecessary compile-time warnings about -lrt
Compiler could produce spurious warnings when building on non-Linux
platforms.
Removed the compiler warning about missing clock_gettime(). We now check
if clock_gettime() is present in librt at configure stage. If yes, we add
-lrt to LIBS.