summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoratmosfear <atmosfear@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-03 10:46:42 +0000
committeratmosfear <atmosfear@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-03 10:46:42 +0000
commit40fdf0b1c1211427908290c88780881b2fa7a9d9 (patch)
tree7bfb9bec6b3d7f9742c634664bf42503394f68e3 /configure
parent71e67d5172e7f82e10e8558d99501176f036e0bb (diff)
downloadmpv-40fdf0b1c1211427908290c88780881b2fa7a9d9.tar.bz2
mpv-40fdf0b1c1211427908290c88780881b2fa7a9d9.tar.xz
Updates for sdl audio out.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@966 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 18 insertions, 1 deletions
diff --git a/configure b/configure
index ba5ad948dc..bd73810113 100755
--- a/configure
+++ b/configure
@@ -934,6 +934,7 @@ fi
# ---
_vosrc=''
+_aosrc=''
if [ $_png = yes ]; then
_png='#define HAVE_PNG'
@@ -962,6 +963,7 @@ fi
if [ $_sdl = yes ]; then
_sdldef='#define HAVE_SDL'
_vosrc=$_vosrc' vo_sdl.c'
+ _aosrc=$_aosrc' ao_sdl.c'
else
_sdldef='#undef HAVE_SDL'
fi
@@ -1189,6 +1191,19 @@ OPTIONAL_OBJS=$_voobj
EOF
+echo "Creating libao2/config.mak"
+
+_aoobj=`echo $_aosrc | sed -e 's/\.c/\.o/g'`
+
+cat > libao2/config.mak << EOF
+
+include ../config.mak
+
+OPTIONAL_SRCS=$_aosrc
+OPTIONAL_OBJS=$_aoobj
+
+EOF
+
echo "Creating libac3/config.mak"
if [ $_sse = yes ]; then
@@ -1270,9 +1285,11 @@ fi
if [ $_sdl = outdated ]; then
echo "You have libSDL installed, but your version is outdated (earlier then"
echo "v.1.1.7), SDL support has been disabled please update, if you want to"
- echo "use it (libSDL v1.1.8 and v1.2.0 are tested and known to work, recent"
+ echo "use it (libSDL v1.1.8 and v1.2.0/1 are tested and known to work, recent"
echo "versions are available from http://www.libsdl.org/)."
echo "After updating you need to re-run ./configure and recompile to enable SDL."
+ echo "(If you only want to use SDLlib audio driver older versions might work, you"
+ echo "can use --enable-sdl to force using SDLlib)"
echo
fi