summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bb02e3254..7ceec6098 100644
--- a/configure.ac
+++ b/configure.ac
@@ -171,6 +171,16 @@ GROFF_PNMTOPS_NOSETPAGE
gl_GLIBC21
gl_LOCALCHARSET
+# If X11 is not available, don't build:
+# font/devX75
+# font/devX75-12
+# font/devX100
+# font/devX100-12
+# src/devices/xditview
+# src/utils/xtotroff
+# src/libs/libxutil
+AM_CONDITIONAL([WITHOUT_X11], [test "x$groff_no_x" = "xyes"])
+
AC_CONFIG_FILES([Makefile])
AC_OUTPUT