aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2014-04-25 17:44:26 +0300
committerLasse Collin <lasse.collin@tukaani.org>2014-04-25 17:44:26 +0300
commit56056571df3377eaa6ae6233b3ccc5d72e81d43d (patch)
tree01dacfdef3862a0eb0f535e92e5e51de394b1679 /configure.ac
parentUpdate INSTALL. (diff)
downloadxz-56056571df3377eaa6ae6233b3ccc5d72e81d43d.tar.xz
Build: Add --disable-doc to configure.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fa00fa09..6787f827 100644
--- a/configure.ac
+++ b/configure.ac
@@ -435,6 +435,12 @@ AC_ARG_ENABLE([scripts], [AC_HELP_STRING([--disable-scripts],
[], [enable_scripts=yes])
AM_CONDITIONAL([COND_SCRIPTS], [test x$enable_scripts != xno])
+AC_ARG_ENABLE([doc], [AC_HELP_STRING([--disable-doc],
+ [do not install documentation files to docdir
+ (man pages will still be installed)])],
+ [], [enable_doc=yes])
+AM_CONDITIONAL([COND_DOC], [test x$enable_doc != xno])
+
#####################
# Symbol versioning #