diff options
author | Werner Lemberg <wl@gnu.org> | 2014-10-12 10:58:01 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2014-10-12 10:58:01 +0200 |
commit | 72c9c8f857c79ee48ee4f0a3c4c00ec84758e734 (patch) | |
tree | e815f182b9b92b47438f5a56c3770fd854bc0291 | |
parent | 2302f01217b3e925cc6783c999f0b946cae7a2bb (diff) | |
download | groff-git-72c9c8f857c79ee48ee4f0a3c4c00ec84758e734.tar.gz |
Correctly handle `MAKEINFO' environment variable.
Bug introduced in commit from 2014-03-29.
* m4/groff.m4 (GROFF_MAKEINFO): Don't set MAKEINFO to empty string
before actually testing it.
* configure: Regenerated.
-rw-r--r-- | ChangeLog | 10 | ||||
-rwxr-xr-x | configure | 12 | ||||
-rw-r--r-- | m4/groff.m4 | 12 |
3 files changed, 24 insertions, 10 deletions
@@ -1,3 +1,13 @@ +2014-10-12 Werner LEMBERG <wl@gnu.org> + + Correctly handle `MAKEINFO' environment variable. + Bug introduced in commit from 2014-03-29. + + * m4/groff.m4 (GROFF_MAKEINFO): Don't set MAKEINFO to empty string + before actually testing it. + + * configure: Regenerated. + 2014-10-11 Bertrand Garrigues <bertrand.garrigues@laposte.net> Fix an issue on `make dist'. @@ -6056,11 +6056,7 @@ $as_echo "$as_me: WARNING: Invalid \`--with-doc' argument: $i" >&2;} -make_infodoc= - make_install_infodoc= - make_uninstall_infodoc= - MAKEINFO= - if test $docadd_info = yes; then +if test $docadd_info = yes; then missing= # Extract the first word of "makeinfo", so it can be a program name with args. set dummy makeinfo; ac_word=$2 @@ -6135,9 +6131,15 @@ Get the \`texinfo' package version 4.8 or newer if you want to convert \`groff.texinfo' into a PDF or HTML document." >&2;} fi fi + make_infodoc=infodoc make_install_infodoc=install_infodoc make_uninstall_infodoc=uninstall_infodoc + else + make_infodoc= + make_install_infodoc= + make_uninstall_infodoc= + MAKEINFO= fi diff --git a/m4/groff.m4 b/m4/groff.m4 index cbf184b45..502e10853 100644 --- a/m4/groff.m4 +++ b/m4/groff.m4 @@ -139,11 +139,7 @@ AC_DEFUN([GROFF_DOC_CHECK], # We need makeinfo 4.8 or newer. AC_DEFUN([GROFF_MAKEINFO], - [make_infodoc= - make_install_infodoc= - make_uninstall_infodoc= - MAKEINFO= - if test $docadd_info = yes; then + [if test $docadd_info = yes; then missing= AC_CHECK_PROG([MAKEINFO], [makeinfo], [makeinfo]) if test -z "$MAKEINFO"; then @@ -177,9 +173,15 @@ AC_DEFUN([GROFF_MAKEINFO], `groff.texinfo' into a PDF or HTML document.]) fi fi + make_infodoc=infodoc make_install_infodoc=install_infodoc make_uninstall_infodoc=uninstall_infodoc + else + make_infodoc= + make_install_infodoc= + make_uninstall_infodoc= + MAKEINFO= fi AC_SUBST([MAKEINFO]) AC_SUBST([make_infodoc]) |