# HG changeset patch # User reimar # Date 1307810410 0 # Node ID e4f533bf5a9aac53ba1744e4dd28ab9146de40cb # Parent a2700dc1d5e6bda7d60a2a57fe4e1596c9c24aa7 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! diff -r a2700dc1d5e6 -r e4f533bf5a9a configure --- 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"