summaryrefslogtreecommitdiffstats
path: root/src/conf_macros.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_macros.m4')
-rw-r--r--src/conf_macros.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4
index 8f8479459..c8fadd2ed 100644
--- a/src/conf_macros.m4
+++ b/src/conf_macros.m4
@@ -669,6 +669,22 @@ AC_DEFUN([WITH_IFP],
AM_CONDITIONAL([BUILD_IFP], [test x"$with_infopipe" = xyes])
])
+AC_DEFUN([WITH_LIBWBCLIENT],
+ [ AC_ARG_WITH([libwbclient],
+ [AC_HELP_STRING([--with-libwbclient],
+ [Whether to build SSSD implementation of libwbclient [yes]]
+ )
+ ],
+ [with_libwbclient=$withval],
+ with_libwbclient=yes
+ )
+
+ if test x"$with_libwbclient" = xyes; then
+ AC_DEFINE(BUILD_LIBWBCLIENT, 1, [whether to build SSSD implementation of libwbclient])
+ fi
+ AM_CONDITIONAL([BUILD_LIBWBCLIENT], [test x"$with_libwbclient" = xyes])
+ ])
+
AC_DEFUN([WITH_SAMBA],
[ AC_ARG_WITH([samba],
[AC_HELP_STRING([--with-samba],