Mercurial > hg > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
16011:8122286c69a9 | 16012:ca37c6023a79 |
---|---|
1535 dnl use MKINFO, not MAKEINFO, for variable name because Automake | 1535 dnl use MKINFO, not MAKEINFO, for variable name because Automake |
1536 dnl automatically defines a value for MAKEINFO even when it does not | 1536 dnl automatically defines a value for MAKEINFO even when it does not |
1537 dnl exist which will then fool the 'test -z' line. | 1537 dnl exist which will then fool the 'test -z' line. |
1538 AC_CHECK_PROG(MKINFO, makeinfo, makeinfo, []) | 1538 AC_CHECK_PROG(MKINFO, makeinfo, makeinfo, []) |
1539 if test -z "$MKINFO"; then | 1539 if test -z "$MKINFO"; then |
1540 AC_MSG_ERROR([makeinfo program required for reading documentation]) | 1540 warn_makeinfo=" |
1541 | |
1542 I didn't find makeinfo, which is required for reading documentation. | |
1543 You may install a copy later for Octave to use. | |
1544 " | |
1545 OCTAVE_CONFIGURE_WARNING([warn_makeinfo]) | |
1541 fi | 1546 fi |
1542 ]) | 1547 ]) |
1543 dnl | 1548 dnl |
1544 dnl What pager should we use? | 1549 dnl What pager should we use? |
1545 dnl | 1550 dnl |