[MPlayer-dev-eng] [PATCH] afmt.h

Björn Sandell biorn at dce.chalmers.se
Sun Oct 27 01:06:25 CEST 2002


On Sun, 27 Oct 2002 00:54:42 +0200
Arpi <arpi at thot.banki.hu> wrote:

> probably fixing teh check could solev the issue, either way:
> 
> int main(void) { return ioctl(); }

The picky compiler will whine: "too few arguments to function `_oss_ioctl'"

> or ok, just disable soundcard.h support ()#undef HAVE_SOUNDCARD_H)
> if no oss, on *BSD platforms only

Something like this? 

RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.587
diff -u -r1.587 configure
--- configure   25 Oct 2002 17:42:20 -0000      1.587
+++ configure   26 Oct 2002 23:07:12 -0000
@@ -1846,6 +1846,11 @@
 else
   _def_soundcard='#undef HAVE_SOUNDCARD_H'
 fi
+if test openbsd && test "$_ossaudio" = no ; then
+  _def_soundcard='#undef HAVE_SOUNDCARD_H'
+  _inc_soundcard=''
+  _soundcard='no'
+fi
 echores "$_soundcard"
 else
   _def_soundcard='#undef HAVE_SOUNDCARD_H'


-- 
Björn Sandell       DCE/DFS Sysadmin       IT department
Chalmers University of Technology    www.dce.chalmers.se



More information about the MPlayer-dev-eng mailing list