IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
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
(This used to be commit b0e52cecf2009d4c7f29412dadf17910e54e4327)
Use -bexpfull instead of -bexpall for LDSHFLAGS to also export
symbols starting with "_". This exports all necessary symbols
from libtalloc.so.
Michael
(This used to be commit 213ba3a719e77979c04b872f1d82f68e87287cb0)
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
(This used to be commit 63bff18f3f6396736910a8e1f5f2abf453c4f89a)
...thereby grouping test checks and debug/developer checks together, respectively.
Michael
(This used to be commit bf1bb2c0906dd5e518c3f35ef97d69eba0e2efdf)
I have to investigate the effect of these and evaluate the need of
their presence. For now establish more reasonable grouping.
Michael
(This used to be commit 3ba8fa1c4b9ac46133b17112ef3494a4c23dc314)
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
(This used to be commit e92fdf6b202bd67a9bb6fcc1ced56513a2d0bd3f)
This had no negative side effect since currently TALLOC_OBJ
only consists of one object.
Michael
(This used to be commit 9cf3be852024f05a73bf23fe5df6264e5252889b)
Golly gosh, this one took me quite some time to figure out!
Hopefully, I did not introduce any typos copying...
Michael
(This used to be commit 85ca2c9edb9ac54d3fa18d6b343a73dda1d48040)
Use the more general mechanism.
The enable_developer-check is preserved, of course.
Michael
(This used to be commit 4321d5aba7ec808aee473c1123027f14bfa19f19)
This, too, can be turned to static linking by providing the configure
parameter --with-static-libs=netapi.
Michael
(This used to be commit a4c773de0fbd303f633e120e817b4c88fcff2064)
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
(This used to be commit ec793572187228deda7210dab02882e4e09f1972)
This also establishes a general configure mechanism to control static vs
dynamic linking of internal subsystems built as libraries:
This first simple approach is as follows.
* It applies only to "subsystems" that we build as libraries and for
that linking samba against the libraries (as opposed to linking in
the plain object files) has been configured in Makefile.in.
* If we do build the shared library, then we link dynamically by default.
* We only link statically if we don't build shared or if the library
appears in the new --with-static-libs configure option
(comma-separated list).
Example (currently only one):
--with-static-libs=talloc makes use of libtalloc.a instead
of linking the dynamic variant with -ltalloc.
A possilble way to setup linking against libraries in Makefile.in is this:
For a subsystem, "mylib" say, we build bin/libmylib.a and bin/libmylib.so.
The subsystem usually has a MYLIB_OBJ definition in Makefile.in. Define
LIBMYLIB_STATIC=bin/libmylib.a and and LIBMYLIB_LIBS=-lmylib in configure.in
as controlled by presence of "mylib" in the list given to --with-static-libs
and change uses of $(MYLIB_OBJ) to @LIBMYLIB_STATIC@ in Makefile.in and
add @LIBMYLIB_LIBS@ to the link targets as needed.
In the example of talloc, which is needed everywhere, I have simply
added @LIBTALLOC_LIBS@ to the definition of "LIBS" in Makefile.in.
For other subsystems, one will have to be more careful.
Michael
(This used to be commit 71b990d9d687b517dec3d4eff67b6a3fe417a12a)
Use the resulting HAVE_LBER_LOG_PRINT_FN to determine whether we can
use it in init_ldap_debugging to intercept LDAP debug output and print
it out in the samba logs (controlled with "ldap debug level").
Michael
(This used to be commit 8dfc389ff678967a7b16ff1d68f00468a9925275)