[Scummvm-cvs-logs] SF.net SVN: scummvm:[43602] scummvm/trunk/configure

dhewg at users.sourceforge.net dhewg at users.sourceforge.net
Fri Aug 21 19:19:07 CEST 2009


Revision: 43602
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43602&view=rev
Author:   dhewg
Date:     2009-08-21 17:19:06 +0000 (Fri, 21 Aug 2009)

Log Message:
-----------
Enable 16bit support only for backends which support it

Modified Paths:
--------------
    scummvm/trunk/configure

Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure	2009-08-21 16:50:30 UTC (rev 43601)
+++ scummvm/trunk/configure	2009-08-21 17:19:06 UTC (rev 43602)
@@ -110,7 +110,7 @@
 _zlib=auto
 _mpeg2=no
 _fluidsynth=auto
-_16bit=yes
+_16bit=auto
 _readline=auto
 # Default option behaviour yes/no
 _text_console=no
@@ -639,7 +639,6 @@
 
 for ac_option in $@; do
 	case "$ac_option" in
-	--enable-16bit)           _16bit=yes      ;;
 	--disable-16bit)          _16bit=no       ;;
 	--disable-hq-scalers)     _build_hq_scalers=no ;;
 	--disable-scalers)        _build_scalers=no ;;
@@ -1496,6 +1495,23 @@
 fi
 
 #
+# Enable 16bit support only for backends which support it
+#
+case $_backend in
+	sdl)
+		if test "$_16bit" = auto ; then
+			_16bit=yes
+		else
+			_16bit=no
+		fi
+		;;
+	*)
+		_16bit=no
+		;;
+esac
+
+
+#
 # Add the results of the above checks to config.h
 #
 case $_endian in


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list