summaryrefslogtreecommitdiff
path: root/lib/nss_wrapper/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nss_wrapper/config.m4')
-rw-r--r--lib/nss_wrapper/config.m419
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/nss_wrapper/config.m4 b/lib/nss_wrapper/config.m4
new file mode 100644
index 0000000000..45423788d1
--- /dev/null
+++ b/lib/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="../lib/nss_wrapper/nss_wrapper.o"
+fi
+
+AC_SUBST(HAVE_NSS_WRAPPER)
+AC_SUBST(NSS_WRAPPER_OBJS)