summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2022-01-18 23:50:27 +0000
committerColin Watson <cjwatson@debian.org>2022-01-18 23:50:27 +0000
commit46b2edda4aa8a81852e1637e22589911885273cc (patch)
tree2d4d6d18e0d2d04d052ce6665bdd0551e0c171ec /configure.ac
parentf4d92f1d6f7a159b0f074b6784a3f9717eabdfd8 (diff)
Fix missing options when invoking troff
Broken by 000cda3ec5. * configure.ac: Move PROG_TROFF definition after all assignments to $troff.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 84ae36ab..1c8e5909 100644
--- a/configure.ac
+++ b/configure.ac
@@ -185,7 +185,6 @@ else
TROFF=troff
fi
AC_SUBST([TROFF])
-AC_DEFINE_UNQUOTED([PROG_TROFF], ["$troff"], [Program to use as troff.])
if test -n "$troff"
then
AC_DEFINE([HAS_TROFF], [1], [Define if you have troff.])
@@ -222,6 +221,7 @@ then
else
troff="(troff not installed)"
fi
+AC_DEFINE_UNQUOTED([PROG_TROFF], ["$troff"], [Program to use as troff.])
dnl We want to end up with "-" written as "\-" in manual pages. This
dnl requires additional \-escaping corresponding to the following quote
dnl removal steps: