summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-16 00:44:29 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-16 00:44:29 +0000
commitee240557744c0cb876df4251286985beb55ecaf9 (patch)
tree771cc37af22c79753e7f9c36cf259925a2aaef80 /configure
parent974683f4f08e57682db9e3eb4fbb33fb019b2e3a (diff)
downloadmpv-ee240557744c0cb876df4251286985beb55ecaf9.tar.bz2
mpv-ee240557744c0cb876df4251286985beb55ecaf9.tar.xz
add --disable-select
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@464 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 16 insertions, 1 deletions
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