]> granicus.if.org Git - check/commitdiff
configure: do not use echo -n option in summary print out
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 14 Jun 2015 15:55:09 +0000 (15:55 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 14 Jun 2015 15:55:09 +0000 (15:55 +0000)
OSX's version of echo does not support the -n option, and thus the
summary output looked incorrect.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1207 64e312b2-a51f-0410-8e61-82d0ca0eb02a

configure.ac

index 4e4c9b8e5899d3972064307c20ea4475de169157..8edda1dcf57857fe52b9f2dd50e3bfff163532d6 100644 (file)
@@ -353,51 +353,51 @@ echo "=========================================="
 echo "Summary of Check options:"
 echo
 
-echo -n "fork mode ............................ "
 if test "x0" = x"$HAVE_FORK"; then
-    echo "no"
+    result="no"
 else
-    echo "yes"
+    result="yes"
 fi
+echo "fork mode ............................ $result"
 
-echo -n "high resolution timer replacement .... "
 case "$hw_cv_librt_timers_posix" in
     "yes")
-        echo "no"
+        result="no"
         ;;
     "no")
-        echo "yes"
+        result="yes"
         ;;
     *)
         # The AC_REPLACE_FUNCS macro was invoked,
         # meaning we are cross compiling.
         if test "xno" = x"$ac_cv_func_timer_create"; then
-            echo "yes"
+            result="yes"
         else
-            echo "no"
+            result="no"
         fi
         ;;
 esac
+echo "high resolution timer replacement .... $result"
 
-echo -n "snprintf replacement ................. "
 if test "xno" = x"$hw_cv_func_snprintf_c99"; then
-    echo "yes"
+    result="yes"
 else
-    echo "no"
+    result="no"
 fi
+echo "snprintf replacement ................. $result"
 
-echo -n "subunit support....................... "
 if test "xfalse" = x"$enable_subunit"; then
-    echo "no"
+    result="no"
 else
-    echo "yes"
+    result="yes"
 fi
+echo "subunit support....................... $result"
 
-echo -n "timeout unit tests ................... "
 if test "xtrue" = x"$enable_timeout_tests"; then
-    echo "yes"
+    result="yes"
 else
-    echo "no"
+    result="no"
 fi
+echo "timeout unit tests ................... $result"
 
 echo "=========================================="