Mercurial > mplayer.hg
comparison configure @ 12801:9d9e74f6473b
OpenBSD portability fixes from the OpenBSD ports tree
author | diego |
---|---|
date | Mon, 12 Jul 2004 10:44:18 +0000 |
parents | 55e2deb36d79 |
children | 02f60bfbcaa1 |
comparison
equal
deleted
inserted
replaced
12800:d4e22e1f39f8 | 12801:9d9e74f6473b |
---|---|
443 # x86/x86pc is used by QNX | 443 # x86/x86pc is used by QNX |
444 case "`( uname -m ) 2>&1`" in | 444 case "`( uname -m ) 2>&1`" in |
445 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 ;; | 445 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 ;; |
446 ia64) host_arch=ia64 ;; | 446 ia64) host_arch=ia64 ;; |
447 x86_64|amd64) host_arch=x86_64 ;; | 447 x86_64|amd64) host_arch=x86_64 ;; |
448 ppc) host_arch=ppc ;; | 448 macppc|ppc) host_arch=ppc ;; |
449 alpha) host_arch=alpha ;; | 449 alpha) host_arch=alpha ;; |
450 sparc*) host_arch=sparc ;; | 450 sparc*) host_arch=sparc ;; |
451 parisc*|hppa*|9000*) host_arch=hppa ;; | 451 parisc*|hppa*|9000*) host_arch=hppa ;; |
452 arm*) host_arch=arm ;; | 452 arm*) host_arch=arm ;; |
453 s390) host_arch=s390 ;; | 453 s390) host_arch=s390 ;; |
4327 fi | 4327 fi |
4328 echores "$_sgiaudio" | 4328 echores "$_sgiaudio" |
4329 | 4329 |
4330 | 4330 |
4331 echocheck "VCD support" | 4331 echocheck "VCD support" |
4332 if linux || bsdos || freebsd || netbsd || sunos ; then | 4332 if linux || bsdos || freebsd || netbsd || openbsd || sunos ; then |
4333 _inputmodules="vcd $_inputmodules" | 4333 _inputmodules="vcd $_inputmodules" |
4334 _def_vcd='#define HAVE_VCD 1' | 4334 _def_vcd='#define HAVE_VCD 1' |
4335 echores "ok" | 4335 echores "ok" |
4336 else | 4336 else |
4337 _def_vcd='#undef HAVE_VCD' | 4337 _def_vcd='#undef HAVE_VCD' |
6652 #define DEFAULT_CDROM_DEVICE "D:" | 6652 #define DEFAULT_CDROM_DEVICE "D:" |
6653 #define DEFAULT_DVD_DEVICE "D:" | 6653 #define DEFAULT_DVD_DEVICE "D:" |
6654 #elif defined(SYS_DARWIN) | 6654 #elif defined(SYS_DARWIN) |
6655 #define DEFAULT_CDROM_DEVICE "/dev/rdiskN" | 6655 #define DEFAULT_CDROM_DEVICE "/dev/rdiskN" |
6656 #define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE | 6656 #define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE |
6657 #elif defined(__OpenBSD__) | |
6658 #define DEFAULT_CDROM_DEVICE "/dev/rcd0a" | |
6659 #define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE | |
6657 #else | 6660 #else |
6658 #define DEFAULT_CDROM_DEVICE "/dev/cdrom" | 6661 #define DEFAULT_CDROM_DEVICE "/dev/cdrom" |
6659 #define DEFAULT_DVD_DEVICE "/dev/dvd" | 6662 #define DEFAULT_DVD_DEVICE "/dev/dvd" |
6660 #endif | 6663 #endif |
6661 | 6664 |