Mercurial > mplayer.hg
comparison configure @ 33802:94292629886d
configure: select default CD-ROM device on Solaris according to OS version
This addresses Bugzilla bug #1499, patch by Pawel Tecza, ptecza uw.edu pl.
author | diego |
---|---|
date | Thu, 21 Jul 2011 22:25:17 +0000 |
parents | 6a9627d6f8f1 |
children | 254e56b1e39d |
comparison
equal
deleted
inserted
replaced
33801:5ebf5dc12543 | 33802:94292629886d |
---|---|
5731 default_cdrom_device="/dev/acd0" | 5731 default_cdrom_device="/dev/acd0" |
5732 elif openbsd ; then | 5732 elif openbsd ; then |
5733 default_cdrom_device="/dev/rcd0c" | 5733 default_cdrom_device="/dev/rcd0c" |
5734 elif sunos ; then | 5734 elif sunos ; then |
5735 default_cdrom_device="/vol/dev/aliases/cdrom0" | 5735 default_cdrom_device="/vol/dev/aliases/cdrom0" |
5736 # Modern Solaris versions use HAL instead of the vold daemon, the volfs | 5736 # Solaris 10 and newer use HAL instead of the vold daemon. |
5737 # file system and the volfs service. | 5737 test $(uname -r | sed 's/^5\.//') -gt 10 && default_cdrom_device="/cdrom/cdrom0" |
5738 test -r "/cdrom/cdrom0" && default_cdrom_device="/cdrom/cdrom0" | |
5739 elif amigaos ; then | 5738 elif amigaos ; then |
5740 default_cdrom_device="a1ide.device:2" | 5739 default_cdrom_device="a1ide.device:2" |
5741 else | 5740 else |
5742 default_cdrom_device="/dev/cdrom" | 5741 default_cdrom_device="/dev/cdrom" |
5743 fi | 5742 fi |