diff options
author | Max Kellermann <max@duempel.org> | 2011-01-07 17:26:09 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-01-07 17:31:30 +0100 |
commit | 3149d1abf98a54e78a805f6c4b025b4d99bfd6f0 (patch) | |
tree | 69637dba7d72552cf60b7de9b50a02b65a2d5fe6 /m4/pretty_print.m4 | |
parent | 59a417fc84883347d305b9139ecfddc9b3c2725a (diff) | |
download | mpd-3149d1abf98a54e78a805f6c4b025b4d99bfd6f0.tar.gz mpd-3149d1abf98a54e78a805f6c4b025b4d99bfd6f0.tar.xz mpd-3149d1abf98a54e78a805f6c4b025b4d99bfd6f0.zip |
configure.ac: eliminate bashism "echo -n"
Use "printf" instead.
Diffstat (limited to 'm4/pretty_print.m4')
-rw-r--r-- | m4/pretty_print.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
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" ]) |