1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

997 Commits

Author SHA1 Message Date
Gerald (Jerry) Carter
6e9287c5c3 Fix libtdb some to move back towards allowing out of tree builds
Remaining problem is that not all *.syms linker scripts are generated
so the LD command needs to look in a single place.  Out of tree
builds now work but report write access to the source tree in order
to create the $(srcdir)/expotrs/libtdb.sysms file.
2008-03-24 17:25:13 -05:00
Günther Deschner
a5f0186f70 Remove remaining old srvsvc client and server rpc code entirely.
Guenther
2008-03-21 04:16:22 +01:00
Volker Lendecke
fdf4cd99cc Build aio_fork by default
... only when --with-aio-support and we can pass file descriptors
2008-03-08 12:31:12 +01:00
Simo Sorce
c20c5f0821 Enable use of Relocations Read-Only, if supported, for enhanced security. 2008-03-07 11:33:26 -05:00
Günther Deschner
ead849949b Revert "Make sure to generate pkgconfig files for libtdb and libtalloc."
This uses incorrect version numbers for tdb and talloc.

Guenther

This reverts commit df97fb019b.
2008-03-05 16:31:04 +01:00
Günther Deschner
df97fb019b Make sure to generate pkgconfig files for libtdb and libtalloc.
Guenther
2008-03-05 15:40:23 +01:00
Günther Deschner
4e93301ca4 Add "registry" Group Policy extension.
Guenther
2008-02-29 17:25:28 +01:00
Günther Deschner
6d543b1a1a Add Group Policy extension infrastructure.
Guenther
2008-02-29 17:07:57 +01:00
Volker Lendecke
364d87a5e4 Attempt to fix the build 2008-02-29 10:17:35 +01:00
Stefan Metzmacher
5fb7533e37 configure: only build vfs_syncops if dirfd() is available
This hopefully fixes the build on HP-UX.

metze
2008-02-29 09:58:37 +01:00
Stefan Metzmacher
c9b60b75b4 configure: Remove lib/repdir.c and related stuff
It was only used in configure, but lib/replace already
has a much better version of it.

metze
2008-02-29 09:48:24 +01:00
Volker Lendecke
b0e52cecf2 Add vfs_aio_fork
This is used for two purposes:

First, I'm using it to test the async I/O code. In the forked process it is
pretty easy to delay a reply for a random amount of time. See the
BUILD_FARM_HACKS snippet.

Second, there are systems around that claim to have Posix AIO but which is
broken. This might be some help for those systems.

Also add tests how to pass file descriptors
2008-02-29 09:47:53 +01:00
Karolin Seeger
5fbd98f706 Remove smbmount.
Karolin
2008-02-28 15:53:43 +01:00
Michael Adam
622667c079 configure: put swat-part of config into m4-include file of its own.
Michael
2008-02-26 13:56:12 +01:00
Volker Lendecke
4a1a138b0f Fix inotify detection
Bug 5271 -- thanks to Tiziano Müller
2008-02-25 12:58:56 +01:00
Michael Adam
213ba3a719 Fix aix-build of libtalloc.so by exporting all necessary symbols.
Use -bexpfull instead of -bexpall for LDSHFLAGS to also export
symbols starting with "_". This exports all necessary symbols
from libtalloc.so.

Michael
2008-02-24 01:00:39 +01:00
Michael Adam
4724b13ed8 Move the definition of SMB_LIBRARY to aclocal.m4.
Michael
2008-02-21 14:07:45 +01:00
Michael Adam
54d73769c4 configure: Abstract configuration of internal libs into an m4 macro.
New subsystem libraries can now be added by specifying SMB_LIBRARY(name).

Michael
2008-02-21 12:59:42 +01:00
Volker Lendecke
2d51bf67fc fix typo 2008-02-21 11:40:22 +01:00
Michael Adam
b5e894cb3b Remove check for secure mkstemp from configure.in.
It has moved to libreplace.

Michael
2008-02-21 10:27:56 +01:00
Michael Adam
310c121faf Remove mmap check from configure.in
It is available in libreplace.

Michael
2008-02-21 10:27:56 +01:00
Michael Adam
63bff18f3f configure: add --enable-shared-libs to control overall internal use of shared libs.
To disable internal use of shared libraries altogether (as opposed to
disabling use of single shared libs by --with-static-libs=LIBS), use
this new configure parameter --disable-shared-libs.

Michael
2008-02-20 23:38:27 +01:00
Michael Adam
8b220717e8 configure: Move assemblage of samba version strings to m4 include file.
Michael
2008-02-20 21:33:24 +01:00
Michael Adam
2e6b66eda4 Remove checks for ino_t, loff_t, offset_t, and comparison_fn_t from configure.in.
These tests are in libreplace.

Michael
2008-02-20 21:33:24 +01:00
Michael Adam
9b9495d367 Remove tests for vsnprintf snprintf asprintf vasprintf and va_copy from configure.
These are tested in libreplace.

Michael
2008-02-20 17:26:39 +01:00
Michael Adam
53c9098253 Remove the getifaddrs checks from configure.in: they are now in lib/replace.
Michael
2008-02-20 00:44:40 +01:00
Michael Adam
af5ec88ece configure: Use SAMBA_CONFIGURE_CPPFLAGS for AC_LIBREPLACE_BROKEN_CHECKS.
To fix the build (make test) after merging libreplace changes.

Michael
2008-02-20 00:17:31 +01:00
Michael Adam
d1db2b78c9 configure: Move path (and debug) checks to an m4 include file check_path.m4.
This is inspired by metze's check_path.m4 of Samba4.

Michael
2008-02-19 17:39:40 +01:00
Michael Adam
1f3bfa024d build: change selftest_prefix from ./ to ./st .
It was used as ${selftest_prefix}/st anyways...

Michael
2008-02-19 17:39:40 +01:00
Michael Adam
bf1bb2c090 configure: move debug check to developer check
...thereby grouping test checks and debug/developer checks together, respectively.

Michael
2008-02-19 17:39:40 +01:00
Michael Adam
ad45d056df configure: Also set debug=yes for --enable-developer and --enable-krb5developer.
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
e9b06ac113 configure: add default for developer and krb5developer
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
05e3095e21 configure: move more developer/test related checks up before the compiler checks.
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
fb74f8dd6a Move the --enable-debug check up above all compiler checks.
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
b33db84c22 configure: Introduce "debug" variable set to yes by --enable-debug.
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
28c862704c configure: move AC_SUBST's of certain directories to the corresponding checks.
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
3ba8fa1c4b Move AC_ENABLE_SHARED and AC_DISABLE_STATIC to a more appropriate place.
I have to investigate the effect of these and evaluate the need of
their presence. For now establish more reasonable grouping.

Michael
2008-02-19 17:39:40 +01:00
Michael Adam
35327e8fee configure.in: move definition of build dir up.
Michael
2008-02-19 17:39:39 +01:00
Günther Deschner
aa7023b88d Yippie! LSARPC server-side migration to pidl finished.
Guenther
2008-02-19 01:23:05 +01:00
Günther Deschner
acce1092d9 Build the generated ntsvcs server (not at all useable yet).
Guenther
2008-02-17 23:03:22 +01:00
Günther Deschner
7845a0d9a8 YES! NETLOGON rpc server side migration to pidl finished.
Guenther
2008-02-16 14:53:45 +01:00
Michael Adam
e92fdf6b20 Add support for building and using shared and static libtdb library.
This should work with m4_include(lib/tdb/libtdb.m4) like already
done with talloc, but currently this does not work (yet) - tdb
code has to be merged from s4 before that.

Michael
2008-02-14 14:17:57 +01:00
Michael Adam
9cf3be8520 Fix a typo.
This had no negative side effect since currently TALLOC_OBJ
only consists of one object.

Michael
2008-02-14 14:15:23 +01:00
Michael Adam
85ca2c9edb Try and fix the Darwin build with dynamic libs.
Golly gosh, this one took me quite some time to figure out!
Hopefully, I did not introduce any typos copying...

Michael
2008-02-14 00:09:23 +01:00
Michael Adam
4321d5aba7 Remove --enable-libwbclient-shared , use --with-static-libs=libwbclient instead.
Use the more general mechanism.
The enable_developer-check is preserved, of course.

Michael
2008-02-13 15:11:55 +01:00
Michael Adam
198768a832 Use --with-static-libs=libtalloc instead of --with-static-libs=talloc
for consistency (and similar for all other examples).

Michael
2008-02-13 15:11:23 +01:00
Michael Adam
a4c773de0f Link in libnetapi as shared or static library (same mechanism as talloc).
This, too, can be turned to static linking by providing the configure
parameter --with-static-libs=netapi.

Michael
2008-02-13 14:45:13 +01:00
Michael Adam
ec79357218 Add -L./bin to LDFLAGS when building shared libs.
Formerly this was only needed for libwbclient, but now that we start
using more shared libs internally, this is needed more globally
to support linking internal libs dynamically on systemy without winbindd.

Michael
2008-02-13 13:48:51 +01:00
Michael Adam
d950174bcb Change hand written configure help strings to use AS_HELP_STRING().
Michael
2008-02-13 11:03:50 +01:00
Michael Adam
90bdd0fa2e Use AS_HELP_STRING instead of (deprecated) AC_HELP_STRING.
Existence is guaranteed by libreplace.

Michael
2008-02-13 11:03:49 +01:00