]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Replace printf calls with echo in configure
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 24 Jan 2013 17:56:26 +0000 (18:56 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 24 Jan 2013 18:04:49 +0000 (19:04 +0100)
configure

index 1461997c68ff11c8789e6321ba2781f68fb7b55e..58038548e7dbda35cac3e06208fa60e8dc659ad1 100755 (executable)
--- a/configure
+++ b/configure
@@ -43,7 +43,7 @@ test_code () {
   ldflags=$4
   code=$5
 
-  printf "Checking for $name : "
+  echo -n "Checking for $name : "
 
   (
     for h in $headers; do
@@ -63,10 +63,10 @@ test_code () {
 
   if [ $? -eq 0 ]
   then
-    printf "Yes\n"
+    echo "Yes"
     result=0
   else
-    printf "No\n"
+    echo "No"
     result=1
   fi
   rm -f docheck.c docheck
@@ -361,7 +361,7 @@ else
   if test_code 'math in -lm' 'math.h' '' '-lm' "$MATHCODE"; then
     LIBS="-lm"
   else
-    printf "Can't compile/link a program which uses sqrt(), log(), pow(), bailing out\n"
+    echo "Can't compile/link a program which uses sqrt(), log(), pow(), bailing out"
     exit 1
   fi
 fi