m4/pretty_print.m4: drop support for "with_*" variables
Not used.
This commit is contained in:
parent
de43bddc1a
commit
4066b2767b
@ -1,17 +1,9 @@
|
|||||||
AC_DEFUN([results], [
|
AC_DEFUN([results], [
|
||||||
dnl This is a hack to allow "with" names, otherwise "enable".
|
var="`echo '$'enable_$1`"
|
||||||
num=`expr $1 : 'with'`
|
|
||||||
if test "$num" != "0"; then
|
|
||||||
var="`echo '$'$1`"
|
|
||||||
else
|
|
||||||
var="`echo '$'enable_$1`"
|
|
||||||
fi
|
|
||||||
|
|
||||||
printf '('
|
printf '('
|
||||||
if eval "test x$var = xyes"; then
|
if eval "test x$var = xyes"; then
|
||||||
printf '+'
|
printf '+'
|
||||||
elif test -n "$3" && eval "test x$var = x$3"; then
|
|
||||||
printf '+'
|
|
||||||
else
|
else
|
||||||
printf '-'
|
printf '-'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user