[alsa-devel] [PATCH] configure.in: Fix xmlto detection
Takashi Iwai
tiwai at suse.de
Tue Jan 11 19:55:26 CET 2011
At Wed, 5 Jan 2011 13:01:04 +0200,
Ozan Çağlayan wrote:
>
> xmlto was never detected when alsaconf is disabled leading to a missing
> alsactl_init man page.
Thanks, applied now.
Takashi
> ---
> configure.in | 12 +++++-------
> 1 files 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)
>
> --
> 1.7.3.4
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
More information about the Alsa-devel
mailing list