From fa7a257113e2cfc963a0be9dca5d7b4c73999dcc Mon Sep 17 00:00:00 2001 From: Havard Graff Date: Tue, 12 May 2015 10:45:13 +0200 Subject: Add configure-option to disable building docs --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 445c589..669c9f5 100644 --- a/configure.ac +++ b/configure.ac @@ -282,6 +282,13 @@ if test "x$GCC" = "xyes"; then fi fi +AC_ARG_ENABLE(docs, + AC_HELP_STRING([--disable-docs], + [Disable building of docs (default: no)]), + [enable_docs=no], + [enable_docs=yes]) +AM_CONDITIONAL(BUILD_DOCS, [test x$enable_docs = xyes]) + AH_BOTTOM([ #ifdef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE #ifdef LIBFFI_ASM -- cgit v1.2.1