diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 17:07:11 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 17:07:11 +0200 |
commit | a347ab83f447d7921d5d427e56f6965342b25834 (patch) | |
tree | 68e38df8ccb86498f08809201f132cfe0a598fe5 /nss_wrapper/config.m4 | |
parent | a8725f18fa5cac16583ba16cd8d54ee1ae492524 (diff) | |
parent | ca2da6154068c8fb9ef89407d34deb9bb8f5fbfa (diff) | |
download | samba-a347ab83f447d7921d5d427e56f6965342b25834.tar.gz samba-a347ab83f447d7921d5d427e56f6965342b25834.tar.bz2 samba-a347ab83f447d7921d5d427e56f6965342b25834.zip |
Merge branch 'singlensswrap' into single
Conflicts:
source3/configure.in
source4/Makefile
source4/configure.ac
source4/lib/nss_wrapper/nss_wrapper.c
source4/lib/replace/system/passwd.h
source4/main.mk
Diffstat (limited to 'nss_wrapper/config.m4')
-rw-r--r-- | nss_wrapper/config.m4 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nss_wrapper/config.m4 b/nss_wrapper/config.m4 new file mode 100644 index 0000000000..9b86b4dbb8 --- /dev/null +++ b/nss_wrapper/config.m4 @@ -0,0 +1,19 @@ +AC_ARG_ENABLE(nss-wrapper, +[ --enable-nss-wrapper Turn on nss wrapper library (default=no)]) + +HAVE_NSS_WRAPPER=no + +if eval "test x$developer = xyes"; then + enable_nss_wrapper=yes +fi + +if eval "test x$enable_nss_wrapper = xyes"; then + AC_DEFINE(NSS_WRAPPER,1,[Use nss wrapper library]) + HAVE_NSS_WRAPPER=yes + + # this is only used for samba3 + NSS_WRAPPER_OBJS="../nss_wrapper/nss_wrapper.o" +fi + +AC_SUBST(HAVE_NSS_WRAPPER) +AC_SUBST(NSS_WRAPPER_OBJS) |