we miss the check of "makeinfo" into the autoconf/automake stuff ..
i just try to fix it...


byez
Domenico Chierico
Index: configure.in
===================================================================
--- configure.in	(revision 2891)
+++ configure.in	(working copy)
@@ -47,6 +47,14 @@
 AM_PROG_LEX
 AC_PROG_YACC
 
+AC_CHECK_PROG(make_info, makeinfo, yes, no)
+if test x$make_info = xno ; then
+   AC_MSG_WARN([ Cannot find makeinfo: info file will not be created])
+   MAKE_DOC=no
+else
+   MAKE_DOC=yes
+fi
+
 CFLAGS="$CFLAGS $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)"
 CXXFLAGS="$CXXFLAGS $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)"
 LDFLAGS="$LDFLAGS $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)"
@@ -352,6 +360,7 @@
 
 AM_CONDITIONAL(BUILD_MSCGI, test "$MAKE_MSCGI" = "yes")
 AM_CONDITIONAL(BUILD_CONTROL, test "$MAKE_CONTROL" = "yes")
+AM_CONDITIONAL(BUILD_DOC, test "$MAKE_DOC" = "yes")
 
 dnl AC_CONFIG_SUBDIRS()
 AC_CONFIG_FILES([
Index: Makefile.am
===================================================================
--- Makefile.am	(revision 2891)
+++ Makefile.am	(working copy)
@@ -9,12 +9,16 @@
 TESTS = tests
 endif
 
+if BUILD_DOC
+DOCS = documentation
+endif
+
 am__aclocal_m4_deps = $(top_srcdir)/m4/gnome-pthread-check.m4 \
         $(top_srcdir)/m4/fltk.m4 $(top_srcdir)/m4/libtool.m4 \
         $(top_srcdir)/m4/libxml.m4 $(top_srcdir)/m4/cppunit.m4 \
         $(top_srcdir)/configure.in
 
 
-SUBDIRS = src include $(CONTROL) $(CGI_LIB) binaries documentation $(TESTS)
+SUBDIRS = src include $(CONTROL) $(CGI_LIB) binaries $(DOCS) $(TESTS)
 
 EXTRA_DIST = stdafx.h stdafx.cpp doxygen SConstruct

Reply via email to