freebsd9: support both WAF MIT krb5 build and autoconf build against MIT krb5
[Samba/gebeck_regimport.git] / lib / uid_wrapper / config.m4
blob2cd573e7f2b8f08ac7c21481b4ca25b540e97f4f
1 AC_ARG_ENABLE(uid-wrapper,
2 AS_HELP_STRING([--enable-uid-wrapper], [Turn on uid wrapper library (default=no)]))
4 HAVE_UID_WRAPPER=no
6 if eval "test x$developer = xyes"; then
7         enable_uid_wrapper=yes
8 fi
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
14         # this is only used for samba3
15         UID_WRAPPER_OBJS="../lib/uid_wrapper/uid_wrapper.o"
18 AC_SUBST(HAVE_UID_WRAPPER)
19 AC_SUBST(UID_WRAPPER_OBJS)