changeset 12178:4a3a984b2fb4

libavformat support for windows
author faust3
date Mon, 12 Apr 2004 16:39:26 +0000
parents aef2ccd0c23f
children aeb377ccb110
files configure
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Apr 12 15:02:34 2004 +0000
+++ b/configure	Mon Apr 12 16:39:26 2004 +0000
@@ -5095,10 +5095,14 @@
 fi
 
 _def_libavformat='#undef USE_LIBAVFORMAT'
+_def_libavformat_win32='#undef CONFIG_WIN32'
 if test "$_libavformat" = yes ; then
   _def_libavformat='#define USE_LIBAVFORMAT 1'
   _ld_libavformat='libavformat/libavformat.a'
   _dep_libavformat='libavformat/libavformat.a'
+  if mingw32 || cygwin ; then
+    _def_libavformat_win32='#define CONFIG_WIN32 1'
+  fi
 fi
 
 echocheck "libdv-0.9.5+"
@@ -6296,6 +6300,7 @@
 
 /* ffmpeg's libavformat support (requires libavformat source) */
 $_def_libavformat
+$_def_libavformat_win32
 
 /* risky codecs */
 #define CONFIG_RISKY 1