3c9e5b5e7e
Ok espie@ pvalchev@
32 lines
991 B
Plaintext
32 lines
991 B
Plaintext
$OpenBSD: patch-configure,v 1.24 2003/12/16 17:17:33 biorn Exp $
|
|
--- configure.orig 2003-12-08 22:33:31.000000000 +0100
|
|
+++ configure 2003-12-09 01:07:04.000000000 +0100
|
|
@@ -4020,7 +4020,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"
|
|
@@ -4826,7 +4826,7 @@ fi
|
|
|
|
|
|
echocheck "iconv"
|
|
-if test "$_iconv" = auto ; then
|
|
+if test "$_iconv" != no ; then
|
|
_iconv_tmp='#include <iconv.h>'
|
|
|
|
cat > $TMPC << EOF
|
|
@@ -6298,6 +6298,9 @@ $_def_vcd
|
|
#elif defined(SYS_DARWIN)
|
|
#define DEFAULT_CDROM_DEVICE "/dev/rdiskN"
|
|
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
|
|
+#elif defined(__OpenBSD__)
|
|
+#define DEFAULT_CDROM_DEVICE "/dev/rcd0a"
|
|
+#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
|
|
#else
|
|
#define DEFAULT_CDROM_DEVICE "/dev/cdrom"
|
|
#define DEFAULT_DVD_DEVICE "/dev/dvd"
|