From badb4a15af485adef36a2f9604199a4e81eb2aa8 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 12 Dec 2014 11:54:06 +0100 Subject: btrfs-progs: autoconf: add --disable-documentation Signed-off-by: Karel Zak Signed-off-by: David Sterba --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 290d0224..79cb5919 100644 --- a/configure.ac +++ b/configure.ac @@ -66,6 +66,15 @@ AS_IF([test "x$enable_backtrace" = xno], [ AC_DEFINE([BTRFS_DISABLE_BACKTRACE], [1], [disable backtrace stuff in kerncompat.h ]) ]) + +AC_ARG_ENABLE([documentation], + AS_HELP_STRING([--disable-documentation], [do not build domumentation]), + [], [enable_documentation=yes] +) +AS_IF([test "x$enable_documentation" = xyes], [DISABLE_DOCUMENTATION=0], [DISABLE_DOCUMENTATION=1]) +AC_SUBST([DISABLE_DOCUMENTATION]) + + dnl Define _LIBS= and _CFLAGS= by pkg-config dnl dnl The default PKG_CHECK_MODULES() action-if-not-found is end the -- cgit v1.2.3