diff options
author | Max Horn | 2002-08-24 23:35:29 +0000 |
---|---|---|
committer | Max Horn | 2002-08-24 23:35:29 +0000 |
commit | 446b1231eb50269bf0b123d8fb47b1f8b8366d3e (patch) | |
tree | b5df333cf517f3222e1192208fdf9fb5a0975dac /configure | |
parent | c65a35430e74f479bc093e97602c3e6261f46563 (diff) | |
download | scummvm-rg350-446b1231eb50269bf0b123d8fb47b1f8b8366d3e.tar.gz scummvm-rg350-446b1231eb50269bf0b123d8fb47b1f8b8366d3e.tar.bz2 scummvm-rg350-446b1231eb50269bf0b123d8fb47b1f8b8366d3e.zip |
use printf instead of echo -n -> work on Solaris, too
svn-id: r4838
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -83,7 +83,7 @@ echo $datatype # Greet user # echo "Running ScummVM configure..." -echo -n > config.h +printf "" > config.h # @@ -111,7 +111,7 @@ done; # # 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 @@ fi # 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 @@ esac # # 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 @@ rm tmp_endianess_check tmp_endianess_check.cpp # 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" |