changeset 29345:1f8d78a38803

Modern Solaris versions have different default CD-ROM devices. patch by Pawel Tecza, ptecza uw.edu pl
author diego
date Wed, 24 Jun 2009 23:31:17 +0000
parents fb8ad1c8b5d6
children 6f1e9ed64b78
files configure
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Jun 24 08:13:52 2009 +0000
+++ b/configure	Wed Jun 24 23:31:17 2009 +0000
@@ -5770,6 +5770,9 @@
   default_cdrom_device="/dev/rcd0a"
 elif sunos ; then
   default_cdrom_device="/vol/dev/aliases/cdrom0"
+  # Modern Solaris versions use HAL instead of the vold daemon, the volfs
+  # file system and the volfs service.
+  test -r "/cdrom/cdrom0" && default_cdrom_device="/cdrom/cdrom0"
 elif amigaos ; then
   default_cdrom_device="a1ide.device:2"
 else