[Mplayer-cvslog] CVS: main configure,1.195,1.196
Arpi of Ize
arpi at mplayer.dev.hu
Tue Oct 23 15:59:13 CEST 2001
- Previous message: [Mplayer-cvslog] CVS: main dec_audio.c,1.44,1.45 ima4.c,1.1,1.2 ima4.h,1.1,1.2
- Next message: [Mplayer-cvslog] CVS: main Makefile,1.82,1.83 codec-cfg.c,1.43,1.44 codec-cfg.h,1.21,1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv403
Modified Files:
configure
Log Message:
mad audio support
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.195
retrieving revision 1.196
diff -u -r1.195 -r1.196
--- configure 22 Oct 2001 07:43:31 -0000 1.195
+++ configure 23 Oct 2001 13:59:10 -0000 1.196
@@ -6,6 +6,9 @@
#
# Changes in reversed order:
#
+# 2001/10/22 by Jeroen Dobbelaere
+# - added selection of libmad
+#
# 2001/08/27 by Johannes Feigl
# - added manual selection of language
#
@@ -194,6 +197,7 @@
--enable-termcap use termcap database for key codes
--enable-xmmp use XMMP audio drivers
--enable-lirc enable LIRC (remote control) support
+ --enable-mad enable mad audio support
--disable-iconv do not use iconv(3) function [autodetect]
--disable-ossaudio disable OSS sound support [autodetect]
@@ -228,6 +232,8 @@
(only needed if autodetection fails)
--with-extraincdir=DIR extra headers (png, SDL) are in DIR
(only needed if autodetection fails)
+ --with-madlibdir=DIR libmad library files are in DIR
+ --with-madincdir=DIR libmad header is in DIR
--size-x=SIZE default screen width
--size-y=SIZE default screen height
EOF
@@ -285,6 +291,12 @@
--with-extraincdir=*)
_extraincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`
;;
+ --with-madlibdir=*)
+ _madlibdir=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
+ ;;
+ --with-madincdir=*)
+ _madincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`
+ ;;
esac
done
@@ -1292,6 +1304,12 @@
--enable-divx4)
_divx4linux=yes
;;
+ --enable-mad)
+ _madlibrary=yes
+ ;;
+ --disable-mad)
+ _madlibrary=no
+ ;;
--disable-css)
_css=no
;;
@@ -1624,6 +1642,7 @@
echo "Checking for DeCSS support ... $_css"
echo "Checking for DVDread support ... $_dvdread"
echo "Checking for PNG support ... $_png"
+echo "Checking for mad support ... $_madlibrary"
echo "Checking for OggVorbis support ... $_vorbis"
echo "Checking for Win32 DLL support ... $_win32dll"
echo "Checking for DirectShow ... $_dshow"
@@ -1908,6 +1927,10 @@
_libpng='-lpng -lz'
fi
+if test "$_madlibrary" = yes ; then
+ _libmad='-lmad'
+fi
+
if test "$_vorbis" = yes ; then
_vorbis='#define HAVE_OGGVORBIS'
_libvorbis='-lvorbis -lm'
@@ -2086,6 +2109,11 @@
_png='#undef HAVE_PNG'
fi
+if test "$_madlibrary" = yes ; then
+ _madlibrary='#define USE_LIBMAD'
+else
+ _madlibrary='#undef USE_LIBMAD'
+fi
if test "$_mlib" = yes ; then
_mlibdef='#define HAVE_MLIB'
@@ -2264,7 +2292,7 @@
X11_INC=$_x11incdir
X11DIR=$_x11libdir
-X_LIBS=$_x11libdir $_extralibdir $_gllib $_ggilib $_sdllib $_dgalib $_x11lib $_xvlib $_vmlib $_svgalib $_libpng $_socklib $_aalib $_libvorbis $_xineramalib
+X_LIBS=$_x11libdir $_extralibdir $_gllib $_ggilib $_sdllib $_dgalib $_x11lib $_xvlib $_vmlib $_svgalib $_libpng $_socklib $_aalib $_libvorbis $_xineramalib $_libmad
TERMCAP_LIB=$_libtermcap
XMM_LIBS = $_xmmplibs
@@ -2287,6 +2315,8 @@
DIVX4LINUX=$_divx4linux
MLIB_INC = $_mlibinc
MLIB_LIB = $_mliblib
+MADLIB_INC = $_madincdir
+MADLIB_LIB = $_madlibdir
# --- Some stuff for autoconfigure ----
$_target_arch
@@ -2475,6 +2505,9 @@
/* enable PNG support */
$_png
+
+/* libmad support */
+$_madlibrary
/* enable OggVorbis support */
$_vorbis
- Previous message: [Mplayer-cvslog] CVS: main dec_audio.c,1.44,1.45 ima4.c,1.1,1.2 ima4.h,1.1,1.2
- Next message: [Mplayer-cvslog] CVS: main Makefile,1.82,1.83 codec-cfg.c,1.43,1.44 codec-cfg.h,1.21,1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list