summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBertrand Garrigues <bertrand.garrigues@laposte.net>2014-09-01 00:54:13 +0200
committerBertrand Garrigues <bertrand.garrigues@laposte.net>2015-01-27 23:13:14 +0100
commite1d74edf2cd5d99503d71d52ee49fdcd0df2ae8b (patch)
tree93e421102d844aec4fa70be28025fb2a9e99a843 /configure.ac
parent1e4291821439b86b769d439e824d28a20e7c9061 (diff)
downloadgroff-git-e1d74edf2cd5d99503d71d52ee49fdcd0df2ae8b.tar.gz
Add automake conditional to build without X support
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 5c72c8e07..31111b084 100644
--- a/configure.ac
+++ b/configure.ac
@@ -173,6 +173,16 @@ gl_LOCALCHARSET
AM_CONDITIONAL([BUILD_WINSCRIPTS], [test -n "$make_winscripts"])
+# 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