[MPlayer-dev-eng] [PATCH] configure

Björn Sandell biorn at dce.chalmers.se
Thu May 9 23:54:35 CEST 2002


Some small fixes to configure:

* --disable-select affects more than the oss audio
* openbsd and netbad runs on more than x86
* Don't hardcode stuff when you don't have to (or do you here?)

Björn Sandell       DCE/DFS Sysadmin       IT department
Chalmers University of Technology    www.dce.chalmers.se
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.462
diff -u -r1.462 configure
--- configure   9 May 2002 09:04:08 -0000       1.462
+++ configure   9 May 2002 21:47:50 -0000
@@ -184,7 +184,7 @@
   --disable-alsa         disable alsa sound support [autodetect]
   --disable-sunaudio     disable Sun sound support [autodetect]
   --disable-mad          disable mad audio support [autodetect]
-  --disable-select       disable using select() on OSS audio device [enable]
+  --disable-select       disable using select() on audio device [enable]
 
 Miscellaneous options:
   --cc=COMPILER          use this C compiler to build MPlayer [gcc]
@@ -3526,8 +3526,10 @@
 
 _ld_arch="$_ld_arch $_ld_pthread $_ld_dl $_ld_dl_dynamic"
 bsdos && _ld_arch="$_ld_arch -ldvd"
-netbsd && _ld_arch="$_ld_arch -li386 -lossaudio"
-openbsd && _ld_arch="$_ld_arch -li386 -lossaudio"
+if netbsd || openbsd  ; then
+  _ld_arch="$_ld_arch -lossaudio"
+  x86  && _ld_arch="$_ld_arch -li386"
+fi
 
 _def_debug='#undef MP_DEBUG'
 test "$_debug" && _def_debug='#define MP_DEBUG 1'
@@ -3598,7 +3600,6 @@
 DATADIR = $_datadir
 CONFDIR = $_confdir
 LIBDIR = $_libdir
-AR = ar
 CC = $_cc
 AWK = $_awk
 # OPTFLAGS = -O4 $_profile $_debug $_march $_mcpu -pipe -fomit-frame-pointer -ffast-math


More information about the MPlayer-dev-eng mailing list