From 2853554cdb5ffd162699f2f50e65f6d5a766cacc Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 1 Mar 2002 01:03:06 +0000 Subject: Attempt to fix Solaris winbind nss build. Jeremy. (This used to be commit 10e3e6855be93b8c4d97d67a063d92ccee391fec) --- source3/configure.in | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index e700305283..9288f1cff5 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2572,14 +2572,23 @@ AC_MSG_CHECKING(whether to build winbind) # Initially, the value of $host_os decides whether winbind is supported -case "$host_os" in - *linux*|*solaris*|*irix*) +case "$host_os" in + *linux*|*irix*) HAVE_WINBIND=yes - ;; - *) + ;; + *solaris*) + HAVE_WINBIND=yes + WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris" + WINBIND_NSS_EXTGRA_LIBS="-lsocket" + ;; + *hpux11*) + HAVE_WINBIND=yes + WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris" + ;; + *) HAVE_WINBIND=no - winbind_no_reason=", unsupported on $host_os" - ;; + winbind_no_reason=", unsupported on $host_os" + ;; esac # Check the setting of --with-winbindd @@ -2635,6 +2644,8 @@ AC_SUBST(WINBIND_TARGETS) AC_SUBST(WINBIND_STARGETS) AC_SUBST(WINBIND_LTARGETS) AC_SUBST(WINBIND_PAM_TARGETS) +AC_SUBST(WINBIND_NSS_EXTRA_OBJS) +AC_SUBST(WINBIND_NSS_EXTRA_LIBS) ################################################# # Check to see if we should use the included popt -- cgit