[gcompris] Do not generate tex docs if texi2html is absent



commit c6bb3d5be6856e34b6e4c9642a8b57b95e3cd894
Author: Aleksey Lim <alsroot member fsf org>
Date:   Sat Sep 24 19:24:34 2011 +0000

    Do not generate tex docs if texi2html is absent

 configure.ac |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b725243..a5858c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -371,12 +371,11 @@ AC_PATH_PROG(TEXINFO, makeinfo,no)
 if test x$TEXINFO = xno; then
   AC_MSG_WARN(Couldn't find texinfo, docs are not compiled. please install the texinfo package)
 fi
-AM_CONDITIONAL(TEXINFO, test x$TEXINFO != xno)
-
 AC_PATH_PROG(TETEX, texi2html,no)
 if test x$TETEX = xno; then
   AC_MSG_WARN(Couldn't find texi2html usualy in the tetex package, please install it)
 fi
+AM_CONDITIONAL(TEXINFO, test x$TEXINFO != xno -a x$TETEX != xno)
 
 
 dnl SDLMixer support



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]