[MPlayer-dev-eng] [PATCH] OpenBSD

Bernd Ernesti mplayer at lists.veego.de
Mon May 20 14:35:50 CEST 2002


On Mon, May 20, 2002 at 11:09:45AM +0200, Björn Sandell wrote:
> 
> libdha/Makefile: -li386 on x86 only
> configure: use libs (ossaudio and i386) when needed instead of always.
>            fix check for iconv.
>            oss audio is emulated so we don't want it on by default, thus
>            we'll look for <soundcard.h> only when --enable-ossaudio is
>            used. This might be a tad contorversial, but according to cvs
>            logs and source code comments <soundcard.h> is used only on
>            OpenBSD.

And also on NetBSD, thats where the OpenBSD <soundcard.h> come from.

Your check for "$_ossaudio" = yes break the autodetect of ossaudio
later.

Where the move of the _ld_arch="$_ld_arch -lossaudio" to the "OSS Audio"
check is a good idea.

You could then also move it for netbsd, but leave the part with the
-li386 there.

Bernd




More information about the MPlayer-dev-eng mailing list