Fix build for systems without makeinfo

Hrvoje Niksic <[email protected]> Fri, 06 May 2005 17:25:14 +0200
Newsgroups gmane.comp.web.wget.patches
Message-ID <[email protected]>
I noticed that the build process depends on `makeinfo', which doesn't
come with many commercial Unix systems.  This is not a problem for
users of official tarballs, which ship with pre-built Info files, but
is inconvenient for testing freshly checked-out code on various
systems.

This patch fixes the problem by setting MAKEINFO to `true' if not
found.


2005-05-06  Hrvoje Niksic  <[email protected]>

	* configure.in: Set MAKEINFO to "true" so build doesn't fail for
	users without either makeinfo or the pre-packaged info files.

Index: configure.in
===================================================================
RCS file: /pack/anoncvs/wget/configure.in,v
retrieving revision 1.83
diff -u -r1.83 configure.in
--- configure.in	2005/04/29 22:31:47	1.83
+++ configure.in	2005/05/06 15:23:53
@@ -593,13 +593,13 @@
 dnl build the Info documentation.
 dnl
 
-AC_CHECK_PROGS(MAKEINFO, makeinfo)
+AC_CHECK_PROGS(MAKEINFO, [makeinfo], [true])
 
 dnl
 dnl Find perl and pod2man
 dnl
 
-AC_PATH_PROGS(PERL, perl5 perl, no)
+AC_PATH_PROGS(PERL, [perl5 perl], no)
 AC_PATH_PROG(POD2MAN, pod2man, no)
 
 if test "x${POD2MAN}" = xno; then