m4/pretty_print.m4: eliminate "eval"

This commit is contained in:
Max Kellermann 2014-12-08 15:29:23 +01:00
parent 4066b2767b
commit 9aada2ef19

View File

@ -1,8 +1,6 @@
AC_DEFUN([results], [
var="`echo '$'enable_$1`"
printf '('
if eval "test x$var = xyes"; then
if test x$[]enable_$1 = xyes; then
printf '+'
else
printf '-'