[MPlayer-cvslog] r33890 - trunk/configure

diego subversion at mplayerhq.hu
Fri Jul 22 00:25:17 CEST 2011


Author: diego
Date: Fri Jul 22 00:25:17 2011
New Revision: 33890

Log:
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.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Jul 22 00:25:08 2011	(r33889)
+++ trunk/configure	Fri Jul 22 00:25:17 2011	(r33890)
@@ -5733,9 +5733,8 @@ elif openbsd ; then
   default_cdrom_device="/dev/rcd0c"
 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"
+  # Solaris 10 and newer use HAL instead of the vold daemon.
+  test $(uname -r | sed 's/^5\.//') -gt 10 && default_cdrom_device="/cdrom/cdrom0"
 elif amigaos ; then
   default_cdrom_device="a1ide.device:2"
 else


More information about the MPlayer-cvslog mailing list