summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2019-03-03 23:36:01 +0000
committerColin Watson <cjwatson@debian.org>2019-03-03 23:36:01 +0000
commit45e00cf967c91c1d95fab736d5587c29ed4ef265 (patch)
tree903c2854a76d3c7d22f6e49927990a1eceea16c0 /m4
parentcf9602e539ed14d602fa6e72153b6e62721d5385 (diff)
Avoid configure error message if nroff is broken
* m4/man-gnu-nroff.m4 (MAN_PROG_GNU_NROFF): Adjust test arguments slightly to avoid a spurious error message if nroff is sufficiently broken that it doesn't produce numeric output for "\n(.g".
Diffstat (limited to 'm4')
-rw-r--r--m4/man-gnu-nroff.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/man-gnu-nroff.m4 b/m4/man-gnu-nroff.m4
index 2b9fa779..9aab841d 100644
--- a/m4/man-gnu-nroff.m4
+++ b/m4/man-gnu-nroff.m4
@@ -1,4 +1,4 @@
-# man-gnu-nroff.m4 serial 2
+# man-gnu-nroff.m4 serial 3
dnl
dnl Check to see if nroff is GNU nroff, take nroff path as arg.
dnl
@@ -9,7 +9,7 @@ AC_CACHE_VAL([man_cv_prog_gnu_nroff],
[if test `$1 <<EOF | tr -d '\n'
\\n(.g
EOF
-` -eq 1
+` = 1
then
man_cv_prog_gnu_nroff=yes
else