openbsd-ports/x11/mplayer/patches/patch-configure

34 lines
928 B
Plaintext

$OpenBSD: patch-configure,v 1.14 2002/10/14 09:50:48 pvalchev Exp $
--- configure.orig Tue Sep 17 21:47:55 2002
+++ configure Thu Sep 19 17:14:38 2002
@@ -1828,6 +1828,11 @@ if test "$_soundcard" = yes ; then
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'
@@ -3093,7 +3098,7 @@ echores "$_sgiaudio"
echocheck "VCD support"
-if linux || bsdos || freebsd || netbsd || sunos ; then
+if linux || bsdos || freebsd || netbsd || openbsd || sunos ; then
_inputmodules="vcd $_inputmodules"
_def_vcd='#define HAVE_VCD 1'
echores "ok"
@@ -3623,7 +3628,7 @@ fi
echocheck "iconv"
-if test "$_iconv" = auto ; then
+if test "$_iconv" != no ; then
_iconv_tmp='#include <iconv.h>'
cat > $TMPC << EOF