Mercurial > mplayer.hg
comparison configure @ 965:f8bc0e5eae0d
Updates for sdl audio out.
author | atmosfear |
---|---|
date | Sun, 03 Jun 2001 10:46:42 +0000 |
parents | 162a78d3cc08 |
children | 9ad2313db4bf |
comparison
equal
deleted
inserted
replaced
964:34c1d8872420 | 965:f8bc0e5eae0d |
---|---|
932 fi | 932 fi |
933 | 933 |
934 # --- | 934 # --- |
935 | 935 |
936 _vosrc='' | 936 _vosrc='' |
937 _aosrc='' | |
937 | 938 |
938 if [ $_png = yes ]; then | 939 if [ $_png = yes ]; then |
939 _png='#define HAVE_PNG' | 940 _png='#define HAVE_PNG' |
940 _vosrc=$_vosrc' vo_png.c' | 941 _vosrc=$_vosrc' vo_png.c' |
941 else | 942 else |
960 fi | 961 fi |
961 | 962 |
962 if [ $_sdl = yes ]; then | 963 if [ $_sdl = yes ]; then |
963 _sdldef='#define HAVE_SDL' | 964 _sdldef='#define HAVE_SDL' |
964 _vosrc=$_vosrc' vo_sdl.c' | 965 _vosrc=$_vosrc' vo_sdl.c' |
966 _aosrc=$_aosrc' ao_sdl.c' | |
965 else | 967 else |
966 _sdldef='#undef HAVE_SDL' | 968 _sdldef='#undef HAVE_SDL' |
967 fi | 969 fi |
968 | 970 |
969 if [ $_x11 = yes ]; then | 971 if [ $_x11 = yes ]; then |
1187 OPTIONAL_SRCS=$_vosrc | 1189 OPTIONAL_SRCS=$_vosrc |
1188 OPTIONAL_OBJS=$_voobj | 1190 OPTIONAL_OBJS=$_voobj |
1189 | 1191 |
1190 EOF | 1192 EOF |
1191 | 1193 |
1194 echo "Creating libao2/config.mak" | |
1195 | |
1196 _aoobj=`echo $_aosrc | sed -e 's/\.c/\.o/g'` | |
1197 | |
1198 cat > libao2/config.mak << EOF | |
1199 | |
1200 include ../config.mak | |
1201 | |
1202 OPTIONAL_SRCS=$_aosrc | |
1203 OPTIONAL_OBJS=$_aoobj | |
1204 | |
1205 EOF | |
1206 | |
1192 echo "Creating libac3/config.mak" | 1207 echo "Creating libac3/config.mak" |
1193 | 1208 |
1194 if [ $_sse = yes ]; then | 1209 if [ $_sse = yes ]; then |
1195 _downmixc='downmix/downmix_kni.S' | 1210 _downmixc='downmix/downmix_kni.S' |
1196 _downmixo='downmix/downmix_kni.o' | 1211 _downmixo='downmix/downmix_kni.o' |
1268 fi | 1283 fi |
1269 | 1284 |
1270 if [ $_sdl = outdated ]; then | 1285 if [ $_sdl = outdated ]; then |
1271 echo "You have libSDL installed, but your version is outdated (earlier then" | 1286 echo "You have libSDL installed, but your version is outdated (earlier then" |
1272 echo "v.1.1.7), SDL support has been disabled please update, if you want to" | 1287 echo "v.1.1.7), SDL support has been disabled please update, if you want to" |
1273 echo "use it (libSDL v1.1.8 and v1.2.0 are tested and known to work, recent" | 1288 echo "use it (libSDL v1.1.8 and v1.2.0/1 are tested and known to work, recent" |
1274 echo "versions are available from http://www.libsdl.org/)." | 1289 echo "versions are available from http://www.libsdl.org/)." |
1275 echo "After updating you need to re-run ./configure and recompile to enable SDL." | 1290 echo "After updating you need to re-run ./configure and recompile to enable SDL." |
1291 echo "(If you only want to use SDLlib audio driver older versions might work, you" | |
1292 echo "can use --enable-sdl to force using SDLlib)" | |
1276 echo | 1293 echo |
1277 fi | 1294 fi |
1278 | 1295 |
1279 if [ $_win32libdirnotify = yes ]; then | 1296 if [ $_win32libdirnotify = yes ]; then |
1280 echo "Missing WIN32 codecs dir at $_win32libdir !" | 1297 echo "Missing WIN32 codecs dir at $_win32libdir !" |