diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-09-05 13:13:50 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-09-06 18:13:00 +0200 |
commit | ec903058447ad5be34d89533962e9ae1aa1c78f7 (patch) | |
tree | 296b39b7956edbcfa232b323e26fb7d5b552bdd2 | |
parent | 3aa9d37d03da3c9b482d19b3988659287815280e (diff) | |
download | ffmpeg-ec903058447ad5be34d89533962e9ae1aa1c78f7.tar.gz |
configure: Simplify clock_gettime() test
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4472,7 +4472,8 @@ check_func ${malloc_prefix}memalign && enable memalign check_func ${malloc_prefix}posix_memalign && enable posix_memalign check_cpp_condition unistd.h "defined(_POSIX_MONOTONIC_CLOCK)" && - check_func_headers time.h clock_gettime || { check_func_headers time.h clock_gettime -lrt && add_extralibs -lrt && LIBRT="-lrt"; } + check_func_headers time.h clock_gettime || + { check_lib2 time.h clock_gettime -lrt && LIBRT="-lrt"; } check_func fcntl check_func fork |