[Mplayer-cvslog] CVS: main configure,1.780,1.781

Dmitry Baryshkov CVS lumag at mplayerhq.hu
Sun Oct 5 19:15:42 CEST 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv24606

Modified Files:
	configure 
Log Message:
Improve flac detection a bit. Now you can safely remove all files from
libmpflac subdir, except this ones:

defs.h
dither.c
dither.h
private_fast_float_math_hack.h
replaygain_synthesis.c
replaygain_synthesis.h

They are necessary to playback.


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.780
retrieving revision 1.781
diff -u -r1.780 -r1.781
--- configure	5 Oct 2003 15:34:40 -0000	1.780
+++ configure	5 Oct 2003 17:15:09 -0000	1.781
@@ -1098,7 +1098,7 @@
 _faad_local=yes
 _xmms=no
 _flac=auto
-_external_flac=no
+_external_flac=auto
 _css=auto
 # dvdnav disabled, it does not work
 #_dvdnav=no
@@ -5246,8 +5246,16 @@
 echores "$_xmms"
 
 echocheck "FLAC support"
-if test "$_flac" = auto ; then
-  if test "$_external_flac" = yes ; then
+if ! test "$_flac" = "no" ; then
+  if ! test -f libmpflac/dither.c ; then
+    _flac=no
+    echores "no (necessary files missing)"
+    break
+  fi
+  if ! test -f libmpflac/stream_decoder.c ; then
+    _external_flac=yes
+  fi
+  if test "$_external_flac" = "yes" ; then
     cat > $TMPC << EOF
 #include <FLAC/stream_decoder.h>
 #include <stdlib.h>



More information about the MPlayer-cvslog mailing list