[FFmpeg-cvslog] configure: Check for arc4random() header definition.

Carl Eugen Hoyos git at videolan.org
Sat Aug 13 13:14:26 EEST 2016


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Aug 13 02:22:16 2016 +0200| [79dc94a63b30369e39792e81cb032f2cf40539b4] | committer: Carl Eugen Hoyos

configure: Check for arc4random() header definition.

Fixes Cygwin compilation.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=79dc94a63b30369e39792e81cb032f2cf40539b4
---

 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 8e30c68..bff8159 100755
--- a/configure
+++ b/configure
@@ -5455,7 +5455,7 @@ check_func  ${malloc_prefix}memalign            && enable memalign
 check_func  ${malloc_prefix}posix_memalign      && enable posix_memalign
 
 check_func  access
-check_func  arc4random
+check_func_headers stdlib.h arc4random
 check_func_headers time.h clock_gettime || { check_func_headers time.h clock_gettime -lrt && add_extralibs -lrt && LIBRT="-lrt"; }
 check_func  fcntl
 check_func  fork



More information about the ffmpeg-cvslog mailing list