diff options
author | Jonathan Gray | 2004-03-04 22:44:10 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-03-04 22:44:10 +0000 |
commit | 355e59ad6b6865afb9a0dd415b18e21d0722c30b (patch) | |
tree | da960aff35389a3884d46bda02c1c18557a7b4c0 /configure | |
parent | af2f29f55cb5ae611b0c9e83474b1f0f14b33508 (diff) | |
download | scummvm-rg350-355e59ad6b6865afb9a0dd415b18e21d0722c30b.tar.gz scummvm-rg350-355e59ad6b6865afb9a0dd415b18e21d0722c30b.tar.bz2 scummvm-rg350-355e59ad6b6865afb9a0dd415b18e21d0722c30b.zip |
add function to provide echo -n behaviour for the echo -n less solaris users
svn-id: r13191
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -62,7 +62,7 @@ cc_check() { } echocheck () { - echo -n "Checking for $@... " + echo_n "Checking for $@... " } # @@ -121,6 +121,14 @@ find_sdlconfig() } # +# Function to provide echo -n for bourne shells that don't have it +# +echo_n() +{ + printf "$@" +} + +# # Determine a data type with the given length # find_type_with_size () @@ -533,7 +541,7 @@ EOF # # Check whether memory alignment is required # - echo -n "Alignment required... " + echo_n "Alignment required... " cat > $TMPC << EOF #include <stdlib.h> #include <signal.h> @@ -763,7 +771,7 @@ if test "$_build_sky" = yes ; then echo " Beneath a Steel Sky" fi if test "$_build_sword1" = yes ; then - echo -n " Broken Sword I" + echo_n " Broken Sword I" if test "$_mpeg2" = yes ; then echo " (w/ mpeg2 cutscenes)" else @@ -771,7 +779,7 @@ if test "$_build_sword1" = yes ; then fi fi if test "$_build_sword2" = yes ; then - echo -n " Broken Sword II" + echo_n " Broken Sword II" if test "$_mpeg2" = yes ; then echo " (w/ mpeg2 cutscenes)" else @@ -783,7 +791,7 @@ if test "$_build_queen" = yes ; then fi echo -echo -n "Backend... " +echo_n "Backend... " echo "$_backend" # |