]> 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)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Jan 2011 18:54:08 +0000 (19:54 +0100)
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 2d6c80cbb3191dd7655350e2451c921af8287224..561ca4699de83575d973761757ae76a36fbbc835 100644 (file)
@@ -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)