]> git.alsa-project.org Git - alsa-utils.git/commitdiff
configure.in: Fix xmlto detection
authorOzan Çağlayan <ozan@pardus.org.tr>
Wed, 5 Jan 2011 11:01:04 +0000 (13:01 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 12 Sep 2012 13:47:41 +0000 (15:47 +0200)
xmlto was never detected when alsaconf is disabled leading to a missing
alsactl_init man page.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
configure.in

index 8bae0079d301facd48e19d3ecc347f81039c35d3..d51f6fa50e8d7c8f598b0a5d3ae5bd65b778c0bd 100644 (file)
@@ -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)