提交 9713aed1 编写于 作者: M Michal Privoznik

virt-result.m4: Align string more generously

The times, when we had small CRTs are long gone. Now, in the era
of wide screens we can be more generous when it comes to aligning
the output of configure. The longest string before the colon is
'wireshark_dissector' which counts 19 characters.  Therefore,
align the strings at 20.

At the same time, drop the useless result alignment. It behaves
oddly - it puts a space at the end of each "no" because of the
%-3s format we use.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
Reviewed-by: NCole Robinson <crobinso@redhat.com>
上级 fe982195
...@@ -33,9 +33,9 @@ dnl LIBVIRT_RESULT([yajl], [yes], [-I/opt/yajl/include -lyajl]) ...@@ -33,9 +33,9 @@ dnl LIBVIRT_RESULT([yajl], [yes], [-I/opt/yajl/include -lyajl])
dnl dnl
AC_DEFUN([LIBVIRT_RESULT], [ AC_DEFUN([LIBVIRT_RESULT], [
if test "$2" = "no" || test -z "$3" ; then if test "$2" = "no" || test -z "$3" ; then
STR=`printf "%10s: %-3s" "$1" "$2"` STR=`printf "%20s: %s" "$1" "$2"`
else else
STR=`printf "%10s: %-3s (%s)" "$1" "$2" "$3"` STR=`printf "%20s: %s (%s)" "$1" "$2" "$3"`
fi fi
AC_MSG_NOTICE([$STR]) AC_MSG_NOTICE([$STR])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册