diff options
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 19 |
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" |