On Tue, 16 Oct 2012, Ian Kent wrote:
Here is the defaults.c patch after my changes. As I mentioned I had to include config.h and move a libxml include. I also moved the code in defaults.c around so it made in one large #if .. #endif include rather than several. I also added an #if conditional to include/defaults.h to match the one in lib/defaults.c. Of course there has been virtually no testing of the series yet, other than to verify that basic NIS functions. I'm out of time to work on this for now, but let me know what you think about the change.
Looks good to me and works in my cross-compiling environment. I never saw the libxml problem when compiling for my host after my own attempt to fix default.c.
--- Chris Packham (1): autofs-5.0.7 - lib/defaults.c: use WITH_LDAP conditional around LDAP types include/defaults.h | 14 +- include/lookup_ldap.h | 1 lib/defaults.c | 325 +++++++++++++++++++++++++------------------------ modules/lookup_ldap.c | 1 4 files changed, 174 insertions(+), 167 deletions(-) -- Ian
-- To unsubscribe from this list: send the line "unsubscribe autofs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html