configure.ac revision f660877b38e563c4aa0cb1431624069808873fec
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_PREREQ(2.59)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([version.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_INIT([sssd],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes VERSION_NUMBER,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [sssd-devel@lists.fedorahosted.org])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [AC_USE_SYSTEM_EXTENSIONS],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [AC_GNU_SOURCE])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_CONFIG_SRCDIR([BUILD.txt])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_CONFIG_AUX_DIR([build])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_INIT_AUTOMAKE([-Wall foreign subdir-objects tar-pax])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_PROG_CC_C_O
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_DISABLE_STATIC
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_PROG_INSTALL
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_PROG_LIBTOOL
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_CONFIG_MACRO_DIR([m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_GNU_GETTEXT([external])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_GNU_GETTEXT_VERSION([0.14])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_SUBST([PRERELEASE_VERSION],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes PRERELEASE_VERSION_NUMBER)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_DEFINE([PRERELEASE_VERSION], "PRERELEASE_VERSION_NUMBER",
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [Prerelease version number of package])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_CONDITIONAL([GIT_CHECKOUT], [git log -1 &>/dev/null])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_pattern_allow([AM_SILENT_RULES])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_SILENT_RULES
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_CONDITIONAL([HAVE_GCC], [test "$ac_cv_prog_gcc" = yes])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_CHECK_HEADERS(stdint.h dlfcn.h)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_CONFIG_HEADER(config.h)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_CHECK_TYPES([errno_t], [], [], [[#include <errno.h>]])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/build_macros.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesBUILD_WITH_SHARED_BUILD_DIR
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_COMPILE_IFELSE(
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [AC_LANG_PROGRAM([[#include <pthread.h>]],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [[pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;]])],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [AC_DEFINE([HAVE_PTHREAD], [1], [Pthread mutexes available.])],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [AC_MSG_WARN([Pthread library not found! Clients will not be thread safe...])])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#Check for PAM headers
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_CHECK_HEADERS([security/pam_appl.h security/pam_misc.h security/pam_modules.h],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [AC_CHECK_LIB(pam, pam_get_item, [ PAM_LIBS="-lpam" ], [AC_MSG_ERROR([PAM must support pam_get_item])])],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [AC_MSG_ERROR([PAM development libraries not installed])]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#Set the NSS library install path
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_ARG_ENABLE([nsslibdir], [AS_HELP_STRING([--enable-nsslibdir],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [Where to install nss libraries ($libdir)])],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [nsslibdir=$enableval],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [nsslibdir=$libdir])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_SUBST(nsslibdir)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#Set the PAM module install path
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_ARG_ENABLE([pammoddir], [AS_HELP_STRING([--enable-pammoddir],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [Where to install pam modules ($libdir/security)])],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [pammoddir=$enableval],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [pammoddir=$libdir/security])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_SUBST(pammoddir)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#Include here cause WITH_INIT_DIR requires $osname set in platform.m4
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/platform.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include(src/conf_macros.m4)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_DISTRO_VERSION
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_DB_PATH
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_PLUGIN_PATH
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_PID_PATH
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_LOG_PATH
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_PUBCONF_PATH
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_PIPE_PATH
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_INIT_DIR
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_TEST_DIR
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_MANPAGES
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_XML_CATALOG
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_KRB5_PLUGIN_PATH
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_KRB5_RCACHE_DIR
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_PYTHON_BINDINGS
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_SELINUX
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_NSCD
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_SEMANAGE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_LIBNL
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_NOLOGIN_SHELL
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_APP_LIBS
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/pkg.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/libpopt.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/libtalloc.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/libtdb.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/libtevent.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/libldb.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/libdhash.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/libcollection.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/libini_config.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/pam.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/ldap.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/libpcre.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/krb5.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/libcares.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/docbook.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/sizes.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/python.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/selinux.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/crypto.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/nscd.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/nsupdate.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/libkeyutils.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/libnl.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/external/systemd.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesm4_include([src/util/signal.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_UNICODE_LIB
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif test x$unicode_lib = xlibunistring; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes m4_include([src/external/libunistring.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_DEFINE_UNQUOTED(HAVE_LIBUNISTRING, 1, [Using libunistring for unicode])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes UNICODE_LIBS=-lunistring
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_SUBST(UNICODE_LIBS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholeselse
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes m4_include([src/external/glib.m4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_DEFINE_UNQUOTED(HAVE_GLIB2, 1, [Using libunistring for unicode])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes UNICODE_LIBS=$GLIB2_LIBS
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_SUBST(UNICODE_LIBS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesWITH_INITSCRIPT
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif test x$initscript = xsystemd; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes WITH_SYSTEMD_UNIT_DIR
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_CHECK_MODULES([DBUS],[dbus-1])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesdnl if test -n "`$PKG_CONFIG --modversion dbus-1 | grep '^0\.'`" ; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif ! $PKG_CONFIG --atleast-version 1.0.0 dbus-1; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_API_SUBJECT_TO_CHANGE"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_MSG_RESULT([setting -DDBUS_API_SUBJECT_TO_CHANGE])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif test x$has_dbus != xno; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes SAFE_LIBS="$LIBS"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes LIBS="$DBUS_LIBS"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_CHECK_FUNC([dbus_watch_get_unix_fd],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_DEFINE([HAVE_DBUS_WATCH_GET_UNIX_FD], [1],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [Define if dbus_watch_get_unix_fd exists]))
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes LIBS="$SAFE_LIBS"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif test x$HAVE_MANPAGES != x; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes CHECK_XML_TOOLS
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes CHECK_STYLESHEET([$SGML_CATALOG_FILES],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [Docbook XSL templates])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_CHECK_PROG([PO4A],[po4a],[po4a],[no])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_CONDITIONAL([HAVE_MANPAGES], [test "x$HAVE_MANPAGES" != "x"])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_CONDITIONAL([HAVE_PO4A], [test "x$PO4A" != "xno"])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif test x$HAVE_PYTHON_BINDINGS != x; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AM_PATH_PYTHON([2.4])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AM_CHECK_PYTHON_HEADERS([],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_MSG_ERROR([Could not find python headers]))
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AM_PYTHON_CONFIG
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AM_CHECK_PYTHON_COMPAT
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif test x$HAVE_SELINUX != x; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AM_CHECK_SELINUX
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif test x$HAVE_SEMANAGE != x -a x$HAVE_SELINUX != x; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AM_CHECK_SEMANAGE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif test x$BUILD_LIBNL != x; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AM_CHECK_LIBNL
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif test x$HAVE_SYSTEMD_UNIT != x; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AM_CHECK_SYSTEMD
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_CHECK_NSS
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_CONDITIONAL([HAVE_NSS], [test x"$NSS_CFLAGS" != x])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_CHECK_HEADERS([sys/inotify.h])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_CHECK_HEADERS([sasl/sasl.h],,AC_MSG_ERROR([Could not find SASL headers]))
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_CACHE_CHECK([whether compiler supports __attribute__((destructor))],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sss_client_cv_attribute_destructor,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [AC_COMPILE_IFELSE(
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [AC_LANG_SOURCE([__attribute__((destructor)) static void cleanup(void) { }])],
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sss_client_cv_attribute_destructor=yes)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif test x"$sss_client_cv_attribute_destructor" = xyes ; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_DEFINE(HAVE_FUNCTION_ATTRIBUTE_DESTRUCTOR, 1,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [whether compiler supports __attribute__((destructor))])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_CHECK_MODULES([CHECK], [check >= 0.9.5], [have_check=1], [have_check=])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif test x$have_check = x; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_MSG_WARN([Without the 'CHECK' libraries, you will be unable to run all tests in the 'make check' suite])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholeselse
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_CHECK_HEADERS([check.h],,AC_MSG_ERROR([Could not find CHECK headers]))
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_PATH_PROG([DOXYGEN], [doxygen], [false])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_CONDITIONAL([HAVE_DOXYGEN], [test x$DOXYGEN != xfalse ])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_CONDITIONAL([HAVE_CHECK], [test x$have_check != x])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAM_CONDITIONAL([BUILD_SUDO], [test x$build_all_experimental_features != xno])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesif test x$build_all_experimental_features != xno; then
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes AC_DEFINE(BUILD_SUDO, 1, [whether to build with SUDO support])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesfi
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesabs_build_dir=`pwd`
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_DEFINE_UNQUOTED([ABS_BUILD_DIR], ["$abs_build_dir"], [Absolute path to the build directory])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_SUBST([abs_builddir], $abs_build_dir)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_CONFIG_FILES([Makefile contrib/sssd.spec src/examples/rwtab src/doxy.config
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes src/sysv/systemd/sssd.service po/Makefile.in src/man/Makefile
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes src/providers/ipa/ipa_hbac.pc src/providers/ipa/ipa_hbac.doxy
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes src/sss_client/sudo/libsss_sudo.pc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes src/sss_client/sudo/sss_sudo.doxy])
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesAC_OUTPUT
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes