summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2014-10-12 10:58:01 +0200
committerWerner Lemberg <wl@gnu.org>2014-10-12 10:58:01 +0200
commit72c9c8f857c79ee48ee4f0a3c4c00ec84758e734 (patch)
treee815f182b9b92b47438f5a56c3770fd854bc0291
parent2302f01217b3e925cc6783c999f0b946cae7a2bb (diff)
downloadgroff-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--ChangeLog10
-rwxr-xr-xconfigure12
-rw-r--r--m4/groff.m412
3 files changed, 24 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 7272aae1d..bd87d09d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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'.
diff --git a/configure b/configure
index 9206a5173..80d843de9 100755
--- a/configure
+++ b/configure
@@ -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])