[Scummvm-cvs-logs] CVS: scummvm-new configure,1.3,1.4

Max Horn fingolfin at users.sourceforge.net
Sat Aug 24 16:36:14 CEST 2002


Update of /cvsroot/scummvm/scummvm-new
In directory usw-pr-cvs1:/tmp/cvs-serv7936

Modified Files:
	configure 
Log Message:
use printf instead of echo -n  -> work on Solaris, too

Index: configure
===================================================================
RCS file: /cvsroot/scummvm/scummvm-new/configure,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- configure	24 Aug 2002 16:05:53 -0000	1.3
+++ configure	24 Aug 2002 23:35:29 -0000	1.4
@@ -83,7 +83,7 @@
 # Greet user
 #
 echo "Running ScummVM configure..."
-echo -n > config.h
+printf "" > config.h
 
 
 #
@@ -111,7 +111,7 @@
 #
 # Determine the C++ compiler
 #
-echo -n "Looking for C++ compiler... "
+printf "Looking for C++ compiler... "
 compilers="$CXX g++ c++"
 CXX=
 for compiler in $compilers; do
@@ -130,7 +130,7 @@
 # Determine hosttype
 #
 # TODO - also add an command line option to override this
-echo -n "Checking hosttype... "
+printf "Checking hosttype... "
 hosttype=`uname -s`
 echo $hosttype
 case $hosttype in
@@ -146,7 +146,7 @@
 #
 # Check for endianess
 #
-echo -n "Checking endianess... "
+printf "Checking endianess... "
 cat <<EOF >tmp_endianess_check.cpp
 #include <stdio.h>
 #include <stdlib.h>
@@ -183,15 +183,15 @@
 # Determine data type sizes
 # TODO: proper error checking
 #
-echo -n "Type with 1 byte... "
+printf "Type with 1 byte... "
 type_1_byte=`find_type_with_size 1`
 echo "$type_1_byte"
 
-echo -n "Type with 2 bytes... "
+printf "Type with 2 bytes... "
 type_2_byte=`find_type_with_size 2`
 echo "$type_2_byte"
 
-echo -n "Type with 4 bytes... "
+printf "Type with 4 bytes... "
 type_4_byte=`find_type_with_size 4`
 echo "$type_4_byte"
 





More information about the Scummvm-git-logs mailing list