aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-01-07 17:26:09 +0100
committerMax Kellermann <max@duempel.org>2011-01-07 17:31:30 +0100
commit3149d1abf98a54e78a805f6c4b025b4d99bfd6f0 (patch)
tree69637dba7d72552cf60b7de9b50a02b65a2d5fe6 /m4
parent59a417fc84883347d305b9139ecfddc9b3c2725a (diff)
configure.ac: eliminate bashism "echo -n"
Use "printf" instead.
Diffstat (limited to 'm4')
-rw-r--r--m4/pretty_print.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/m4/pretty_print.m4 b/m4/pretty_print.m4
index da235946..687dceef 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"
])