summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-12 10:44:18 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-12 10:44:18 +0000
commit7b4630e1016139b5fe8c3849c37e9801473f0e77 (patch)
tree121795cc432780829c1fab27628dbbf9a97d787a /configure
parent1f43198917242350ef1e00c73d8fddaf966d4720 (diff)
downloadmpv-7b4630e1016139b5fe8c3849c37e9801473f0e77.tar.bz2
mpv-7b4630e1016139b5fe8c3849c37e9801473f0e77.tar.xz
OpenBSD portability fixes from the OpenBSD ports tree
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12802 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index ffb7ca7485..76f911fb82 100755
--- a/configure
+++ b/configure
@@ -445,7 +445,7 @@ if test -z "$_target" ; then
i[3-9]86*|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) host_arch=i386 ;;
ia64) host_arch=ia64 ;;
x86_64|amd64) host_arch=x86_64 ;;
- ppc) host_arch=ppc ;;
+ macppc|ppc) host_arch=ppc ;;
alpha) host_arch=alpha ;;
sparc*) host_arch=sparc ;;
parisc*|hppa*|9000*) host_arch=hppa ;;
@@ -4329,7 +4329,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"
@@ -6654,6 +6654,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"