Mercurial > mplayer.hg
changeset 33499:e4f533bf5a9a
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!
author | reimar |
---|---|
date | Sat, 11 Jun 2011 16:40:10 +0000 |
parents | a2700dc1d5e6 |
children | c36fec5ba5b6 |
files | configure |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Jun 11 16:38:49 2011 +0000 +++ b/configure Sat Jun 11 16:40:10 2011 +0000 @@ -3951,12 +3951,15 @@ 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"