Mercurial > mplayer.hg
diff configure @ 34183:3053e7ffd08d
build: Only compile Windows-specific local glob() replacement on MinGW.
author | diego |
---|---|
date | Thu, 27 Oct 2011 12:16:01 +0000 |
parents | 61f7925ff295 |
children | d7bcbf5f7dc3 |
line wrap: on
line diff
--- a/configure Thu Oct 27 01:11:34 2011 +0000 +++ b/configure Thu Oct 27 12:16:01 2011 +0000 @@ -3885,10 +3885,13 @@ echocheck "glob()" +# glob_win enables a Windows-specific glob() replacement glob=yes +glob_win=yes def_glob='#define HAVE_GLOB 1' statement_check glob.h 'glob("filename", 0, 0, 0)' || - { glob=no ; def_glob='#undef HAVE_GLOB' ; } + { glob=no ; def_glob='#undef HAVE_GLOB' ; + mingw32 && glob_win=no ; } echores "$glob" @@ -7844,6 +7847,7 @@ # operating system features which have local fallbacks GETTIMEOFDAY = $gettimeofday GLOB = $glob +GLOB_WIN = $glob_win MMAP = $mmap SETENV = $setenv SHMEM = $shmem