diff configure @ 463:5062115afefd

add --disable-select
author pontscho
date Mon, 16 Apr 2001 00:44:29 +0000
parents 198b46b739d8
children 888a85621f50
line wrap: on
line diff
--- 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