changeset 2974:91c9957508d4

warn instead of error if makeinfo program is missing
author John W. Eaton <jwe@octave.org>
date Wed, 06 Feb 2013 16:38:02 -0500
parents b5bdf006eebc
children 839a571d0b1d
files src/octave-7-fixes.patch
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/octave-7-fixes.patch	Wed Feb 06 16:38:02 2013 -0500
@@ -0,0 +1,17 @@
+diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
+--- a/m4/acinclude.m4
++++ b/m4/acinclude.m4
+@@ -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