From 3149d1abf98a54e78a805f6c4b025b4d99bfd6f0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 7 Jan 2011 17:26:09 +0100 Subject: configure.ac: eliminate bashism "echo -n" Use "printf" instead. --- m4/pretty_print.m4 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'm4') diff --git a/m4/pretty_print.m4 b/m4/pretty_print.m4 index da235946c..687dceefe 100644 --- a/m4/pretty_print.m4 +++ b/m4/pretty_print.m4 @@ -7,13 +7,13 @@ AC_DEFUN([results], [ var="`echo '$'enable_$1`" fi - echo -n '(' + printf '(' if eval "test x$var = xyes"; then - echo -n '+' + printf '+' elif test -n "$3" && eval "test x$var = x$3"; then - echo -n '+' + printf '+' else - echo -n '-' + printf '-' fi - echo -n "$2) " + printf '%s) ' "$2" ]) -- cgit v1.2.3