From 836454ed58709f92a2b731f118532bab7d012e34 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 31 Mar 2003 05:51:41 +0000 Subject: Tidyup of winbindd client OS specific autoconf code. (This used to be commit b20b8d050b45846798a6dc535cfcd4a47ba21694) --- source3/configure.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'source3') 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" ;; *) -- cgit