changeset 9398:d709935c512d

optional loader/ (currently it does nothing until the win32 support on cygwin is disabled)
author alex
date Tue, 11 Feb 2003 18:56:17 +0000
parents 210dc7d7f9e5
children f7106682cac8
files configure
diffstat 1 files changed, 22 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Feb 11 15:25:46 2003 +0000
+++ b/configure	Tue Feb 11 18:56:17 2003 +0000
@@ -3839,13 +3839,7 @@
 fi
 if test "$_win32" = yes ; then
   _def_win32='#define USE_WIN32DLL 1'
-  _ld_win32='loader/libloader.a'
-  _dep_win32='loader/libloader.a'
-  _codecmodules="win32 $_codecmodules"
   echores "yes"
-  if openbsd ; then
-    x86 && _ld_win32="$_ld_win32 -li386"
-  fi
 else
   _def_win32='#undef USE_WIN32DLL'
   _nocodecmodules="win32 $_nocodecmodules"
@@ -3853,6 +3847,23 @@
   echores "no"
 fi
 
+if test "$_win32" != no ; then
+  _def_win32_loader='#undef WIN32_LOADER'
+  echocheck "Win32 loader support"
+  if ! cygwin ; then
+    _ld_win32='loader/libloader.a'
+    _dep_win32='loader/libloader.a'
+    _codecmodules="win32 $_codecmodules"
+    if openbsd ; then
+      x86 && _ld_win32="$_ld_win32 -li386"
+    fi
+    _def_win32_loader='#define WIN32_LOADER 1'
+    echores "yes"
+  else
+    echores "no (using native windows)"
+  fi
+fi
+
 echocheck "DirectShow"
 if false ; then
 
@@ -3944,7 +3955,8 @@
 echocheck "RealPlayer DLL"
 if test "$_real" = auto ; then
   _real=no
-  if test "$_dl" = yes ; then
+  if test "$_dl" = yes || test "$_win32" = yes ; then
+#  if test "$_dl" = yes  ; then
     if linux || freebsd || netbsd || cygwin ; then
       _real=yes
     else
@@ -5133,6 +5145,9 @@
 /* DirectShow support */
 $_def_dshow
 
+/* Build our Win32-loader */
+$_def_win32_loader
+
 /* ffmpeg's libavcodec support (requires libavcodec source) */
 $_def_libavcodec
 $_def_libavcodecso