From: Ozan Çağlayan Date: Wed, 5 Jan 2011 11:01:04 +0000 (+0200) Subject: configure.in: Fix xmlto detection X-Git-Tag: rh-start~35 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=58981d43a979d35e2b64f6c40c7f469235d53c55;p=alsa-utils.git 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 --- diff --git a/configure.in b/configure.in index 8bae007..d51f6fa 100644 --- a/configure.in +++ b/configure.in @@ -88,13 +88,11 @@ AC_ARG_ENABLE(alsaconf, AM_CONDITIONAL(ALSACONF, test x$alsaconf = 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)