[MPlayer-cvslog] r33587 - trunk/configure

reimar subversion at mplayerhq.hu
Sat Jun 11 18:40:10 CEST 2011


Author: reimar
Date: Sat Jun 11 18:40:10 2011
New Revision: 33587

Log:
Only enable NEED_GLOB on win32, currently this has the effect
of compiling win32-only code - and even if that compiled it would
not be used anyway!

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Jun 11 18:38:49 2011	(r33586)
+++ trunk/configure	Sat Jun 11 18:40:10 2011	(r33587)
@@ -3951,12 +3951,15 @@ echores "$_gettimeofday"
 echocheck "glob()"
 _glob=no
 statement_check glob.h 'glob("filename", 0, 0, 0)' && _glob=yes
+need_glob=no
 if test "$_glob" = yes ; then
   def_glob='#define HAVE_GLOB 1'
-  need_glob=no
 else
   def_glob='#undef HAVE_GLOB'
-  need_glob=yes
+  # HACK! need_glob currently enables compilation of a
+  # win32-specific glob()-replacement.
+  # Other OS neither need it nor can they use it (mf:// is disabled for them).
+  win32 && need_glob=yes
 fi
 echores "$_glob"
 


More information about the MPlayer-cvslog mailing list