changeset 35725:e1d80c588710

configure: Add windows.h check for libavutil based on patches by Erik Auerswald, auerswal unix-ag.uni-kl de and Josh Finch, joshf87 live com
author diego
date Mon, 21 Jan 2013 23:35:35 +0000
parents 3df8c6cea70a
children bbc4ec3bf5bc
files configure
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Jan 21 23:35:32 2013 +0000
+++ b/configure	Mon Jan 21 23:35:35 2013 +0000
@@ -3788,6 +3788,15 @@
   def_direct_h='#define HAVE_DIRECT_H 0'
 fi
 echores "$_direct_h"
+
+
+echocheck "windows.h"
+windows_h=no
+def_windows_h='#define HAVE_WINDOWS_H 0'
+header_check windows.h && windows_h=yes && def_windows_h='#define HAVE_WINDOWS_H 1'
+echores "$windows_h"
+
+
 echocheck "io.h"
 _io_h=no
 header_check io.h && _io_h=yes
@@ -8927,6 +8936,7 @@
 $def_direct_h
 $def_io_h
 $def_poll_h
+$def_windows_h
 
 /* external libraries */
 $def_bzlib