configure.ac: eliminate bashism "echo -n"

Use "printf" instead.
This commit is contained in:
Max Kellermann
2011-01-07 17:26:09 +01:00
parent 59a417fc84
commit 3149d1abf9
2 changed files with 20 additions and 20 deletions

View File

@@ -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"
])