s3: piddir creation fix part 2.
[ira/wip.git] / lib / uid_wrapper / config.m4
1 AC_ARG_ENABLE(uid-wrapper,
2 AS_HELP_STRING([--enable-uid-wrapper], [Turn on uid wrapper library (default=no)]))
3
4 HAVE_UID_WRAPPER=no
5
6 if eval "test x$developer = xyes"; then
7         enable_uid_wrapper=yes
8 fi
9
10 if eval "test x$enable_uid_wrapper = xyes"; then
11         AC_DEFINE(UID_WRAPPER,1,[Use uid wrapper library])
12         HAVE_UID_WRAPPER=yes
13
14         # this is only used for samba3
15         UID_WRAPPER_OBJS="../lib/uid_wrapper/uid_wrapper.o"
16 fi
17
18 AC_SUBST(HAVE_UID_WRAPPER)
19 AC_SUBST(UID_WRAPPER_OBJS)