summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-01-29 19:04:12 +0100
committerStephen Gallagher <sgallagh@redhat.com>2012-02-04 08:27:16 -0500
commitbe65f065fef1d387281096ef095a2acef39ecc12 (patch)
tree748b305da6116c396d6a1e3fcc8810c21faa0575 /configure.ac
parent7312d03a87ae9713c46c275aff0102f79f5237ed (diff)
downloadsssd-be65f065fef1d387281096ef095a2acef39ecc12.tar.gz
sssd-be65f065fef1d387281096ef095a2acef39ecc12.tar.xz
sssd-be65f065fef1d387281096ef095a2acef39ecc12.zip
SUDO: introduce a new config option --with-sudo
At the time being the option is also turned on when --enable-all-experimental-features is specified. https://fedorahosted.org/sssd/ticket/1145
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index baea45ca1..65136e1cd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,6 +94,7 @@ WITH_SEMANAGE
WITH_LIBNL
WITH_NOLOGIN_SHELL
WITH_APP_LIBS
+WITH_SUDO
m4_include([src/external/pkg.m4])
m4_include([src/external/libpopt.m4])
@@ -236,11 +237,6 @@ AM_CONDITIONAL([HAVE_DOXYGEN], [test x$DOXYGEN != xfalse ])
AM_CONDITIONAL([HAVE_CHECK], [test x$have_check != x])
-AM_CONDITIONAL([BUILD_SUDO], [test x$build_all_experimental_features != xno])
-if test x$build_all_experimental_features != xno; then
- AC_DEFINE(BUILD_SUDO, 1, [whether to build with SUDO support])
-fi
-
abs_build_dir=`pwd`
AC_DEFINE_UNQUOTED([ABS_BUILD_DIR], ["$abs_build_dir"], [Absolute path to the build directory])
AC_SUBST([abs_builddir], $abs_build_dir)