From 4429363aceb8c11fc69414ad85bce21e6dadb6c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Wed, 5 Jan 2011 13:01:04 +0200 Subject: [PATCH] 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 --- configure.in | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/configure.in b/configure.in index 2d6c80c..561ca46 100644 --- a/configure.in +++ b/configure.in @@ -102,13 +102,11 @@ AC_ARG_ENABLE(alsaloop, AM_CONDITIONAL(ALSALOOP, test x$alsaloop = xtrue) xmlto="" -if test x"$alsaconf" = xtrue; then - AC_ARG_ENABLE(xmlto, - AS_HELP_STRING([--disable-xmlto], [Disable man page creation via xmlto]), - xmlto="$enableval", xmlto="yes") - if test "$xmlto" = "yes"; then - AC_CHECK_PROG([xmlto], [xmlto], [yes]) - fi +AC_ARG_ENABLE(xmlto, + AS_HELP_STRING([--disable-xmlto], [Disable man page creation via xmlto]), + xmlto="$enableval", xmlto="yes") +if test "$xmlto" = "yes"; then + AC_CHECK_PROG([xmlto], [xmlto], [yes]) fi AM_CONDITIONAL(USE_XMLTO, test x"$xmlto" = xyes)