mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:45:41 +01:00
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:
parent
0bd306df63
commit
4429363ace
1 changed files with 5 additions and 7 deletions
12
configure.in
12
configure.in
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue