# HG changeset patch # User pontscho # Date 987381869 0 # Node ID 5062115afefd3f270fd6ad8d59c1ef87882d649b # Parent 31b9f60a9d9d0607fd5e6ec4601377f947e0d472 add --disable-select diff -r 31b9f60a9d9d -r 5062115afefd configure --- a/configure Mon Apr 16 00:34:10 2001 +0000 +++ b/configure Mon Apr 16 00:44:29 2001 +0000 @@ -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 @@ --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 @@ _xvlib= _x11lib= +_select='#define HAVE_AUDIO_SELECT' + for i in `echo $pparam`; do case "$i" in @@ -514,6 +523,9 @@ --enable-lirc) _lirc=yes ;; + --enable-select) + _select='#define HAVE_AUDIO_SELECT' + ;; --disable-sse) _sse=no ;; @@ -563,6 +575,9 @@ --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 @@ /* 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