diff options
author | Tim Potter <tpot@samba.org> | 2003-05-05 01:52:08 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-05-05 01:52:08 +0000 |
commit | d15406ad910bc952c741e8d4d574064dbc5e88ef (patch) | |
tree | 69ae49b45ed4f5942314b207f5ff621ccc62b374 /source/configure.in | |
parent | e1c6242dbc4c448de19d61d7a39b05f0444c4fbf (diff) | |
download | samba-d15406ad910bc952c741e8d4d574064dbc5e88ef.tar.gz samba-d15406ad910bc952c741e8d4d574064dbc5e88ef.tar.xz samba-d15406ad910bc952c741e8d4d574064dbc5e88ef.zip |
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.
Diffstat (limited to 'source/configure.in')
-rw-r--r-- | source/configure.in | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/source/configure.in b/source/configure.in index cd3b2cedcc4..77d160e4cb3 100644 --- a/source/configure.in +++ b/source/configure.in @@ -3212,7 +3212,7 @@ HAVE_WINBIND=yes # Define the winbind shared library name and any specific linker flags # it needs to be built with. -WINBIND_NSS=libnss_winbind +WINBIND_NSS=libnss_winbind.$SHLIBEXT WINBIND_NSS_LDSHFLAGS=$LDSHFLAGS case "$host_os" in @@ -3221,7 +3221,7 @@ case "$host_os" in ;; *irix*) WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_irix.o" - WINBIND_NSS="libns_winbind" + WINBIND_NSS="libns_winbind.$SHLIBEXT" ;; *solaris*) # Solaris winbind client is implemented as a wrapper around @@ -3236,6 +3236,7 @@ case "$host_os" in *aix*) WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_aix.o" WINBIND_NSS_LDSHFLAGS="-Wl,-bexpall,-bM:SRE,-ewb_aix_init" + WINBIND_NSS="WINBIND" ;; *) 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_SBIN_PROGS="$EXTRA_SBIN_PROGS bin/winbindd\$(EXEEXT)" if test x"$BLDSHARED" = x"true"; then - case "$host_os" in - *irix*) - SHLIB_PROGS="$SHLIB_PROGS nsswitch/libns_winbind.$SHLIBEXT" - ;; - *) - SHLIB_PROGS="$SHLIB_PROGS nsswitch/libnss_winbind.$SHLIBEXT" - ;; - esac + SHLIB_PROGS="$SHLIB_PROGS nsswitch/$WINBIND_NSS" + if test x"$with_pam" = x"yes"; then SHLIB_PROGS="$SHLIB_PROGS nsswitch/pam_winbind.$SHLIBEXT" fi |