From ee240557744c0cb876df4251286985beb55ecaf9 Mon Sep 17 00:00:00 2001 From: pontscho Date: Mon, 16 Apr 2001 00:44:29 +0000 Subject: [PATCH] add --disable-select git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@464 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/configure b/configure index d49fb504a9..0f2dcd6524 100755 --- a/configure +++ b/configure @@ -6,6 +6,10 @@ # # Changes in reversed order: # +# 2001/04/15 by Pontscho +# - added --disable-select option +# - added X11DIR variable in config.mak and fix syncfb Makefile -L/usr/X11/lib bug +# # 2001/03/24 by Mike Graffam: # - added autodetect code for XF86VidMode, along with explicit --enable-vm # @@ -91,6 +95,9 @@ params: --enable-xmmp use XMMP audio drivers --enable-lirc enable LIRC (remote control) support + --disable-select disable audio select() support ( for example required this + option ALSA or Vortex2 driver ) + --with-x11libdir=DIR X library files are in DIR --with-win32libdir=DIR windows codec files @@ -202,6 +209,8 @@ _sdllib= _xvlib= _x11lib= +_select='#define HAVE_AUDIO_SELECT' + for i in `echo $pparam`; do case "$i" in @@ -514,6 +523,9 @@ do --enable-lirc) _lirc=yes ;; + --enable-select) + _select='#define HAVE_AUDIO_SELECT' + ;; --disable-sse) _sse=no ;; @@ -563,6 +575,9 @@ do --disable-termcap) _termcap=no ;; + --disable-select) + _select='#undef HAVE_AUDIO_SELECT' + ;; --with-win32libdir=*) _win32libdir=`echo $ac_option | cut -d '=' -f 2` _win32libdirnotify=no @@ -837,7 +852,7 @@ cat > $CCONF << EOF /* Undefine this if your soundcard driver has no working select(). If you have kernel Oops, player hangups, or just no audio, you should try to recompile MPlayer with this option disabled! */ -#define HAVE_AUDIO_SELECT +$_select /* You have a choice for MP3 decoding: mp3lib(mpg123) or Win32(l3codeca.acm) #define this if you prefer mpg123 (with 3Dnow! support) than l3codeca.acm