[Mplayer-cvslog] CVS: main configure,1.590,1.591

Arpi of Ize arpi at mplayerhq.hu
Wed Oct 30 00:07:49 CET 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv14114

Modified Files:
	configure 
Log Message:
don't use soundcard.h on non-linux if no OSS support
(based on idea & bugreport by Björn Sandell <biorn at dce.chalmers.se>)


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.590
retrieving revision 1.591
diff -u -r1.590 -r1.591
--- configure	29 Oct 2002 22:01:09 -0000	1.590
+++ configure	29 Oct 2002 23:07:41 -0000	1.591
@@ -1845,13 +1845,19 @@
 EOF
 _soundcard=no
 cc_check && _soundcard=yes
+if ! linux && test "$_ossaudio" = no ; then
+  # we don't want touse soundcard.h on non-linux if no OSS support enabled!
+  echores "$_soundcard, but ignored!"
+  _soundcard=no
+else
+  echores "$_soundcard"
+fi
 if test "$_soundcard" = yes ; then
   _def_soundcard='#define HAVE_SOUNDCARD_H 1'
   _inc_soundcard='#include <soundcard.h>'
 else
   _def_soundcard='#undef HAVE_SOUNDCARD_H'
 fi
-echores "$_soundcard"
 else
   _def_soundcard='#undef HAVE_SOUNDCARD_H'
 fi




More information about the MPlayer-cvslog mailing list