summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 7b74b6f3ef..20c3b2ef04 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3165,27 +3165,26 @@ AC_MSG_CHECKING(whether to build winbind)
# Initially, the value of $host_os decides whether winbind is supported
+HAVE_WINBIND=yes
+
case "$host_os" in
*linux*)
- HAVE_WINBIND=yes
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_linux.o"
;;
*irix*)
- HAVE_WINBIND=yes
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_irix.o"
;;
*solaris*)
- HAVE_WINBIND=yes
+ # Solaris winbind client is implemented as a wrapper around
+ # the Linux version.
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris.o \
nsswitch/winbind_nss_linux.o"
WINBIND_NSS_EXTRA_LIBS="-lsocket"
;;
*hpux11*)
- HAVE_WINBIND=yes
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris.o"
;;
*aix*)
- HAVE_WINBIND=yes
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_aix.o"
;;
*)