configure.in: Fix xmlto detection

xmlto was never detected when alsaconf is disabled leading to a missing
alsactl_init man page.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Ozan Çağlayan 2011-01-05 13:01:04 +02:00 committed by Takashi Iwai
parent 0bd306df63
commit 4429363ace

View file

@ -102,13 +102,11 @@ AC_ARG_ENABLE(alsaloop,
AM_CONDITIONAL(ALSALOOP, test x$alsaloop = xtrue) AM_CONDITIONAL(ALSALOOP, test x$alsaloop = xtrue)
xmlto="" xmlto=""
if test x"$alsaconf" = xtrue; then AC_ARG_ENABLE(xmlto,
AC_ARG_ENABLE(xmlto, AS_HELP_STRING([--disable-xmlto], [Disable man page creation via xmlto]),
AS_HELP_STRING([--disable-xmlto], [Disable man page creation via xmlto]), xmlto="$enableval", xmlto="yes")
xmlto="$enableval", xmlto="yes") if test "$xmlto" = "yes"; then
if test "$xmlto" = "yes"; then AC_CHECK_PROG([xmlto], [xmlto], [yes])
AC_CHECK_PROG([xmlto], [xmlto], [yes])
fi
fi fi
AM_CONDITIONAL(USE_XMLTO, test x"$xmlto" = xyes) AM_CONDITIONAL(USE_XMLTO, test x"$xmlto" = xyes)