diff options
author | Tim Potter <tpot@samba.org> | 2003-04-09 04:05:42 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-04-09 04:05:42 +0000 |
commit | e725e6a0b793ca7efdaef0acdcb23b264b9c5c34 (patch) | |
tree | fb000368d6d7a64596b6f348deb2f14f03dfc1ee /source3/configure.in | |
parent | 117b2d78f030df2ad16d4c399d122e60556cce00 (diff) | |
download | samba-e725e6a0b793ca7efdaef0acdcb23b264b9c5c34.tar.gz samba-e725e6a0b793ca7efdaef0acdcb23b264b9c5c34.tar.bz2 samba-e725e6a0b793ca7efdaef0acdcb23b264b9c5c34.zip |
Autoconfiscate the name of the winbind shared library file. Under
IRIX this is libns_winbind - everyone else is libnss_winbind.
This simplifies the Makefile a bit and also fixes the 'nsswitch' target
under IRIX.
(This used to be commit 69c392bc127bf69876f4dedae8c3a6976219d448)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index b9e32d6208..2b086d3d3b 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3222,12 +3222,15 @@ AC_MSG_CHECKING(whether to build winbind) HAVE_WINBIND=yes +WINBIND_NSS=libnss_winbind + case "$host_os" in *linux*) WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_linux.o" ;; *irix*) WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_irix.o" + WINBIND_NSS="libns_winbind" ;; *solaris*) # Solaris winbind client is implemented as a wrapper around @@ -3248,6 +3251,7 @@ case "$host_os" in ;; esac +AC_SUBST(WINBIND_NSS) AC_SUBST(WINBIND_NSS_EXTRA_OBJS) AC_SUBST(WINBIND_NSS_EXTRA_LIBS) |