diff m4/acinclude.m4 @ 16012:ca37c6023a79

don't abort configure if makeinfo is missing * acinclude.m4 (OCTAVE_PROG_MAKEINFO): Issue warning instead of error if makeinfo is not found. * configure.ac: Disable building docs if makeinfo is not found.
author John W. Eaton <jwe@octave.org>
date Thu, 07 Feb 2013 12:26:50 -0500
parents 139f4b19a3ac
children b309a5da17f5
line wrap: on
line diff
--- a/m4/acinclude.m4	Thu Feb 07 11:58:46 2013 -0500
+++ b/m4/acinclude.m4	Thu Feb 07 12:26:50 2013 -0500
@@ -1537,7 +1537,12 @@
   dnl exist which will then fool the 'test -z' line.
   AC_CHECK_PROG(MKINFO, makeinfo, makeinfo, [])
   if test -z "$MKINFO"; then
-    AC_MSG_ERROR([makeinfo program required for reading documentation])
+    warn_makeinfo="
+
+I didn't find makeinfo, which is required for reading documentation.
+You may install a copy later for Octave to use.
+"
+    OCTAVE_CONFIGURE_WARNING([warn_makeinfo])
   fi
 ])
 dnl