---
configure | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 0e65a57..1484814 100755
--- a/configure
+++ b/configure
@@ -4456,7 +4456,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
--
2.1.4
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel