[alsa-devel] [alsa-utils PATCH 3/3] Fix xmlto detection, allow building without xmlto installed.

Diego Elio Pettenò flameeyes at gmail.com
Thu Jan 20 16:02:26 CET 2011


---
 configure.in |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/configure.in b/configure.in
index 6892fbf..51e7d63 100644
--- a/configure.in
+++ b/configure.in
@@ -102,11 +102,9 @@ AC_ARG_ENABLE(alsaloop,
      esac],[alsaloop=true])
 AM_CONDITIONAL(ALSALOOP, test x$alsaloop = xtrue)
 
-xmlto=""
 AC_ARG_ENABLE(xmlto,
- AS_HELP_STRING([--disable-xmlto], [Disable man page creation via xmlto]),
- xmlto="$enableval", xmlto="yes")
-if test "$xmlto" = "yes"; then
+ AS_HELP_STRING([--disable-xmlto], [Disable man page creation via xmlto]))
+if test "x$enable_xmlto" != "xno"; then
   AC_CHECK_PROG([xmlto], [xmlto], [yes])
 fi
 AM_CONDITIONAL(USE_XMLTO, test x"$xmlto" = xyes)
-- 
1.7.4.rc2



More information about the Alsa-devel mailing list