summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/groff.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/groff.m4 b/m4/groff.m4
index 35c35852a..50077e714 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -210,9 +210,9 @@ AC_DEFUN([GROFF_MAKEINFO],
# is too old, the latter is too.
AC_DEFUN([GROFF_TEXI2DVI],
[AC_REQUIRE([GROFF_MAKEINFO])
- AC_CHECK_PROG([PROG_TEXI2DVI], [texi2dvi], [found], [missing])
+ AC_CHECK_PROG([PROG_TEXI2DVI], [texi2dvi], [texi2dvi], [missing])
groff_have_texi2dvi=no
- if test "$PROG_TEXI2DVI" = found && test -n "$MAKEINFO"
+ if test "$PROG_TEXI2DVI" != missing && test -n "$MAKEINFO"
then
groff_have_texi2dvi=yes
fi])