Mercurial > mplayer.hg
diff configure @ 21855:936209c39ed1
Move #ifdef directives around complete files into the build system.
author | diego |
---|---|
date | Wed, 10 Jan 2007 19:07:42 +0000 |
parents | 3ff1eade91f9 |
children | e268886eb13d |
line wrap: on
line diff
--- a/configure Wed Jan 10 18:54:44 2007 +0000 +++ b/configure Wed Jan 10 19:07:42 2007 +0000 @@ -3378,8 +3378,10 @@ cc_check && _scandir=yes if test "$_scandir" = yes ; then _def_scandir='#define HAVE_SCANDIR 1' + _need_scandir=no else _def_scandir='#undef HAVE_SCANDIR' + _need_scandir=yes fi echores "$_scandir" @@ -3393,8 +3395,10 @@ cc_check && _strsep=yes if test "$_strsep" = yes ; then _def_strsep='#define HAVE_STRSEP 1' + _need_strsep=no else _def_strsep='#undef HAVE_STRSEP' + _need_strsep=yes fi echores "$_strsep" @@ -3463,8 +3467,10 @@ cc_check && _vsscanf=yes if test "$_vsscanf" = yes ; then _def_vsscanf='#define HAVE_VSSCANF 1' + _need_vsscanf=no else _def_vsscanf='#undef HAVE_VSSCANF' + _need_vsscanf=yes fi echores "$_vsscanf" @@ -3478,8 +3484,10 @@ cc_check && _swab=yes if test "$_swab" = yes ; then _def_swab='#define HAVE_SWAB 1' + _need_swab=no else _def_swab='#undef HAVE_SWAB' + _need_swab=yes fi echores "$_swab" @@ -3529,8 +3537,10 @@ cc_check && _glob=yes if test "$_glob" = yes ; then _def_glob='#define HAVE_GLOB 1' + _need_glob=no else _def_glob='#undef HAVE_GLOB' + _need_glob=yes fi echores "$_glob" @@ -3544,8 +3554,10 @@ cc_check && _setenv=yes if test "$_setenv" = yes ; then _def_setenv='#define HAVE_SETENV 1' + _need_setenv=no else _def_setenv='#undef HAVE_SETENV' + _need_setenv=yes fi echores "$_setenv" @@ -7465,6 +7477,15 @@ HAVE_XVMC_ACCEL = $_xvmc +HAVE_SYS_MMAN_H = _mman + +NEED_GLOB = $_need_glob +NEED_SCANDIR = $_need_scandir +NEED_SETENV = $_need_setenv +NEED_STRSEP = $_need_strsep +NEED_SWAB = $_need_swab +NEED_VSSCANF = $_need_vsscanf + # for FFmpeg SRC_PATH=.. BUILD_ROOT=..