configure.ac: Fix a couple of syntax errors created by the moves.
[mpd-mk.git] / m4 / pretty_print.m4
blob37efe5de113e5e6d90df4b47677335da9d053623
1 AC_DEFUN([results], [
2         dnl This is a hack to allow "with" names, otherwise "enable".
3         num=`expr match $1 "with"`
4         if test "$num" != "0"; then
5                 var="`echo '$'$1`"
6         else
7                 var="`echo '$'enable_$1`"
8         fi
10         echo -n "("
11         if eval "test x$var = xyes"; then
12                 echo -n "+"
13         else
14                 echo -n "-"
15         fi
16         echo -n "$2) "