Version checks are pretty much always wrong. It should use an empirical check on whether you can link a program calling clock_gettime without passing -lrt. Thanks, Roland