diff options
author | Max Kellermann <max@duempel.org> | 2014-12-08 15:28:54 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-08 15:28:54 +0100 |
commit | 4066b2767b2b6cbc2da907a46a62e8707399ec63 (patch) | |
tree | 2c73e7c8fc251830e1931dd249d8734b225e581a /m4 | |
parent | de43bddc1a5c1b66175265428fc84c5c13e4200c (diff) | |
download | mpd-4066b2767b2b6cbc2da907a46a62e8707399ec63.tar.gz mpd-4066b2767b2b6cbc2da907a46a62e8707399ec63.tar.xz mpd-4066b2767b2b6cbc2da907a46a62e8707399ec63.zip |
m4/pretty_print.m4: drop support for "with_*" variables
Not used.
Diffstat (limited to '')
-rw-r--r-- | m4/pretty_print.m4 | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/m4/pretty_print.m4 b/m4/pretty_print.m4 index 687dceefe..26ba4e90f 100644 --- a/m4/pretty_print.m4 +++ b/m4/pretty_print.m4 @@ -1,17 +1,9 @@ AC_DEFUN([results], [ - dnl This is a hack to allow "with" names, otherwise "enable". - num=`expr $1 : 'with'` - if test "$num" != "0"; then - var="`echo '$'$1`" - else - var="`echo '$'enable_$1`" - fi + var="`echo '$'enable_$1`" printf '(' if eval "test x$var = xyes"; then printf '+' - elif test -n "$3" && eval "test x$var = x$3"; then - printf '+' else printf '-' fi |