summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-02-10 21:44:14 +0100
committerLennart Poettering <lennart@poettering.net>2012-02-10 21:44:14 +0100
commit75db9a77605b33a1b9355eae957f26380441fce6 (patch)
tree43f3bb8e6f464cbf29d1bf949dbcc2d9fb6e9979 /configure.ac
parentcabca20b1abe646cd57655effbc3a0516b78797f (diff)
man: make building of man pages optional
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0ad2b6aa67..af48f1ce72 100644
--- a/configure.ac
+++ b/configure.ac
@@ -363,6 +363,13 @@ if test "x$enable_coredump" != "xno"; then
fi
AM_CONDITIONAL(ENABLE_COREDUMP, [test "$have_coredump" = "yes"])
+have_manpages=no
+AC_ARG_ENABLE(manpages, AS_HELP_STRING([--disable-manpage], [disable manpages]))
+if test "x$enable_manpages" != "xno"; then
+ have_manpages=yes
+fi
+AM_CONDITIONAL(ENABLE_MANPAGES, [test "$have_manpages" = "yes"])
+
have_gtk=no
AC_ARG_ENABLE(gtk, AS_HELP_STRING([--disable-gtk], [disable GTK tools]))
if test "x$enable_gtk" != "xno"; then
@@ -653,4 +660,5 @@ AC_MSG_RESULT([
D-Bus system dir: ${with_dbussystemservicedir}
D-Bus interfaces dir: ${with_dbusinterfacedir}
Split /usr: ${have_split_usr}
+ Build man pages: ${have_manpages}
])