summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-03-31 05:51:41 +0000
committerTim Potter <tpot@samba.org>2003-03-31 05:51:41 +0000
commit836454ed58709f92a2b731f118532bab7d012e34 (patch)
tree3f73f2c3722004847ce13df6da723aede306d9d3 /source3
parent2f79b170c827f3c7f0fab05fba7d90d6a1b30949 (diff)
downloadsamba-836454ed58709f92a2b731f118532bab7d012e34.tar.gz
samba-836454ed58709f92a2b731f118532bab7d012e34.tar.bz2
samba-836454ed58709f92a2b731f118532bab7d012e34.zip
Tidyup of winbindd client OS specific autoconf code.
(This used to be commit b20b8d050b45846798a6dc535cfcd4a47ba21694)
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"
;;
*)