diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-05-09 11:20:15 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-05-09 11:20:15 +0000 |
commit | 8d0afdaa88f855deafe97bd94656b300e31ada35 (patch) | |
tree | da4f0971fcc14cbf08ad6a691a0d42ec5458373c | |
parent | d6f26851817a465885725aedc9839e0ae16f6445 (diff) | |
download | mpv-8d0afdaa88f855deafe97bd94656b300e31ada35.tar.bz2 mpv-8d0afdaa88f855deafe97bd94656b300e31ada35.tar.xz |
cosmetics: Drop leading underscore from some commonly-used variable names.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31145 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | configure | 638 |
1 files changed, 319 insertions, 319 deletions
@@ -180,14 +180,14 @@ echocheck() { # Use this to echo the results of a check echores() { - if test "$_res_comment" ; then - _res_comment="($_res_comment)" + if test "$res_comment" ; then + res_comment="($res_comment)" fi - echo "Result is: $@ $_res_comment" >> "$TMPLOG" + echo "Result is: $@ $res_comment" >> "$TMPLOG" echo "##########################################" >> "$TMPLOG" echo "" >> "$TMPLOG" - echo "$@ $_res_comment" - _res_comment="" + echo "$@ $res_comment" + res_comment="" } ############################################################################# @@ -1590,7 +1590,7 @@ else echocheck "$_cc version" cc_vendor=sun cc_version=$($_cc -V 2>&1 | head -n 1 | cut -d ' ' -f 4) - _res_comment="experimental support only" + res_comment="experimental support only" echores "Sun C $cc_version" break fi @@ -2579,7 +2579,7 @@ if x86_32 ; then if test "$as_verc_fail" != yes ; then echores "ok" else - _res_comment="Upgrade binutils to ${_pref_as_version} or use --disable-ssse3 etc." + res_comment="Upgrade binutils to ${_pref_as_version} or use --disable-ssse3 etc." echores "failed" die "obsolete binutils version" fi @@ -3117,7 +3117,7 @@ int main(void) { (void) gethostbyname(0); return 0; } EOF cc_check -lws2_32 && _ld_sock="-lws2_32" && _winsock2_h=yes fi -test "$_ld_sock" && _res_comment="using $_ld_sock" +test "$_ld_sock" && res_comment="using $_ld_sock" echores "$_socklib" @@ -3271,7 +3271,7 @@ for _ld_tmp in "$_ld_sock" "$_ld_sock -lresolv" ; do cc_check $_ld_tmp && inet_pton=yes && break done if test $inet_pton = yes ; then - test "$_ld_tmp" && _res_comment="using $_ld_tmp" + test "$_ld_tmp" && res_comment="using $_ld_tmp" def_inet_pton='#define HAVE_INET_PTON 1' fi echores "$inet_pton" @@ -3290,7 +3290,7 @@ for _ld_tmp in "$_ld_sock" "$_ld_sock -lresolv" ; do cc_check $_ld_tmp && inet_aton=yes && break done if test $inet_aton = yes ; then - test "$_ld_tmp" && _res_comment="using $_ld_tmp" + test "$_ld_tmp" && res_comment="using $_ld_tmp" def_inet_aton='#define HAVE_INET_ATON 1' fi echores "$inet_aton" @@ -3334,7 +3334,7 @@ test $_winsock2_h = no && test $inet_pton = no && if test "$_network" = yes ; then def_network='#define CONFIG_NETWORK 1' extra_ldflags="$extra_ldflags $_ld_sock" - _inputmodules="network $_inputmodules" + inputmodules="network $inputmodules" else _noinputmodules="network $_noinputmodules" def_network='#undef CONFIG_NETWORK' @@ -3600,12 +3600,12 @@ if ! hpux ; then fi fi if test "$_pthreads" = yes ; then - test $_ld_pthread && _res_comment="using $_ld_pthread" + test $_ld_pthread && res_comment="using $_ld_pthread" def_pthreads='#define HAVE_PTHREADS 1' def_threads='#define HAVE_THREADS 1' extra_cflags="$extra_cflags $THREAD_CFLAGS" else - _res_comment="v4l, v4l2, ao_nas, win32 loader disabled" + res_comment="v4l, v4l2, ao_nas, win32 loader disabled" def_pthreads='#undef HAVE_PTHREADS' _nas=no ; _tv_v4l1=no ; _tv_v4l2=no mingw32 || _win32dll=no @@ -3623,7 +3623,7 @@ fi echocheck "w32threads" if test "$_pthreads" = yes ; then - _res_comment="using pthread instead" + res_comment="using pthread instead" _w32threads=no fi if test "$_w32threads" = auto ; then @@ -3700,7 +3700,7 @@ for _soundcard_header in "sys/soundcard.h" "soundcard.h"; do #include <$_soundcard_header> int main(void) { return 0; } EOF - cc_check && _soundcard_h=yes && _res_comment="$_soundcard_header" && break + cc_check && _soundcard_h=yes && res_comment="$_soundcard_header" && break done if test "$_soundcard_h" = yes ; then @@ -3846,7 +3846,7 @@ EOF fi if test "$_termcap" = yes ; then def_termcap='#define HAVE_TERMCAP 1' - test $_ld_tmp && _res_comment="using $_ld_tmp" + test $_ld_tmp && res_comment="using $_ld_tmp" else def_termcap='#undef HAVE_TERMCAP' fi @@ -3864,7 +3864,7 @@ if test "$_termios" = auto ; then #include <$_termios_header> int main(void) { return 0; } EOF - cc_check && _termios=yes && _res_comment="using $_termios_header" && break + cc_check && _termios=yes && res_comment="using $_termios_header" && break done fi @@ -4195,7 +4195,7 @@ fi if test "$_smb" = yes; then def_smb="#define CONFIG_LIBSMBCLIENT 1" - _inputmodules="smb $_inputmodules" + inputmodules="smb $inputmodules" else def_smb="#undef CONFIG_LIBSMBCLIENT" _noinputmodules="smb $_noinputmodules" @@ -4211,40 +4211,40 @@ echores "$_smb" echocheck "tdfxfb" if test "$_tdfxfb" = yes ; then def_tdfxfb='#define CONFIG_TDFXFB 1' - _vomodules="tdfxfb $_vomodules" + vomodules="tdfxfb $vomodules" else def_tdfxfb='#undef CONFIG_TDFXFB' - _novomodules="tdfxfb $_novomodules" + novomodules="tdfxfb $novomodules" fi echores "$_tdfxfb" echocheck "s3fb" if test "$_s3fb" = yes ; then def_s3fb='#define CONFIG_S3FB 1' - _vomodules="s3fb $_vomodules" + vomodules="s3fb $vomodules" else def_s3fb='#undef CONFIG_S3FB' - _novomodules="s3fb $_novomodules" + novomodules="s3fb $novomodules" fi echores "$_s3fb" echocheck "wii" if test "$_wii" = yes ; then def_wii='#define CONFIG_WII 1' - _vomodules="wii $_vomodules" + vomodules="wii $vomodules" else def_wii='#undef CONFIG_WII' - _novomodules="wii $_novomodules" + novomodules="wii $novomodules" fi echores "$_wii" echocheck "tdfxvid" if test "$_tdfxvid" = yes ; then def_tdfxvid='#define CONFIG_TDFX_VID 1' - _vomodules="tdfx_vid $_vomodules" + vomodules="tdfx_vid $vomodules" else def_tdfxvid='#undef CONFIG_TDFX_VID' - _novomodules="tdfx_vid $_novomodules" + novomodules="tdfx_vid $novomodules" fi echores "$_tdfxvid" @@ -4267,20 +4267,20 @@ EOF fi if test "$_xvr100" = yes ; then def_xvr100='#define CONFIG_XVR100 1' - _vomodules="xvr100 $_vomodules" + vomodules="xvr100 $vomodules" else def_tdfxvid='#undef CONFIG_XVR100' - _novomodules="xvr100 $_novomodules" + novomodules="xvr100 $novomodules" fi echores "$_xvr100" echocheck "tga" if test "$_tga" = yes ; then def_tga='#define CONFIG_TGA 1' - _vomodules="tga $_vomodules" + vomodules="tga $vomodules" else def_tga='#undef CONFIG_TGA' - _novomodules="tga $_novomodules" + novomodules="tga $novomodules" fi echores "$_tga" @@ -4288,10 +4288,10 @@ echores "$_tga" echocheck "md5sum support" if test "$_md5sum" = yes; then def_md5sum="#define CONFIG_MD5SUM 1" - _vomodules="md5sum $_vomodules" + vomodules="md5sum $vomodules" else def_md5sum="#undef CONFIG_MD5SUM" - _novomodules="md5sum $_novomodules" + novomodules="md5sum $novomodules" fi echores "$_md5sum" @@ -4299,10 +4299,10 @@ echores "$_md5sum" echocheck "yuv4mpeg support" if test "$_yuv4mpeg" = yes; then def_yuv4mpeg="#define CONFIG_YUV4MPEG 1" - _vomodules="yuv4mpeg $_vomodules" + vomodules="yuv4mpeg $vomodules" else def_yuv4mpeg="#undef CONFIG_YUV4MPEG" - _novomodules="yuv4mpeg $_novomodules" + novomodules="yuv4mpeg $novomodules" fi echores "$_yuv4mpeg" @@ -4310,10 +4310,10 @@ echores "$_yuv4mpeg" echocheck "bl" if test "$_bl" = yes ; then def_bl='#define CONFIG_BL 1' - _vomodules="bl $_vomodules" + vomodules="bl $vomodules" else def_bl='#undef CONFIG_BL' - _novomodules="bl $_novomodules" + novomodules="bl $novomodules" fi echores "$_bl" @@ -4351,44 +4351,44 @@ EOF _dfb_version=$(dfb_version $_dfb_major $_dfb_minor $_dfb_micro) if test "$_dfb_version" -ge $(dfb_version 0 9 13); then def_directfb_version="#define DIRECTFBVERSION $_dfb_version" - _res_comment="$_directfb_version" + res_comment="$_directfb_version" test "$_dfb_version" -ge $(dfb_version 0 9 15) && _dfbmga=yes else def_directfb_version='#undef DIRECTFBVERSION' _directfb=no - _res_comment="version >=0.9.13 required" + res_comment="version >=0.9.13 required" fi else _directfb=no - _res_comment="failed to get version" + res_comment="failed to get version" fi fi echores "$_directfb" if test "$_directfb" = yes ; then def_directfb='#define CONFIG_DIRECTFB 1' - _vomodules="directfb $_vomodules" + vomodules="directfb $vomodules" libs_mplayer="$libs_mplayer -ldirectfb" else def_directfb='#undef CONFIG_DIRECTFB' - _novomodules="directfb $_novomodules" + novomodules="directfb $novomodules" fi if test "$_dfbmga" = yes; then - _vomodules="dfbmga $_vomodules" + vomodules="dfbmga $vomodules" def_dfbmga='#define CONFIG_DFBMGA 1' else - _novomodules="dfbmga $_novomodules" + novomodules="dfbmga $novomodules" def_dfbmga='#undef CONFIG_DFBMGA' fi echocheck "X11 headers presence" _x11_headers="no" - _res_comment="check if the dev(el) packages are installed" + res_comment="check if the dev(el) packages are installed" for I in $(echo $extra_cflags | sed s/-I//g) /usr/include ; do if test -f "$I/X11/Xlib.h" ; then _x11_headers="yes" - _res_comment="" + res_comment="" break fi done @@ -4398,7 +4398,7 @@ echocheck "X11 headers presence" if test -f "$I/X11/Xlib.h" ; then extra_cflags="$extra_cflags -I$I" _x11_headers="yes" - _res_comment="using $I" + res_comment="using $I" break fi done @@ -4427,12 +4427,12 @@ EOF fi if test "$_x11" = yes ; then def_x11='#define CONFIG_X11 1' - _vomodules="x11 xover $_vomodules" + vomodules="x11 xover $vomodules" else _x11=no def_x11='#undef CONFIG_X11' - _novomodules="x11 $_novomodules" - _res_comment="check if the dev(el) packages are installed" + novomodules="x11 $novomodules" + res_comment="check if the dev(el) packages are installed" # disable stuff that depends on X _xv=no ; _xvmc=no ; _xinerama=no ; _vm=no ; _xf86keysym=no ; _vdpau=no fi @@ -4478,12 +4478,12 @@ EOF fi if test "$_xdpms4" = yes ; then def_xdpms='#define CONFIG_XDPMS 1' - _res_comment="using Xdpms 4" + res_comment="using Xdpms 4" echores "yes" elif test "$_xdpms3" = yes ; then def_xdpms='#define CONFIG_XDPMS 1' libs_mplayer="$libs_mplayer -lXdpms" - _res_comment="using Xdpms 3" + res_comment="using Xdpms 3" echores "yes" else def_xdpms='#undef CONFIG_XDPMS' @@ -4508,10 +4508,10 @@ fi if test "$_xv" = yes ; then def_xv='#define CONFIG_XV 1' libs_mplayer="$libs_mplayer -lXv" - _vomodules="xv $_vomodules" + vomodules="xv $vomodules" else def_xv='#undef CONFIG_XV' - _novomodules="xv $_novomodules" + novomodules="xv $novomodules" fi echores "$_xv" @@ -4535,11 +4535,11 @@ fi if test "$_xvmc" = yes ; then def_xvmc='#define CONFIG_XVMC 1' libs_mplayer="$libs_mplayer -lXvMC -l$_xvmclib" - _vomodules="xvmc $_vomodules" - _res_comment="using $_xvmclib" + vomodules="xvmc $vomodules" + res_comment="using $_xvmclib" else def_xvmc='#define CONFIG_XVMC 0' - _novomodules="xvmc $_novomodules" + novomodules="xvmc $novomodules" _libavdecoders=$(echo $_libavdecoders | sed -e s/MPEG_XVMC_DECODER//) fi echores "$_xvmc" @@ -4561,10 +4561,10 @@ fi if test "$_vdpau" = yes ; then def_vdpau='#define CONFIG_VDPAU 1' libs_mplayer="$libs_mplayer -lvdpau" - _vomodules="vdpau $_vomodules" + vomodules="vdpau $vomodules" else def_vdpau='#define CONFIG_VDPAU 0' - _novomodules="vdpau $_novomodules" + novomodules="vdpau $novomodules" _libavdecoders=$(echo $_libavdecoders | sed -e s/MPEG_VDPAU_DECODER// -e s/MPEG1_VDPAU_DECODER// -e s/H264_VDPAU_DECODER// -e s/WMV3_VDPAU_DECODER// -e s/VC1_VDPAU_DECODER// -e s/MPEG4_VDPAU_DECODER//) fi echores "$_vdpau" @@ -4661,18 +4661,18 @@ def_dga2='#undef CONFIG_DGA2' if test "$_dga1" = yes ; then _dga=yes def_dga1='#define CONFIG_DGA1 1' - _res_comment="using DGA 1.0" + res_comment="using DGA 1.0" elif test "$_dga2" = yes ; then _dga=yes def_dga2='#define CONFIG_DGA2 1' - _res_comment="using DGA 2.0" + res_comment="using DGA 2.0" fi if test "$_dga" = yes ; then def_dga='#define CONFIG_DGA 1' libs_mplayer="$libs_mplayer -lXxf86dga" - _vomodules="dga $_vomodules" + vomodules="dga $vomodules" else - _novomodules="dga $_novomodules" + novomodules="dga $novomodules" fi echores "$_dga" @@ -4680,10 +4680,10 @@ echores "$_dga" echocheck "3dfx" if test "$_3dfx" = yes && test "$_dga" = yes ; then def_3dfx='#define CONFIG_3DFX 1' - _vomodules="3dfx $_vomodules" + vomodules="3dfx $vomodules" else def_3dfx='#undef CONFIG_3DFX' - _novomodules="3dfx $_novomodules" + novomodules="3dfx $novomodules" fi echores "$_3dfx" @@ -4729,7 +4729,7 @@ echores "$_vidix" if test "$_vidix" = yes ; then def_vidix='#define CONFIG_VIDIX 1' - _vomodules="cvidix $_vomodules" + vomodules="cvidix $vomodules" # FIXME: ivtv driver temporarily disabled until we have a proper test #test "$_vidix_drivers" || _vidix_drivers="cyberblade ivtv mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 s3 sh_veu sis unichrome" test "$_vidix_drivers" || _vidix_drivers="cyberblade mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 s3 sh_veu sis unichrome" @@ -4761,21 +4761,21 @@ if test "$_vidix" = yes ; then echores "$_svgalib_helper" else - _novomodules="cvidix $_novomodules" + novomodules="cvidix $novomodules" fi if test "$_vidix" = yes && win32; then winvidix=yes - _vomodules="winvidix $_vomodules" + vomodules="winvidix $vomodules" libs_mplayer="$libs_mplayer -lgdi32" else - _novomodules="winvidix $_novomodules" + novomodules="winvidix $novomodules" fi if test "$_vidix" = yes && test "$_x11" = yes; then xvidix=yes - _vomodules="xvidix $_vomodules" + vomodules="xvidix $vomodules" else - _novomodules="xvidix $_novomodules" + novomodules="xvidix $novomodules" fi echocheck "/dev/mga_vid" @@ -4785,10 +4785,10 @@ if test "$_mga" = auto ; then fi if test "$_mga" = yes ; then def_mga='#define CONFIG_MGA 1' - _vomodules="mga $_vomodules" + vomodules="mga $vomodules" else def_mga='#undef CONFIG_MGA' - _novomodules="mga $_novomodules" + novomodules="mga $novomodules" fi echores "$_mga" @@ -4799,10 +4799,10 @@ if test "$_xmga" = auto ; then fi if test "$_xmga" = yes ; then def_xmga='#define CONFIG_XMGA 1' - _vomodules="xmga $_vomodules" + vomodules="xmga $vomodules" else def_xmga='#undef CONFIG_XMGA' - _novomodules="xmga $_novomodules" + novomodules="xmga $novomodules" fi echores "$_xmga" @@ -4819,10 +4819,10 @@ fi if test "$_ggi" = yes ; then def_ggi='#define CONFIG_GGI 1' libs_mplayer="$libs_mplayer -lggi" - _vomodules="ggi $_vomodules" + vomodules="ggi $vomodules" else def_ggi='#undef CONFIG_GGI' - _novomodules="ggi $_novomodules" + novomodules="ggi $novomodules" fi echores "$_ggi" @@ -4873,10 +4873,10 @@ if test "$_aa" = yes ; then if cygwin ; then libs_mplayer="$libs_mplayer $(aalib-config --libs | cut -d " " -f 2,5,6)" fi - _vomodules="aa $_vomodules" + vomodules="aa $vomodules" else def_aa='#undef CONFIG_AA' - _novomodules="aa $_novomodules" + novomodules="aa $novomodules" fi echores "$_aa" @@ -4899,10 +4899,10 @@ if test "$_caca" = yes ; then def_caca='#define CONFIG_CACA 1' extra_cflags="$extra_cflags $(caca-config --cflags)" libs_mplayer="$libs_mplayer $(caca-config --libs)" - _vomodules="caca $_vomodules" + vomodules="caca $vomodules" else def_caca='#undef CONFIG_CACA' - _novomodules="caca $_novomodules" + novomodules="caca $novomodules" fi echores "$_caca" @@ -4919,10 +4919,10 @@ fi if test "$_svga" = yes ; then def_svga='#define CONFIG_SVGALIB 1' libs_mplayer="$libs_mplayer -lvga" - _vomodules="svga $_vomodules" + vomodules="svga $vomodules" else def_svga='#undef CONFIG_SVGALIB' - _novomodules="svga $_novomodules" + novomodules="svga $novomodules" fi echores "$_svga" @@ -4934,10 +4934,10 @@ if test "$_fbdev" = auto ; then fi if test "$_fbdev" = yes ; then def_fbdev='#define CONFIG_FBDEV 1' - _vomodules="fbdev $_vomodules" + vomodules="fbdev $vomodules" else def_fbdev='#undef CONFIG_FBDEV' - _novomodules="fbdev $_novomodules" + novomodules="fbdev $novomodules" fi echores "$_fbdev" @@ -4966,18 +4966,18 @@ fi echores "$_dvb" if test "$_dvb" = yes ; then _dvbin=yes - _inputmodules="dvb $_inputmodules" + inputmodules="dvb $inputmodules" def_dvb='#define CONFIG_DVB 1' def_dvbin='#define CONFIG_DVBIN 1' - _aomodules="mpegpes(dvb) $_aomodules" - _vomodules="mpegpes(dvb) $_vomodules" + aomodules="mpegpes(dvb) $aomodules" + vomodules="mpegpes(dvb) $vomodules" else _dvbin=no _noinputmodules="dvb $_noinputmodules" def_dvb='#undef CONFIG_DVB' def_dvbin='#undef CONFIG_DVBIN ' - _aomodules="mpegpes(file) $_aomodules" - _vomodules="mpegpes(file) $_vomodules" + aomodules="mpegpes(file) $aomodules" + vomodules="mpegpes(file) $vomodules" fi @@ -5021,10 +5021,10 @@ fi if test "$_quartz" = yes ; then libs_mplayer="$libs_mplayer -framework Carbon" def_quartz='#define CONFIG_QUARTZ 1' - _vomodules="quartz $_vomodules" + vomodules="quartz $vomodules" else def_quartz='#undef CONFIG_QUARTZ' - _novomodules="quartz $_novomodules" + novomodules="quartz $novomodules" fi echores $_quartz @@ -5041,11 +5041,11 @@ EOF cc_check -framework Carbon -framework Cocoa -framework QuartzCore -framework OpenGL && _corevideo=yes fi if test "$_corevideo" = yes ; then - _vomodules="corevideo $_vomodules" + vomodules="corevideo $vomodules" libs_mplayer="$libs_mplayer -framework Carbon -framework Cocoa -framework QuartzCore -framework OpenGL" def_corevideo='#define CONFIG_COREVIDEO 1' else - _novomodules="corevideo $_novomodules" + novomodules="corevideo $novomodules" def_corevideo='#undef CONFIG_COREVIDEO' fi echores "$_corevideo" @@ -5059,7 +5059,7 @@ if test "$_png" = auto ; then if irix ; then # Don't check for -lpng on irix since it has its own libpng # incompatible with the GNU libpng - _res_comment="disabled on irix (not GNU libpng)" + res_comment="disabled on irix (not GNU libpng)" else cat > $TMPC << EOF #include <png.h> @@ -5120,11 +5120,11 @@ echores "$_jpeg" if test "$_jpeg" = yes ; then def_jpeg='#define CONFIG_JPEG 1' - _vomodules="jpeg $_vomodules" + vomodules="jpeg $vomodules" extra_ldflags="$extra_ldflags -ljpeg" else def_jpeg='#undef CONFIG_JPEG' - _novomodules="jpeg $_novomodules" + novomodules="jpeg $novomodules" fi @@ -5144,20 +5144,20 @@ if test "$libopenjpeg" = yes ; then extra_ldflags="$extra_ldflags -lopenjpeg" _libavdecoders="$_libavdecoders LIBOPENJPEG_DECODER" _libavencoders="$_libavencoders LIBOPENJPEG_ENCODER" - _codecmodules="OpenJPEG $_codecmodules" + codecmodules="OpenJPEG $codecmodules" else def_libopenjpeg='#define CONFIG_LIBOPENJPEG 0' - _nocodecmodules="OpenJPEG $_nocodecmodules" + nocodecmodules="OpenJPEG $nocodecmodules" fi echocheck "PNM support" if test "$_pnm" = yes; then def_pnm="#define CONFIG_PNM 1" - _vomodules="pnm $_vomodules" + vomodules="pnm $vomodules" else def_pnm="#undef CONFIG_PNM" - _novomodules="pnm $_novomodules" + novomodules="pnm $novomodules" fi echores "$_pnm" @@ -5199,9 +5199,9 @@ fi if test "$_gif" = yes ; then def_gif='#define CONFIG_GIF 1' - _codecmodules="gif $_codecmodules" - _vomodules="gif89a $_vomodules" - _res_comment="old version, some encoding functions disabled" + codecmodules="gif $codecmodules" + vomodules="gif89a $vomodules" + res_comment="old version, some encoding functions disabled" def_gif_4='#undef CONFIG_GIF_4' extra_ldflags="$extra_ldflags $_ld_gif" @@ -5218,13 +5218,13 @@ int main(void) { EOF if cc_check "$_ld_gif" ; then def_gif_4='#define CONFIG_GIF_4 1' - _res_comment="" + res_comment="" fi else def_gif='#undef CONFIG_GIF' def_gif_4='#undef CONFIG_GIF_4' - _novomodules="gif89a $_novomodules" - _nocodecmodules="gif $_nocodecmodules" + novomodules="gif89a $novomodules" + nocodecmodules="gif $nocodecmodules" fi echores "$_gif" @@ -5263,10 +5263,10 @@ fi if test "$_vesa" = yes ; then def_vesa='#define CONFIG_VESA 1' libs_mplayer="$libs_mplayer -lvbe -llrmi" - _vomodules="vesa $_vomodules" + vomodules="vesa $vomodules" else def_vesa='#undef CONFIG_VESA' - _novomodules="vesa $_novomodules" + novomodules="vesa $novomodules" fi echores "$_vesa" @@ -5313,7 +5313,7 @@ EOF fi done if test "$_sdl" = no && "$_sdlconfig" --version >>"$TMPLOG" 2>&1 ; then - _res_comment="using $_sdlconfig" + res_comment="using $_sdlconfig" if cygwin ; then _inc_tmp="$($_sdlconfig --cflags | cut -d " " -f 1,5,6 | sed s/no-cygwin/cygwin/)" _ld_tmp="$($_sdlconfig --libs | cut -d " " -f 1,4,6 | sed s/no-cygwin/cygwin/)" @@ -5333,12 +5333,12 @@ if test "$_sdl" = yes ; then def_sdl='#define CONFIG_SDL 1' extra_cflags="$extra_cflags $_inc_tmp" libs_mplayer="$libs_mplayer $_ld_tmp" - _vomodules="sdl $_vomodules" - _aomodules="sdl $_aomodules" + vomodules="sdl $vomodules" + aomodules="sdl $aomodules" else def_sdl='#undef CONFIG_SDL' - _novomodules="sdl $_novomodules" - _noaomodules="sdl $_noaomodules" + novomodules="sdl $novomodules" + noaomodules="sdl $noaomodules" fi echores "$_sdl" @@ -5413,26 +5413,26 @@ else fi if test "$_gl" = yes ; then def_gl='#define CONFIG_GL 1' - _res_comment="backends:" + res_comment="backends:" if test "$_gl_win32" = yes ; then def_gl_win32='#define CONFIG_GL_WIN32 1' - _res_comment="$_res_comment win32" + res_comment="$res_comment win32" fi if test "$_gl_x11" = yes ; then def_gl_x11='#define CONFIG_GL_X11 1' - _res_comment="$_res_comment x11" + res_comment="$res_comment x11" fi if test "$_gl_sdl" = yes ; then def_gl_sdl='#define CONFIG_GL_SDL 1' - _res_comment="$_res_comment sdl" + res_comment="$res_comment sdl" fi - _vomodules="opengl $_vomodules" + vomodules="opengl $vomodules" else def_gl='#undef CONFIG_GL' def_gl_win32='#undef CONFIG_GL_WIN32' def_gl_x11='#undef CONFIG_GL_X11' def_gl_sdl='#undef CONFIG_GL_SDL' - _novomodules="opengl $_novomodules" + novomodules="opengl $novomodules" fi echores "$_gl" @@ -5442,10 +5442,10 @@ if test "$_gl" = no ; then matrixview=no fi if test "$matrixview" = yes ; then - _vomodules="matrixview $_vomodules" + vomodules="matrixview $vomodules" def_matrixview='#define CONFIG_MATRIXVIEW 1' else - _novomodules="matrixview $_novomodules" + novomodules="matrixview $novomodules" def_matrixview='#undef CONFIG_MATRIXVIEW' fi echores "$matrixview" @@ -5465,10 +5465,10 @@ fi if test "$_kva" = yes ; then def_kva='#define CONFIG_KVA 1' libs_mplayer="$libs_mplayer -lkva" - _vomodules="kva $_vomodules" + vomodules="kva $vomodules" else def_kva='#undef CONFIG_KVA' - _novomodules="kva $_novomodules" + novomodules="kva $novomodules" fi echores "$_kva" fi #if os2 @@ -5489,10 +5489,10 @@ fi if test "$_win32waveout" = yes ; then def_win32waveout='#define CONFIG_WIN32WAVEOUT 1' libs_mplayer="$libs_mplayer -lwinmm" - _aomodules="win32 $_aomodules" + aomodules="win32 $aomodules" else def_win32waveout='#undef CONFIG_WIN32WAVEOUT' - _noaomodules="win32 $_noaomodules" + noaomodules="win32 $noaomodules" fi echores "$_win32waveout" @@ -5508,10 +5508,10 @@ EOF fi if test "$_direct3d" = yes ; then def_direct3d='#define CONFIG_DIRECT3D 1' - _vomodules="direct3d $_vomodules" + vomodules="direct3d $vomodules" else def_direct3d='#undef CONFIG_DIRECT3D' - _novomodules="direct3d $_novomodules" + novomodules="direct3d $novomodules" fi echores "$_direct3d" @@ -5529,12 +5529,12 @@ fi if test "$_directx" = yes ; then def_directx='#define CONFIG_DIRECTX 1' libs_mplayer="$libs_mplayer -lgdi32" - _vomodules="directx $_vomodules" - _aomodules="dsound $_aomodules" + vomodules="directx $vomodules" + aomodules="dsound $aomodules" else def_directx='#undef CONFIG_DIRECTX' - _novomodules="directx $_novomodules" - _noaomodules="dsound $_noaomodules" + novomodules="directx $novomodules" + noaomodules="dsound $noaomodules" fi echores "$_directx" @@ -5555,12 +5555,12 @@ EOF fi if test "$_dxr2" = yes; then def_dxr2='#define CONFIG_DXR2 1' - _aomodules="dxr2 $_aomodules" - _vomodules="dxr2 $_vomodules" + aomodules="dxr2 $aomodules" + vomodules="dxr2 $vomodules" else def_dxr2='#undef CONFIG_DXR2' - _noaomodules="dxr2 $_noaomodules" - _novomodules="dxr2 $_novomodules" + noaomodules="dxr2 $noaomodules" + novomodules="dxr2 $novomodules" fi echores "$_dxr2" @@ -5575,10 +5575,10 @@ EOF fi if test "$_dxr3" = yes ; then def_dxr3='#define CONFIG_DXR3 1' - _vomodules="dxr3 $_vomodules" + vomodules="dxr3 $vomodules" else def_dxr3='#undef CONFIG_DXR3' - _novomodules="dxr3 $_novomodules" + novomodules="dxr3 $novomodules" fi echores "$_dxr3" @@ -5604,12 +5604,12 @@ EOF fi if test "$_ivtv" = yes ; then def_ivtv='#define CONFIG_IVTV 1' - _vomodules="ivtv $_vomodules" - _aomodules="ivtv $_aomodules" + vomodules="ivtv $vomodules" + aomodules="ivtv $aomodules" else def_ivtv='#undef CONFIG_IVTV' - _novomodules="ivtv $_novomodules" - _noaomodules="ivtv $_noaomodules" + novomodules="ivtv $novomodules" + noaomodules="ivtv $noaomodules" fi echores "$_ivtv" @@ -5636,12 +5636,12 @@ EOF fi if test "$_v4l2" = yes ; then def_v4l2='#define CONFIG_V4L2_DECODER 1' - _vomodules="v4l2 $_vomodules" - _aomodules="v4l2 $_aomodules" + vomodules="v4l2 $vomodules" + aomodules="v4l2 $aomodules" else def_v4l2='#undef CONFIG_V4L2_DECODER' - _novomodules="v4l2 $_novomodules" - _noaomodules="v4l2 $_noaomodules" + novomodules="v4l2 $novomodules" + noaomodules="v4l2 $noaomodules" fi echores "$_v4l2" @@ -5664,7 +5664,7 @@ EOF fi if test "$_ossaudio" = yes ; then def_ossaudio='#define CONFIG_OSS_AUDIO 1' - _aomodules="oss $_aomodules" + aomodules="oss $aomodules" if test "$_linux_devfs" = yes; then def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/sound/dsp"' def_ossaudio_devmixer='#define PATH_DEV_MIXER "/dev/sound/mixer"' @@ -5694,7 +5694,7 @@ else def_ossaudio='#undef CONFIG_OSS_AUDIO' def_ossaudio_devdsp='#define PATH_DEV_DSP ""' def_ossaudio_devmixer='#define PATH_DEV_MIXER ""' - _noaomodules="oss $_noaomodules" + noaomodules="oss $noaomodules" fi echores "$_ossaudio" @@ -5715,11 +5715,11 @@ fi if test "$_arts" = yes ; then def_arts='#define CONFIG_ARTS 1' - _aomodules="arts $_aomodules" + aomodules="arts $aomodules" libs_mplayer="$libs_mplayer $(artsc-config --libs)" extra_cflags="$extra_cflags $(artsc-config --cflags)" else - _noaomodules="arts $_noaomodules" + noaomodules="arts $noaomodules" fi echores "$_arts" @@ -5741,7 +5741,7 @@ echores "$_esd" if test "$_esd" = yes ; then def_esd='#define CONFIG_ESD 1' - _aomodules="esd $_aomodules" + aomodules="esd $aomodules" libs_mplayer="$libs_mplayer $(esd-config --libs)" extra_cflags="$extra_cflags $(esd-config --cflags)" @@ -5755,7 +5755,7 @@ EOF else def_esd='#undef CONFIG_ESD' def_esd_latency='#undef CONFIG_ESD_LATENCY' - _noaomodules="esd $_noaomodules" + noaomodules="esd $noaomodules" fi @@ -5771,9 +5771,9 @@ fi if test "$_nas" = yes ; then def_nas='#define CONFIG_NAS 1' libs_mplayer="$libs_mplayer -laudio -lXt" - _aomodules="nas $_aomodules" + aomodules="nas $aomodules" else - _noaomodules="nas $_noaomodules" + noaomodules="nas $noaomodules" def_nas='#undef CONFIG_NAS' fi echores "$_nas" @@ -5796,12 +5796,12 @@ echores "$_pulse" if test "$_pulse" = yes ; then def_pulse='#define CONFIG_PULSE 1' - _aomodules="pulse $_aomodules" + aomodules="pulse $aomodules" libs_mplayer="$libs_mplayer $($_pkg_config --libs libpulse)" extra_cflags="$extra_cflags $($_pkg_config --cflags libpulse)" else def_pulse='#undef CONFIG_PULSE' - _noaomodules="pulse $_noaomodules" + noaomodules="pulse $noaomodules" fi @@ -5825,9 +5825,9 @@ fi if test "$_jack" = yes ; then def_jack='#define CONFIG_JACK 1' - _aomodules="jack $_aomodules" + aomodules="jack $aomodules" else - _noaomodules="jack $_noaomodules" + noaomodules="jack $noaomodules" fi echores "$_jack" @@ -5854,16 +5854,16 @@ EOF fi if test "$_openal" = yes ; then def_openal='#define CONFIG_OPENAL 1' - _aomodules="openal $_aomodules" + aomodules="openal $aomodules" else - _noaomodules="openal $_noaomodules" + noaomodules="openal $noaomodules" fi echores "$_openal" echocheck "ALSA audio" if test "$_alloca" != yes ; then _alsa=no - _res_comment="alloca missing" + res_comment="alloca missing" fi if test "$_alsa" != no ; then _alsa=no @@ -5925,45 +5925,45 @@ if test "$_alsaver" ; then _alsa=yes if test "$_alsaver" = '0.5.x' ; then _alsa5=yes - _aomodules="alsa5 $_aomodules" + aomodules="alsa5 $aomodules" def_alsa5='#define CONFIG_ALSA5 1' def_sys_asoundlib_h='#define HAVE_SYS_ASOUNDLIB_H 1' - _res_comment="using alsa 0.5.x and sys/asoundlib.h" + res_comment="using alsa 0.5.x and sys/asoundlib.h" elif test "$_alsaver" = '0.9.x-sys' ; then _alsa9=yes - _aomodules="alsa $_aomodules" + aomodules="alsa $aomodules" def_alsa='#define CONFIG_ALSA 1' def_alsa9='#define CONFIG_ALSA9 1' def_sys_asoundlib_h='#define HAVE_SYS_ASOUNDLIB_H 1' - _res_comment="using alsa 0.9.x and sys/asoundlib.h" + res_comment="using alsa 0.9.x and sys/asoundlib.h" elif test "$_alsaver" = '0.9.x-alsa' ; then _alsa9=yes - _aomodules="alsa $_aomodules" + aomodules="alsa $aomodules" def_alsa='#define CONFIG_ALSA 1' def_alsa9='#define CONFIG_ALSA9 1' def_alsa_asoundlib_h='#define HAVE_ALSA_ASOUNDLIB_H 1' - _res_comment="using alsa 0.9.x and alsa/asoundlib.h" + res_comment="using alsa 0.9.x and alsa/asoundlib.h" elif test "$_alsaver" = '1.0.x-sys' ; then _alsa1x=yes - _aomodules="alsa $_aomodules" + aomodules="alsa $aomodules" def_alsa='#define CONFIG_ALSA 1' def_alsa1x="#define CONFIG_ALSA1X 1" def_alsa_asoundlib_h='#define HAVE_SYS_ASOUNDLIB_H 1' - _res_comment="using alsa 1.0.x and sys/asoundlib.h" + res_comment="using alsa 1.0.x and sys/asoundlib.h" elif test "$_alsaver" = '1.0.x-alsa' ; then _alsa1x=yes - _aomodules="alsa $_aomodules" + aomodules="alsa $aomodules" def_alsa='#define CONFIG_ALSA 1' def_alsa1x="#define CONFIG_ALSA1X 1" def_alsa_asoundlib_h='#define HAVE_ALSA_ASOUNDLIB_H 1' - _res_comment="using alsa 1.0.x and alsa/asoundlib.h" + res_comment="using alsa 1.0.x and alsa/asoundlib.h" else _alsa=no - _res_comment="unknown version" + res_comment="unknown version" fi extra_ldflags="$extra_ldflags -lasound $_ld_dl $_ld_pthread" else - _noaomodules="alsa $_noaomodules" + noaomodules="alsa $noaomodules" fi echores "$_alsa" @@ -5980,10 +5980,10 @@ EOF fi if test "$_sunaudio" = yes ; then def_sunaudio='#define CONFIG_SUN_AUDIO 1' - _aomodules="sun $_aomodules" + aomodules="sun $aomodules" else def_sunaudio='#undef CONFIG_SUN_AUDIO' - _noaomodules="sun $_noaomodules" + noaomodules="sun $noaomodules" fi echores "$_sunaudio" @@ -6018,10 +6018,10 @@ fi if test "$_coreaudio" = yes ; then libs_mplayer="$libs_mplayer -framework CoreAudio -framework AudioUnit -framework AudioToolbox" def_coreaudio='#define CONFIG_COREAUDIO 1' - _aomodules="coreaudio $_aomodules" + aomodules="coreaudio $aomodules" else def_coreaudio='#undef CONFIG_COREAUDIO' - _noaomodules="coreaudio $_noaomodules" + noaomodules="coreaudio $noaomodules" fi echores $_coreaudio fi #if darwin @@ -6041,10 +6041,10 @@ fi if test "$_sgiaudio" = "yes" ; then def_sgiaudio='#define CONFIG_SGI_AUDIO 1' libs_mplayer="$libs_mplayer -laudio" - _aomodules="sgi $_aomodules" + aomodules="sgi $aomodules" else def_sgiaudio='#undef CONFIG_SGI_AUDIO' - _noaomodules="sgi $_noaomodules" + noaomodules="sgi $noaomodules" fi echores "$_sgiaudio" fi #if irix @@ -6064,10 +6064,10 @@ fi if test "$_kai" = yes ; then def_kai='#define CONFIG_KAI 1' libs_mplayer="$libs_mplayer -lkai" - _aomodules="kai $_aomodules" + aomodules="kai $aomodules" else def_kai='#undef CONFIG_KAI' - _noaomodules="kai $_noaomodules" + noaomodules="kai $noaomodules" fi echores "$_kai" @@ -6084,10 +6084,10 @@ fi if test "$_dart" = yes ; then |