Mercurial > mplayer.hg
comparison configure @ 17000:7367ca4314d8
Tests should use echocheck/echores instead of plain echo for output.
author | diego |
---|---|
date | Thu, 17 Nov 2005 11:06:38 +0000 |
parents | fa1deb4641c2 |
children | d7794234ab7e |
comparison
equal
deleted
inserted
replaced
16999:3c2b27174412 | 17000:7367ca4314d8 |
---|---|
6932 | 6932 |
6933 _def_linux='#undef TARGET_LINUX' | 6933 _def_linux='#undef TARGET_LINUX' |
6934 linux && _def_linux='#define TARGET_LINUX 1' | 6934 linux && _def_linux='#define TARGET_LINUX 1' |
6935 | 6935 |
6936 # TODO cleanup the VIDIX stuff here | 6936 # TODO cleanup the VIDIX stuff here |
6937 echocheck "VIDIX" | |
6937 _def_vidix='#define CONFIG_VIDIX 1' | 6938 _def_vidix='#define CONFIG_VIDIX 1' |
6938 test "$_vidix" = no && _def_vidix='#undef CONFIG_VIDIX' | 6939 test "$_vidix" = no && _def_vidix='#undef CONFIG_VIDIX' |
6939 if test "$_vidix" = yes; then | 6940 if test "$_vidix" = yes; then |
6940 _vosrc="$_vosrc vo_cvidix.c" | 6941 _vosrc="$_vosrc vo_cvidix.c" |
6941 _vomodules="cvidix $_vomodules" | 6942 _vomodules="cvidix $_vomodules" |
6953 _vosrc="$_vosrc vo_xvidix.c" | 6954 _vosrc="$_vosrc vo_xvidix.c" |
6954 _vomodules="xvidix $_vomodules" | 6955 _vomodules="xvidix $_vomodules" |
6955 else | 6956 else |
6956 _novomodules="xvidix $_novomodules" | 6957 _novomodules="xvidix $_novomodules" |
6957 fi | 6958 fi |
6958 echo Checking for VIDIX ... "$_vidix" | 6959 echores "$_vidix" |
6959 | 6960 |
6961 echocheck "joystick" | |
6960 _def_joystick='#undef HAVE_JOYSTICK' | 6962 _def_joystick='#undef HAVE_JOYSTICK' |
6961 if test "$_joystick" = yes ; then | 6963 if test "$_joystick" = yes ; then |
6962 if linux ; then | 6964 if linux ; then |
6963 # TODO add some check | 6965 # TODO add some check |
6964 _def_joystick='#define HAVE_JOYSTICK 1' | 6966 _def_joystick='#define HAVE_JOYSTICK 1' |
6965 else | 6967 else |
6966 _joystick="no (unsupported under $system_name)" | 6968 _joystick="no (unsupported under $system_name)" |
6967 fi | 6969 fi |
6968 fi | 6970 fi |
6969 echo Checking for joystick ... "$_joystick" | 6971 echores "$_joystick" |
6970 | 6972 |
6971 echocheck "lirc" | 6973 echocheck "lirc" |
6972 if test "$_lirc" = auto ; then | 6974 if test "$_lirc" = auto ; then |
6973 _lirc=no | 6975 _lirc=no |
6974 if test -c /dev/lirc -o -c /dev/lirc/0 ; then | 6976 if test -c /dev/lirc -o -c /dev/lirc/0 ; then |