summaryrefslogtreecommitdiffstats
path: root/src/conf_macros.m4
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-10-02 14:59:35 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-04-04 14:05:50 +0200
commitcb4d5b588e704114b7090678752d33512baa718e (patch)
treeff637857b795a31fcd52e1b9ff5ddbae742d4969 /src/conf_macros.m4
parent03fb48fdaa7ed95ecb38ecc43a6d221ff2cfd950 (diff)
downloadsssd-cb4d5b588e704114b7090678752d33512baa718e.tar.gz
sssd-cb4d5b588e704114b7090678752d33512baa718e.tar.xz
sssd-cb4d5b588e704114b7090678752d33512baa718e.zip
IFP: Re-add the InfoPipe server
Related: https://fedorahosted.org/sssd/ticket/2072 This commit only adds the responder and the needed plumbing. No DBus related code is in yet.
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 87e1eefe1..1c3162668 100644
--- a/src/conf_macros.m4
+++ b/src/conf_macros.m4
@@ -635,3 +635,19 @@ AC_DEFUN([WITH_SSH],
fi
AM_CONDITIONAL([BUILD_SSH], [test x"$with_ssh" = xyes])
])
+
+AC_DEFUN([WITH_IFP],
+ [ AC_ARG_WITH([infopipe],
+ [AC_HELP_STRING([--with-infopipe],
+ [Whether to build with InfoPipe support [yes]]
+ )
+ ],
+ [with_infopipe=$withval],
+ with_infopipe=yes
+ )
+
+ if test x"$with_infopipe" = xyes; then
+ AC_DEFINE(BUILD_IFP, 1, [whether to build with InfoPipe support])
+ fi
+ AM_CONDITIONAL([BUILD_IFP], [test x"$with_infopipe" = xyes])
+ ])