aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-08 15:29:23 +0100
committerMax Kellermann <max@duempel.org>2014-12-08 15:31:59 +0100
commit9aada2ef19bbdb52c8c8889e0e0bb2f4c8597ad8 (patch)
tree101cdbade7721fe234b4120419158d1ed15bb7ed /m4
parent4066b2767b2b6cbc2da907a46a62e8707399ec63 (diff)
downloadmpd-9aada2ef19bbdb52c8c8889e0e0bb2f4c8597ad8.tar.gz
mpd-9aada2ef19bbdb52c8c8889e0e0bb2f4c8597ad8.tar.xz
mpd-9aada2ef19bbdb52c8c8889e0e0bb2f4c8597ad8.zip
m4/pretty_print.m4: eliminate "eval"
Diffstat (limited to 'm4')
-rw-r--r--m4/pretty_print.m44
1 files changed, 1 insertions, 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 '-'