mirror of
https://github.com/samba-team/samba.git
synced 2025-09-14 21:44:19 +03:00
AIX doesn't append $SHLIB_EXT to NSS libraries.
Also merged a little bit of abartlet's recent configure.in change of
duplicated IRIX stuff.
(This used to be commit d15406ad91
)
This commit is contained in:
@@ -657,7 +657,7 @@ smbfilter : SHOWFLAGS bin/smbfilter@EXEEXT@
|
|||||||
|
|
||||||
talloctort : SHOWFLAGS bin/talloctort@EXEEXT@
|
talloctort : SHOWFLAGS bin/talloctort@EXEEXT@
|
||||||
|
|
||||||
nsswitch : SHOWFLAGS bin/winbindd@EXEEXT@ bin/wbinfo@EXEEXT@ nsswitch/@WINBIND_NSS@.@SHLIBEXT@ nsswitch/pam_winbind.@SHLIBEXT@
|
nsswitch : SHOWFLAGS bin/winbindd@EXEEXT@ bin/wbinfo@EXEEXT@ nsswitch/@WINBIND_NSS@ nsswitch/pam_winbind.@SHLIBEXT@
|
||||||
|
|
||||||
wins : SHOWFLAGS nsswitch/libnss_wins.@SHLIBEXT@
|
wins : SHOWFLAGS nsswitch/libnss_wins.@SHLIBEXT@
|
||||||
|
|
||||||
@@ -979,7 +979,7 @@ bin/winbindd@EXEEXT@: $(WINBINDD_OBJ) @BUILD_POPT@ bin/.dummy
|
|||||||
@$(LINK) -o $@ $(WINBINDD_OBJ) $(DYNEXP) $(LIBS) @POPTLIBS@ $(ADSLIBS) \
|
@$(LINK) -o $@ $(WINBINDD_OBJ) $(DYNEXP) $(LIBS) @POPTLIBS@ $(ADSLIBS) \
|
||||||
@LDAP_LIBS@
|
@LDAP_LIBS@
|
||||||
|
|
||||||
nsswitch/@WINBIND_NSS@.@SHLIBEXT@: $(WINBIND_NSS_PICOBJS)
|
nsswitch/@WINBIND_NSS@: $(WINBIND_NSS_PICOBJS)
|
||||||
@echo "Linking $@"
|
@echo "Linking $@"
|
||||||
@$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_PICOBJS) \
|
@$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_PICOBJS) \
|
||||||
@WINBIND_NSS_EXTRA_LIBS@ @SONAMEFLAG@`basename $@`
|
@WINBIND_NSS_EXTRA_LIBS@ @SONAMEFLAG@`basename $@`
|
||||||
|
@@ -3212,7 +3212,7 @@ HAVE_WINBIND=yes
|
|||||||
# Define the winbind shared library name and any specific linker flags
|
# Define the winbind shared library name and any specific linker flags
|
||||||
# it needs to be built with.
|
# it needs to be built with.
|
||||||
|
|
||||||
WINBIND_NSS=libnss_winbind
|
WINBIND_NSS=libnss_winbind.$SHLIBEXT
|
||||||
WINBIND_NSS_LDSHFLAGS=$LDSHFLAGS
|
WINBIND_NSS_LDSHFLAGS=$LDSHFLAGS
|
||||||
|
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
@@ -3221,7 +3221,7 @@ case "$host_os" in
|
|||||||
;;
|
;;
|
||||||
*irix*)
|
*irix*)
|
||||||
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_irix.o"
|
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_irix.o"
|
||||||
WINBIND_NSS="libns_winbind"
|
WINBIND_NSS="libns_winbind.$SHLIBEXT"
|
||||||
;;
|
;;
|
||||||
*solaris*)
|
*solaris*)
|
||||||
# Solaris winbind client is implemented as a wrapper around
|
# Solaris winbind client is implemented as a wrapper around
|
||||||
@@ -3236,6 +3236,7 @@ case "$host_os" in
|
|||||||
*aix*)
|
*aix*)
|
||||||
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_aix.o"
|
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_aix.o"
|
||||||
WINBIND_NSS_LDSHFLAGS="-Wl,-bexpall,-bM:SRE,-ewb_aix_init"
|
WINBIND_NSS_LDSHFLAGS="-Wl,-bexpall,-bM:SRE,-ewb_aix_init"
|
||||||
|
WINBIND_NSS="WINBIND"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
HAVE_WINBIND=no
|
HAVE_WINBIND=no
|
||||||
@@ -3282,14 +3283,8 @@ if test x"$HAVE_WINBIND" = x"yes"; then
|
|||||||
EXTRA_BIN_PROGS="$EXTRA_BIN_PROGS bin/wbinfo\$(EXEEXT)"
|
EXTRA_BIN_PROGS="$EXTRA_BIN_PROGS bin/wbinfo\$(EXEEXT)"
|
||||||
EXTRA_SBIN_PROGS="$EXTRA_SBIN_PROGS bin/winbindd\$(EXEEXT)"
|
EXTRA_SBIN_PROGS="$EXTRA_SBIN_PROGS bin/winbindd\$(EXEEXT)"
|
||||||
if test x"$BLDSHARED" = x"true"; then
|
if test x"$BLDSHARED" = x"true"; then
|
||||||
case "$host_os" in
|
SHLIB_PROGS="$SHLIB_PROGS nsswitch/$WINBIND_NSS"
|
||||||
*irix*)
|
|
||||||
SHLIB_PROGS="$SHLIB_PROGS nsswitch/libns_winbind.$SHLIBEXT"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
SHLIB_PROGS="$SHLIB_PROGS nsswitch/libnss_winbind.$SHLIBEXT"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
if test x"$with_pam" = x"yes"; then
|
if test x"$with_pam" = x"yes"; then
|
||||||
SHLIB_PROGS="$SHLIB_PROGS nsswitch/pam_winbind.$SHLIBEXT"
|
SHLIB_PROGS="$SHLIB_PROGS nsswitch/pam_winbind.$SHLIBEXT"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user