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 | 69c392bc127bf69876f4dedae8c3a6976219d448 (patch) | |
tree | 4c13a54170495148de9ac9c9a05d61287e2d2a7e /source/configure.in | |
parent | e37d025e6724196925c43c8ce558064ed5c072c5 (diff) | |
download | samba-69c392bc127bf69876f4dedae8c3a6976219d448.tar.gz samba-69c392bc127bf69876f4dedae8c3a6976219d448.tar.xz samba-69c392bc127bf69876f4dedae8c3a6976219d448.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.
Diffstat (limited to 'source/configure.in')
-rw-r--r-- | source/configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/configure.in b/source/configure.in index b9e32d62089..2b086d3d3b1 100644 --- a/source/configure.in +++ b/source/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) |