summaryrefslogtreecommitdiffstats
path: root/server/conf_macros.m4
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-01-30 11:55:46 -0500
committerSimo Sorce <idra@samba.org>2009-02-24 13:43:46 -0500
commit795e12d8315c4f7f0d4b2abb77fb49e0417e362a (patch)
tree13ec245e3986b82cc1be367fcae8d29329ff9fc9 /server/conf_macros.m4
parentf2e97d2a437ec0a231275a7140773a03d5732148 (diff)
downloadsssd-795e12d8315c4f7f0d4b2abb77fb49e0417e362a.tar.gz
sssd-795e12d8315c4f7f0d4b2abb77fb49e0417e362a.tar.xz
sssd-795e12d8315c4f7f0d4b2abb77fb49e0417e362a.zip
Spec file patch Take 2:
Adding support for generating RPMS for sssd. Fixing TDB autoconf macros to require version 1.1.3 and support for the tdb_repack symbol (required by LDB) Updating tdb.h to #include <sys/stat.h> for proper autoconf Build system modifications to simplify RPM generation Fixing RPM build system as recommended during code review Minor tweaks to Makefile and sssd.spec Make policykit and infopipe configurable Soname and symlinks
Diffstat (limited to 'server/conf_macros.m4')
-rw-r--r--server/conf_macros.m437
1 files changed, 28 insertions, 9 deletions
diff --git a/server/conf_macros.m4 b/server/conf_macros.m4
index 33290d892..2c182cc11 100644
--- a/server/conf_macros.m4
+++ b/server/conf_macros.m4
@@ -58,16 +58,35 @@ AC_DEFUN(WITH_PIPE_PATH,
AC_DEFINE_UNQUOTED(PIPE_PATH, "$pipepath", [Where to store pipe files for the SSSD interconnects])
])
-AC_DEFUN(WITH_DBUS_SYSBUS_PATH,
- [ AC_ARG_WITH([dbus-sysbus-path],
- [AC_HELP_STRING([--with-dbus-sysbus-path=PATH],
- [Where to store policy files for the D-BUS system bus [/etc/dbus-1/system.d]]
+AC_DEFUN(WITH_POLICYKIT,
+ [ AC_ARG_WITH([policykit],
+ [AC_HELP_STRING([--with-policykit],
+ [Whether to include PolicyKit support [yes]]
)
- ]
+ ],
+ [],
+ with_policykit=yes
)
- sysbuspath="/etc/dbus-1/system.d"
- if test x"$with_dbus_sysbus_path" != x; then
- sysbuspath=$with_dbus_sysbus_path
+ if test x"$with_policykit" == xyes; then
+ AC_DEFINE(HAVE_POLICYKIT, 1, [Include PolicyKit support])
+ HAVE_POLICYKIT=1
+ AC_SUBST(HAVE_POLICYKIT)
fi
- AC_SUBST(sysbuspath)
])
+
+AC_DEFUN(WITH_INFOPIPE,
+ [ AC_ARG_WITH([infopipe],
+ [AC_HELP_STRING([--with-infopipe],
+ [Whether to include InfoPipe support [yes]]
+ )
+ ],
+ [],
+ with_infopipe=yes
+ )
+ if test x"$with_infopipe" == xyes; then
+ AC_DEFINE(HAVE_INFOPIPE, 1, [Include InfoPipe support])
+ HAVE_INFOPIPE=1
+ AC_SUBST(HAVE_INFOPIPE)
+ fi
+ ])
+