configure.ac revision 64ea4127f463798410a2c20e0261c6b15f60257f
c25356d5978632df6203437e1953bcb29e0c736fTimo SirainenAC_PREREQ(2.59)
839c67ba93b58e394daa435f7b99587eec97cefbTimo SirainenAC_INIT([sssd],
4a6f9ed8e5412508dcba1eabb58a3680ad5e9b68Timo Sirainen VERSION_NUMBER,
839c67ba93b58e394daa435f7b99587eec97cefbTimo Sirainen [sssd-devel@lists.fedorahosted.org])
4a6f9ed8e5412508dcba1eabb58a3680ad5e9b68Timo SirainenAC_CONFIG_SRCDIR([BUILD.txt])
4a6f9ed8e5412508dcba1eabb58a3680ad5e9b68Timo SirainenAC_CONFIG_AUX_DIR([build])
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainenm4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
4a6f9ed8e5412508dcba1eabb58a3680ad5e9b68Timo Sirainen [AC_USE_SYSTEM_EXTENSIONS],
4a6f9ed8e5412508dcba1eabb58a3680ad5e9b68Timo Sirainen [AC_GNU_SOURCE])
4a6f9ed8e5412508dcba1eabb58a3680ad5e9b68Timo SirainenCFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
146e7e3fabdd843d50680cdb6e4f7829890f5fcfTimo SirainenAM_INIT_AUTOMAKE([-Wall foreign subdir-objects tar-pax])
146e7e3fabdd843d50680cdb6e4f7829890f5fcfTimo SirainenAM_PROG_CC_C_O
047ebb958b682bc058097eddc34df574c3f3d6d4Timo Sirainenm4_ifdef([AM_PROG_AR], [AM_PROG_AR])
03b33ccb012636e453189ceef3865dee7812392eTimo SirainenAC_DISABLE_STATIC
146e7e3fabdd843d50680cdb6e4f7829890f5fcfTimo SirainenAC_PROG_INSTALL
4a6f9ed8e5412508dcba1eabb58a3680ad5e9b68Timo SirainenAC_PROG_LIBTOOL
AM_CONDITIONAL([GIT_CHECKOUT], [git log -1 >/dev/null 2>&1])
AC_CONFIG_HEADER(config.h)
AC_CHECK_TYPES([errno_t], [], [], [[#include <errno.h>]])
m4_include([src/build_macros.m4])
[AC_LANG_PROGRAM([[#include <pthread.h>]],
[Where to install pam modules ($libdir/security)])],
[pammoddir=$libdir/security])
[Where to install libnfsidmap libraries ($libdir/libnfsidmap)])],
[nfsidmaplibdir=$libdir/libnfsidmap])
#Include here cause WITH_INIT_DIR requires $osname set in platform.m4
m4_include([src/external/platform.m4])
m4_include(src/conf_macros.m4)
m4_include([src/external/pkg.m4])
m4_include([src/external/libpopt.m4])
m4_include([src/external/libtalloc.m4])
m4_include([src/external/libtdb.m4])
m4_include([src/external/libtevent.m4])
m4_include([src/external/libldb.m4])
m4_include([src/external/libdhash.m4])
m4_include([src/external/libcollection.m4])
m4_include([src/external/libini_config.m4])
m4_include([src/external/pam.m4])
m4_include([src/external/ldap.m4])
m4_include([src/external/libpcre.m4])
m4_include([src/external/krb5.m4])
m4_include([src/external/libcares.m4])
m4_include([src/external/libcmocka.m4])
m4_include([src/external/docbook.m4])
m4_include([src/external/sizes.m4])
m4_include([src/external/python.m4])
m4_include([src/external/selinux.m4])
m4_include([src/external/crypto.m4])
m4_include([src/external/nscd.m4])
m4_include([src/external/nsupdate.m4])
m4_include([src/external/libkeyutils.m4])
m4_include([src/external/libnl.m4])
m4_include([src/external/systemd.m4])
m4_include([src/external/pac_responder.m4])
m4_include([src/external/cifsidmap.m4])
m4_include([src/external/signal.m4])
m4_include([src/external/inotify.m4])
m4_include([src/external/samba.m4])
m4_include([src/external/sasl.m4])
m4_include([src/external/configlib.m4])
m4_include([src/external/libnfsidmap.m4])
m4_include([src/external/cwrap.m4])
m4_include([src/external/libresolv.m4])
m4_include([src/external/intgcheck.m4])
m4_include([src/external/libaugeas.m4])
m4_include([src/external/libunistring.m4])
m4_include([src/external/glib.m4])
AC_MSG_WARN([Without the 'CHECK' libraries, you will be unable to run all tests in the 'make check' suite])
AC_CHECK_HEADERS([check.h],,AC_MSG_ERROR([Could not find CHECK headers]))
AM_CONDITIONAL([HAVE_DEVSHM], [test -d /dev/shm])