mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
configure: Simplify clock_gettime() test
This commit is contained in:
parent
3aa9d37d03
commit
ec90305844
3
configure
vendored
3
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user