summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index b9e32d6208..2b086d3d3b 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3222,12 +3222,15 @@ AC_MSG_CHECKING(whether to build winbind)
HAVE_WINBIND=yes
+WINBIND_NSS=libnss_winbind
+
case "$host_os" in
*linux*)
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_linux.o"
;;
*irix*)
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_irix.o"
+ WINBIND_NSS="libns_winbind"
;;
*solaris*)
# Solaris winbind client is implemented as a wrapper around
@@ -3248,6 +3251,7 @@ case "$host_os" in
;;
esac
+AC_SUBST(WINBIND_NSS)
AC_SUBST(WINBIND_NSS_EXTRA_OBJS)
AC_SUBST(WINBIND_NSS_EXTRA_LIBS)