summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-04-02 06:26:55 +0000
committerTim Potter <tpot@samba.org>2003-04-02 06:26:55 +0000
commitd2912967f49d1d758957e2fb137f1f693e04848c (patch)
tree59aa315627f307551e29ddabfd7962aeae712f6a
parent7e90c8a3b304c9e2b68b302f4c1ddffdcc02cf5d (diff)
downloadsamba-d2912967f49d1d758957e2fb137f1f693e04848c.tar.gz
samba-d2912967f49d1d758957e2fb137f1f693e04848c.tar.bz2
samba-d2912967f49d1d758957e2fb137f1f693e04848c.zip
Forgot to merge configure.in changes for winbind client tidyup.
(This used to be commit 5e9c494a241102805e76461197dc8b5afcac64d9)
-rw-r--r--source3/configure.in19
1 files changed, 14 insertions, 5 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 67cd4cbab8..7515ee78b0 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3265,19 +3265,28 @@ 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*|*irix*)
- HAVE_WINBIND=yes
+ *linux*)
+ WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_linux.o"
+ ;;
+ *irix*)
+ WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_irix.o"
;;
*solaris*)
- HAVE_WINBIND=yes
- WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris.o"
+ # 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*)
+ WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_aix.o"
+ ;;
*)
HAVE_WINBIND=no
winbind_no_reason=", unsupported on $host_os"