summaryrefslogtreecommitdiff
path: root/lib/nss_wrapper/config.m4
blob: ad1a168e734a09d7ba73ede6ecfbd5da286ad93a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
AC_ARG_ENABLE(nss-wrapper,
AS_HELP_STRING([--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)