changeset 3189:217f564f29ff

summary handling was not correct (bugs found by Nilmoni Deb and Tibcu) DGA detection changed since it did not detect (patch by tibcu) changed vo_vesa building to behave as the other vo_*
author pl
date Wed, 28 Nov 2001 17:52:25 +0000
parents 6c4a66168557
children 9c9a9b5f0a9e
files configure libvo/Makefile
diffstat 2 files changed, 36 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Nov 28 17:41:23 2001 +0000
+++ b/configure	Wed Nov 28 17:52:25 2001 +0000
@@ -964,12 +964,20 @@
 ######################
 
 
-echocheck "Extra headers"
-echores "$_extraincdir"
-
-
-echocheck "Extra libs"
-echores "$_extralibdir"
+echocheck "extra headers"
+if test "$_extraincdir" ; then
+  echores "$_extraincdir"
+else
+  echores "none"
+fi
+
+
+echocheck "extra libs"
+if test "$_extralibdir" ; then
+  echores "$_extralibdir"
+else
+  echores "none"
+fi
 
 
 echocheck "kstat"
@@ -1274,7 +1282,7 @@
   for I in /usr/include /usr/X11R6/include /usr/X11/include /usr/openwin/include ; do
     if test -d "$I/X11" ; then
       _x11incdir="$I"
-      echores "found $I"
+      echores "yes (found: $I)"
       break
     fi
   done
@@ -1292,7 +1300,7 @@
   for I in /usr/X11R6/lib /usr/X11/lib /usr/lib32 /usr/openwin/lib ; do
     if test -d "$I" ; then
       _x11libdir="$I"
-      echores "found $I"
+      echores "yes (found: $I)"
       break;
     fi
   done
@@ -1445,7 +1453,7 @@
   cat > $TMPC << EOF
 #include <X11/Xlib.h>
 #include <X11/extensions/xf86dga.h>
-int main (void) { (void) XDGAQueryExtension(0, 0, 0); return 0; }
+int main (void) { return 0; }
 EOF
   _dga=no
   cc_check $_inc_x11 $_ld_x11 -lXxf86dga -lXxf86vm && _dga=yes
@@ -1671,6 +1679,16 @@
 fi
 
 
+echocheck "VESA support"
+if x86 && linux ; then
+  _vosrc="$_vosrc vo_vesa.c vesa_lvo.c"
+  _vomodules="vesa $_vomodules"
+  echores "ok"
+else
+  echores "not supported on this OS/architecture"
+fi
+
+
 #################
 # VIDEO + AUDIO #
 #################
@@ -1713,6 +1731,7 @@
   _ld_sdl=`$_sdlconfig --libs`
   _inc_sdl=`$_sdlconfig --cflags`
   _vosrc="$_vosrc vo_sdl.c"
+  _vomodules="sdl $_vomodules"
   _aosrc="$_aosrc ao_sdl.c"
   _aomodules="sdl $_aomodules"
 else
@@ -2032,10 +2051,11 @@
   _ld_win32='-Lloader -lloader'
   _dep_win32='loader/libloader.a'
   _codecmodules="win32 $_codecmodules"
+  echores "$_win32 (found: $_win32libdir)"
 else
   _def_win32='#undef USE_WIN32DLL'
+  echores "$_win32"
 fi
-echores "$_win32"
 
 
 echocheck "DirectShow"
@@ -2101,7 +2121,7 @@
         done
       fi
       test "$_xanimlibdir" && _xanim=yes
-      echores "yes"
+      echores "yes (found: $_xanimlibdir)"
     else
       echores "not supported on non x86"
     fi
@@ -2860,8 +2880,8 @@
   Data directory: $_datadir
   Input: $_inputmodules
   Codecs: $_codecmodules
-  Audio output drivers: null $_aomodules
-  Video output drivers: null $_vomodules
+  Audio output drivers: null pcm $_aomodules
+  Video output drivers: null pgm md5 mpegpes $_vomodules
 
 'config.h' and 'config.mak' contain your configuration options.
 Note: if you alter theses files (for instance CFLAGS) MPlayer may no longer
@@ -2905,7 +2925,8 @@
     fi
   else
     if test "$_win32libdir" ; then
-      echo "Ok, found Win32 codecs directory at $_win32libdir."
+#      echo "Ok, found Win32 codecs directory at $_win32libdir."
+      :
     else
       cat <<EOF
 Failed to find a WIN32 codecs dir!
@@ -2923,6 +2944,7 @@
 EOF
 fi
 
+
 cat <<EOF
 
 If you cannot understand why a test failed please check $TMPLOG.
--- a/libvo/Makefile	Wed Nov 28 17:41:23 2001 +0000
+++ b/libvo/Makefile	Wed Nov 28 17:52:25 2001 +0000
@@ -6,12 +6,6 @@
 SRCS=aspect.c aclib.c osd.c font_load.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_mpegpes.c x11_common.c $(OPTIONAL_SRCS) img_format.c
 OBJS=$(SRCS:.c=.o)
 
-ifeq ($(TARGET_ARCH_X86),yes)
-ifeq ($(TARGET_OS),Linux)
-SRCS += vo_vesa.c vesa_lvo.c
-endif
-endif
-
 CFLAGS  = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DVB_INC) -DMPG12PLAY #-Wall
 # -I/usr/X11R6/include/