summaryrefslogtreecommitdiffstats
path: root/server/conf_macros.m4
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-09-14 13:03:57 +0200
committerStephen Gallagher <sgallagh@redhat.com>2009-09-21 10:35:08 -0400
commit9570ca098cd0e92d1eb6aabc00fb8cac9fddd442 (patch)
tree38c745cd87c48aac9c195314782edd954c9e8287 /server/conf_macros.m4
parent8f035b043dbd4eb631b64c4d7dcdb35272e35142 (diff)
downloadsssd-9570ca098cd0e92d1eb6aabc00fb8cac9fddd442.tar.gz
sssd-9570ca098cd0e92d1eb6aabc00fb8cac9fddd442.tar.xz
sssd-9570ca098cd0e92d1eb6aabc00fb8cac9fddd442.zip
Provide python bindings for sysdb
Implement a set of python bindings for the sysdb with feature set similar to what is available in the tools. The primary consumers would be applications like system-config-users. Resolves: Ticket #102
Diffstat (limited to 'server/conf_macros.m4')
-rw-r--r--server/conf_macros.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/server/conf_macros.m4 b/server/conf_macros.m4
index aa2d578f7..9ab2003e9 100644
--- a/server/conf_macros.m4
+++ b/server/conf_macros.m4
@@ -137,3 +137,20 @@ AC_DEFUN([WITH_KRB5_PLUGIN_PATH],
fi
AC_SUBST(krb5pluginpath)
])
+
+AC_DEFUN([WITH_PYTHON_BINDINGS],
+ [ AC_ARG_WITH([python-bindings],
+ [AC_HELP_STRING([--with-python-bindings],
+ [Whether to build python bindings [yes]]
+ )
+ ],
+ [],
+ with_python_bindings=yes
+ )
+ if test x"$with_python_bindings" == xyes; then
+ HAVE_PYTHON_BINDINGS=1
+ AC_SUBST(HAVE_PYTHON_BINDINGS)
+ fi
+ AM_CONDITIONAL([BUILD_PYTHON_BINDINGS], [test x"$with_python_bindings" = xyes])
+ ])
+