Tidyup of winbindd client OS specific autoconf code.
authorTim Potter <tpot@samba.org>
Mon, 31 Mar 2003 05:51:41 +0000 (05:51 +0000)
committerTim Potter <tpot@samba.org>
Mon, 31 Mar 2003 05:51:41 +0000 (05:51 +0000)
(This used to be commit b20b8d050b45846798a6dc535cfcd4a47ba21694)

source3/configure.in

index 7b74b6f3ef711c077fdd7717ea00174ff64c0ab5..20c3b2ef0454d7f6f5539092c9da09ae52c7a27f 100644 (file)
@@ -3165,27 +3165,26 @@ AC_MSG_CHECKING(whether to build winbind)
 
 # Initially, the value of $host_os decides whether winbind is supported
 
+HAVE_WINBIND=yes
+
 case "$host_os" in
        *linux*)
-               HAVE_WINBIND=yes
                WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_linux.o"
                ;;
        *irix*)
-               HAVE_WINBIND=yes
                WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_irix.o"
                ;;
        *solaris*)
-               HAVE_WINBIND=yes
+               # Solaris winbind client is implemented as a wrapper around
+               # the Linux version.
                WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris.o \
                    nsswitch/winbind_nss_linux.o"
                WINBIND_NSS_EXTRA_LIBS="-lsocket"
                ;;
        *hpux11*)
-               HAVE_WINBIND=yes
                WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris.o"
                ;;
        *aix*)
-               HAVE_WINBIND=yes
                WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_aix.o"
                ;;
        *)