[Scummvm-cvs-logs] CVS: scummvm configure,1.75,1.76
Jonathan Gray
khalek at users.sourceforge.net
Thu Mar 4 15:06:03 CET 2004
Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4388
Modified Files:
configure
Log Message:
add function to provide echo -n behaviour for the echo -n less solaris users
Index: configure
===================================================================
RCS file: /cvsroot/scummvm/scummvm/configure,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- configure 25 Feb 2004 11:41:54 -0000 1.75
+++ configure 4 Mar 2004 22:44:10 -0000 1.76
@@ -62,7 +62,7 @@
}
echocheck () {
- echo -n "Checking for $@... "
+ echo_n "Checking for $@... "
}
#
@@ -121,6 +121,14 @@
}
#
+# 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 @@
#
# 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 @@
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 @@
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 @@
fi
echo
-echo -n "Backend... "
+echo_n "Backend... "
echo "$_backend"
#
More information about the Scummvm-git-logs
mailing list