From 9aada2ef19bbdb52c8c8889e0e0bb2f4c8597ad8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Dec 2014 15:29:23 +0100 Subject: [PATCH] m4/pretty_print.m4: eliminate "eval" --- m4/pretty_print.m4 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/m4/pretty_print.m4 b/m4/pretty_print.m4 index 26ba4e90f..75df7228e 100644 --- a/m4/pretty_print.m4 +++ b/m4/pretty_print.m4 @@ -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 '-'