diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2011-06-11 16:40:10 +0000 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-07-06 10:00:36 +0300 |
commit | 27a718d920e639ebbceea847fdbaf57d587a778a (patch) | |
tree | 2f06fad02fd1b56d9c3f58a9b5b8b2144508be4d /configure | |
parent | 1054f89404cea0f0d2ae511dc87180a00c51c9de (diff) | |
download | mpv-27a718d920e639ebbceea847fdbaf57d587a778a.tar.bz2 mpv-27a718d920e639ebbceea847fdbaf57d587a778a.tar.xz |
configure: only set NEED_GLOB on Windows
Only set NEED_GLOB on Windows, as currently this has the effect of
compiling win32-only code - and even if that compiled it would not be
used anyway, since mf.c uses glob under "#if defined(HAVE_GLOB) ||
defined(__MINGW32__)".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33587 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -3504,12 +3504,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" |