summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2007-02-22 23:59:13 +0000
committerRich Megginson <rmeggins@redhat.com>2007-02-22 23:59:13 +0000
commit2ad4bda25e7add8792172d4ddf3e1f6b64cff5f4 (patch)
tree940985e3a31d312910d7855bfded75774c2a6c05 /config.h.in
parent701146551b71f8bf920c16c5fb2173138c74f9bd (diff)
downloadds-2ad4bda25e7add8792172d4ddf3e1f6b64cff5f4.tar.gz
ds-2ad4bda25e7add8792172d4ddf3e1f6b64cff5f4.tar.xz
ds-2ad4bda25e7add8792172d4ddf3e1f6b64cff5f4.zip
Resolves: bug 229691
Bug Description: Add enable switches for optional/experimental features Reviewed by: nkinder, nhosoi, prowley (Thanks!) Fix Description: Added --enable-pam-passthru, --enable-dna, and --enable-ldapi. They are all on by default and must be explicitly disabled (--disable-pam-passthru). These all cause ENABLE_xxx to be defined for C code so that we can enclose the code in #ifdef ENABLE_PAM_PASSTHRU blocks, for example. For the first two, these also cause the plugins to be built - so that if you specify --disable-pam-passthru, the plugin code will not be built at all. I discovered a nifty autoconf macro called AS_HELP_STRING - this nicely formats the help messages output by configure --help. I don't know if it's worth going through all of our m4 code to use this, but I went ahead and fixed configure.ac. Create instance will now add plugin configuration entries (but disabled) for pam passthru and dna if the corresponding ENABLE_ macros are defined. I also fixed a bug with passthru (not pam passthru) - the plugin configuration entry was not being added. Platforms tested: RHEL4, FC6 Flag Day: no Doc impact: no
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index ae48930a..9409bd78 100644
--- a/config.h.in
+++ b/config.h.in
@@ -12,6 +12,15 @@
/* cpu type sparc */
#undef CPU_sparc
+/* enable the dna plugin */
+#undef ENABLE_DNA
+
+/* enable ldapi support in the server */
+#undef ENABLE_LDAPI
+
+/* enable the pam passthru auth plugin */
+#undef ENABLE_PAM_PASSTHRU
+
/* Define to 1 if you have the <arpa/inet.h> header file. */
#undef HAVE_ARPA_INET_H