diff options
author | Gerald (Jerry) Carter <jerry@samba.org> | 2007-12-21 11:57:34 -0600 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-12-21 11:58:04 -0600 |
commit | a2481eda8c29255e8580b6070ea87f46ea7b4300 (patch) | |
tree | cfdd712fa5e67665219b4f27680d0515882b4f34 /source3/configure.in | |
parent | 657afffaae0ce25d0417095b67adbe1441835301 (diff) | |
download | samba-a2481eda8c29255e8580b6070ea87f46ea7b4300.tar.gz samba-a2481eda8c29255e8580b6070ea87f46ea7b4300.tar.xz samba-a2481eda8c29255e8580b6070ea87f46ea7b4300.zip |
Add files for new LGPL libwbclient DSO implementing the Winbind client API
(based on the winbind_struct_protocol.h).
The API in incomplete, but sufficient to merge. See wbclienbt.h for the i
interface functions.
(This used to be commit 83d274b46078a9ace77edb822a0e336c79dcf40e)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index a9053d9a08f..d077d9b9560 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -318,6 +318,15 @@ AC_SUBST(INSTALL_LIBADDNS) AC_SUBST(UNINSTALL_LIBADDNS) AC_SUBST(LIBADDNS_SHARED) AC_SUBST(LIBADDNS) + +AC_SUBST(INSTALL_LIBWBCLIENT) +AC_SUBST(UNINSTALL_LIBWBCLIENT) +AC_SUBST(LIBWBCLIENT_SHARED) +AC_SUBST(LIBWBCLIENT) +AC_SUBST(WINBIND_LIBS) + +AC_SUBST(LIBSAMBAUTIL_SHARED) + AC_SUBST(INSTALL_LIBSMBCLIENT) AC_SUBST(UNINSTALL_LIBSMBCLIENT) AC_SUBST(LIBSMBCLIENT_SHARED) @@ -5143,11 +5152,13 @@ AC_ARG_WITH(libaddns, INSTALL_LIBADDNS=installlibaddns UNINSTALL_LIBADDNS=uninstalllibaddns ;; - esac ] + esac ], +[AC_MSG_RESULT(no)] ) ################################################# # should we build libsmbclient? + INSTALL_LIBSMBCLIENT= UNINSTALL_LIBSMBCLIENT= LIBSMBCLIENT_SHARED= @@ -5234,6 +5245,7 @@ AC_ARG_WITH(libsmbsharemodes, INSTALL_LIBSMBSHAREMODES=installlibsmbsharemodes ) + ################################################# # these tests are taken from the GNU fileutils package AC_CHECKING(how to get filesystem space usage) @@ -6133,6 +6145,14 @@ fi if test $BLDSHARED = true -a x"$HAVE_WINBIND" = x"yes"; then NSS_MODULES="${WINBIND_NSS} ${WINBIND_WINS_NSS}" + ## Only worry about libwbclient if we have shared library support + ## and winbindd + LIBWBCLIENT_SHARED=bin/libwbclient.$SHLIBEXT + LIBWBCLIENT=libwbclient + INSTALL_LIBWBCLIENT=installlibwbclient + UNINSTALL_LIBWBCLIENT=uninstalllibwbclient + WINBIND_LIBS="-lwbclient" + LDFLAGS="$LDFLAGS -L./bin" fi if test x"$HAVE_WINBIND" = x"yes"; then |