diff options
author | Sumit Bose <sbose@redhat.com> | 2014-08-27 18:27:07 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-09-02 14:35:23 +0200 |
commit | a9c287bda3fc2a1e12cef2135ade96945f11ad01 (patch) | |
tree | 428658a7535ec17f3f5a78e711cd620a75504f3b /src/conf_macros.m4 | |
parent | 316ff9ad6f959443ddadd54e9fe9ebf6c8052214 (diff) | |
download | sssd-a9c287bda3fc2a1e12cef2135ade96945f11ad01.tar.gz sssd-a9c287bda3fc2a1e12cef2135ade96945f11ad01.tar.xz sssd-a9c287bda3fc2a1e12cef2135ade96945f11ad01.zip |
libwbclient: make build optional
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/conf_macros.m4')
-rw-r--r-- | src/conf_macros.m4 | 16 |
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], |