From patchwork Sat Aug 13 00:25:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carl Eugen Hoyos X-Patchwork-Id: 162 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.140.67 with SMTP id o64csp496533vsd; Fri, 12 Aug 2016 17:26:08 -0700 (PDT) X-Received: by 10.28.40.133 with SMTP id o127mr1552728wmo.46.1471047968466; Fri, 12 Aug 2016 17:26:08 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id q18si9220918wjr.197.2016.08.12.17.26.07; Fri, 12 Aug 2016 17:26:08 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A2268689FA0; Sat, 13 Aug 2016 03:25:54 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-qmta-pe01-2.mx.upcmail.net (vie01a-qmta-pe01-2.mx.upcmail.net [62.179.121.179]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 89FAA689F8F for ; Sat, 13 Aug 2016 03:25:26 +0300 (EEST) Received: from [172.31.218.36] (helo=vie01a-dmta-pe02-3.mx.upcmail.net) by vie01a-pqmta-pe01.mx.upcmail.net with esmtp (Exim 4.87) (envelope-from ) id 1bYMlS-00059U-UY for ffmpeg-devel@ffmpeg.org; Sat, 13 Aug 2016 02:25:26 +0200 Received: from [172.31.216.43] (helo=vie01a-pemc-psmtp-pe01) by vie01a-dmta-pe02.mx.upcmail.net with esmtp (Exim 4.87) (envelope-from ) id 1bYMlH-0001WO-SY for ffmpeg-devel@ffmpeg.org; Sat, 13 Aug 2016 02:25:15 +0200 Received: from [192.168.1.3] ([80.110.104.255]) by vie01a-pemc-psmtp-pe01 with SMTP @ mailcloud.upcmail.net id WQRE1t01E5We7EQ01QRFKb; Sat, 13 Aug 2016 02:25:15 +0200 X-SourceIP: 80.110.104.255 From: Carl Eugen Hoyos To: FFmpeg development discussions and patches Date: Sat, 13 Aug 2016 02:25:14 +0200 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Message-Id: <201608130225.14630.cehoyos@ag.or.at> Subject: [FFmpeg-devel] [PATCH]configure: Check arc4random() header definition X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Hi! Attached patch fixes Cygwin default compilation. Please comment, Carl Eugen From 8062e84621e2e676b65874bd6f59fb6e4bdd6c6d Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 13 Aug 2016 02:22:16 +0200 Subject: [PATCH] configure: Check for arc4random() header definition. Fixes Cygwin compilation. --- 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