From 40b2be4f4312470044cdef460b02b66003f5c85f Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Sat, 26 Jul 2014 14:58:58 +0200 Subject: BUILD: Detect nss_wrapper and uid_wrapper during configure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unit testing the utilities to become another user requires the use of the cwrap libraries. This patch augments our build system with macros to detect the nss_wrapper and and uid_wrapper libraries. Reviewed-by: Lukáš Slebodník --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2852c2f8e..1edf4cb19 100644 --- a/configure.ac +++ b/configure.ac @@ -171,6 +171,7 @@ 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]) if test x$build_config_lib = xyes; then m4_include([src/external/libaugeas.m4]) @@ -323,6 +324,8 @@ AM_CONDITIONAL([HAVE_DOXYGEN], [test x$DOXYGEN != xfalse ]) AM_CONDITIONAL([HAVE_CHECK], [test x$have_check != x]) AM_CHECK_CMOCKA +AM_CHECK_UID_WRAPPER +AM_CHECK_NSS_WRAPPER AM_CONDITIONAL([HAVE_DEVSHM], [test -d /dev/shm]) -- cgit