diff options
author | Volker Lendecke <vl@samba.org> | 2009-05-19 20:45:45 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-05-19 20:46:52 +0200 |
commit | 05870b7ee73d64cb30e56f14f37828a0c9b7e9ec (patch) | |
tree | 492cba954545e83d0ff3c6f7cd1a09d8e844e0f1 | |
parent | 3e1b6487e76232756b854fb28a9d28717ae7d1d3 (diff) | |
download | samba-05870b7ee73d64cb30e56f14f37828a0c9b7e9ec.tar.gz samba-05870b7ee73d64cb30e56f14f37828a0c9b7e9ec.tar.bz2 samba-05870b7ee73d64cb30e56f14f37828a0c9b7e9ec.zip |
Another attempt at fixing the static build of vfs_notify_fam
-rw-r--r-- | source3/configure.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/configure.in b/source3/configure.in index cafe735b6b..0393a75b50 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -6181,11 +6181,6 @@ MODULE_idmap_nss=STATIC MODULE_nss_info_template=STATIC -if test x"$MODULE_vfs_notify_fam" = xSTATIC ; then - SMBD_FAM_LIBS="$SMB_FAM_LIBS" - AC_SUBST(SMBD_FAM_LIBS) -fi - AC_ARG_WITH(static-modules, [AS_HELP_STRING([--with-static-modules=MODULES], [Comma-separated list of names of modules to statically link in])], [ if test $withval; then @@ -6204,6 +6199,12 @@ AC_ARG_WITH(shared-modules, done fi ]) +if test x"$MODULE_DEFAULT_vfs_notify_fam" = xSTATIC -o \ + x"$MODULE_vfs_notify_fam" = xSTATIC ; then + SMBD_FAM_LIBS="$SMB_FAM_LIBS" + AC_SUBST(SMBD_FAM_LIBS) +fi + SMB_MODULE(pdb_ldap, passdb/pdb_ldap.o passdb/pdb_nds.o, "bin/ldapsam.$SHLIBEXT", PDB, [ PASSDB_LIBS="$PASSDB_LIBS $LDAP_LIBS" ] ) SMB_MODULE(pdb_smbpasswd, passdb/pdb_smbpasswd.o, "bin/smbpasswd.$SHLIBEXT", PDB) |