You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/04/09 18:03:36 UTC

svn commit: r763711 - /commons/sandbox/runtime/trunk/src/main/native/configure

Author: mturk
Date: Thu Apr  9 16:03:35 2009
New Revision: 763711

URL: http://svn.apache.org/viewvc?rev=763711&view=rev
Log:
Use printf instead echo -n

Modified:
    commons/sandbox/runtime/trunk/src/main/native/configure

Modified: commons/sandbox/runtime/trunk/src/main/native/configure
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/configure?rev=763711&r1=763710&r2=763711&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/configure (original)
+++ commons/sandbox/runtime/trunk/src/main/native/configure Thu Apr  9 16:03:35 2009
@@ -66,12 +66,6 @@
 has_jni=false
 has_64_bit=false
 
-if [ -x /usr/ucb/echo ]; then
-    ECHO=/usr/ucb/echo
-else
-    ECHO=echo
-fi
-
 for o
 do
     case "$o" in
@@ -372,7 +366,7 @@
 
 have_include()
 {
-    $ECHO -n "Checking for <$1.h> " 1>&2
+    printf "Checking for %-32s" "<$1.h>" 1>&2
     cat > $test.c << EOF
 #include <stdlib.h>
 #include <$1.h>
@@ -398,7 +392,7 @@
 
 test_csizeof()
 {
-    $ECHO -n "Checking for sizeof \`$1' = " 1>&2
+    printf "Checking for sizeof %-25s" "$1" 1>&2
     cat > $test.c << EOF
 #include <stdio.h>
 #include <stdlib.h>
@@ -490,3 +484,4 @@
 
 echo ""
 echo "Configured for $host$bits-$cc."
+echo ""