summaryrefslogtreecommitdiffstats
path: root/source3/m4/aclocal.m4
Commit message (Collapse)AuthorAgeFilesLines
* freebsd9: support both WAF MIT krb5 build and autoconf build against MIT krb5Alexander Bokovoy2012-05-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | System-provided Heimdal Kerberos in FreeBSD 9 lacks proper support for parsing MS PAC. This leaves us with MIT krb5 package from ports or embedded Heimdal in source4. MIT krb5 from ports is 1.9.2, it supports all needed features for AD support in smbd, as well as WAF MIT krb5 build. In order to use it, one needs to install 'krb5' package. Autoconf build: --with-krb5=/usr/local WAF build: --with-system-mitkrb5 /usr/local or otherwise krb5-config from system Heimdal will overtake and break the detection, leaving you with a mixture of Kerberos libraries from different locations. WAF build accepts multiple paths as sub-arguments of the --with-system-mitkrb5 and searches through them for krb5-config, i.e. /usr/local /usr/kerberos ... Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Mon May 28 23:40:30 CEST 2012 on sn-devel-104
* Revert making public of the samba-module library.Jelmer Vernooij2011-12-031-1/+1
| | | | | | | | | | | | | | | This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
* lib/util Rename samba_init_module -> samba_module_initAndrew Bartlett2011-10-281-1/+1
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* modules: standardise on samba_init_module as the hook symbol to resolveAndrew Bartlett2011-10-061-1/+1
|
* s3:build(autoconf): fix bug #8369: remove irritating "." targets when recent ↵Michael Adam2011-08-111-0/+6
| | | | | | | system libs exist Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Aug 11 13:26:27 CEST 2011 on sn-devel-104
* s3:build: add an optional full version argument to the SMB_LIBRARY() macro.Michael Adam2011-05-131-4/+6
|
* s3-build: Remove broken RPC modules support.Andreas Schneider2011-01-041-8/+0
| | | | | | | | | With the current module support for rpc we're not able to call the init functions with the rpc callback structure. So init functions and shutdown functions aren't called. These init functions are needed to setup pre requirements like migrating the printer databases and register at the endpoint mapper. The shutdown functions cleanup memory and deregister from the endpoint mapper.
* libreplace: move detection of clock_gettime to libreplaceBjörn Jacke2010-08-311-31/+0
|
* s3-rpc_server: Added callbacks for init and shutdown of a rpc service.Andreas Schneider2010-07-191-1/+9
| | | | | | This adds two callback function for each rpc service. One is for initialisation and the other for shutdown. rpc_<service>_unregister() needs to be called to execute the shutdown function.
* s3: add m4 macro to check if stderr is empty or notBjörn Jacke2010-05-301-0/+13
|
* s3:configure: not simply check for "ld" but for the linker used by $CCBjörn Jacke2010-05-051-2/+2
| | | | | | | | this hopefully fixes Solaris' gcc build which uses the system ld by default. All in all we should clean up most of the compiler and linker flags depending on the actual compilers and linkers we use. Only some tweaks are OS-specific. A cleanup in this area should be done along with the move to a new build system (whensoever that will be ...).
* s3 aclocal.m4: Fix iconv checks, clean up m4 codeKai Blin2009-12-041-27/+30
| | | | | | | | | | | | | The check for iconv requiring giconv.h and libgiconv as well as the check for iconv requiring biconv.h and libbiconv were using the wrong variable to check for previous successful test results. This caused the checks to always fall back to libbiconv on systems where that library was available. In the course of fixing this, I had to clean up the indentation in that piece of code, and I also rewrote/added some comments. Many thanks to Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> for the initial patch and diagnosis.
* s3:dmapi: prefer dmapi libs from gpfs over system libsBjörn Jacke2009-06-191-4/+4
| | | | | | | | | | | Patch from William Jojo sent to samba-technical: This is based on some pain felt when building 32-bit and 64-bit Clustered Samba on AIX with GPFS support. Part of the problem lies in AIX only providing 32-bit shared object in libxdsm.a(shr.o). So without libdmapi.a from gpfs.base, you get no DMAPI support under 64-bit.
* Small fix to SMB_LIBRARY macroTimur I. Bakeyev2009-06-081-2/+2
| | | | | | | | | | | | | | | It seems, that SMB_LIBRARY macro has small bug in the logic, when showing if shall the SHARED version of the library be build. If the default value is given as a parameter, it reports "yes" when library is going to be build(?). This small patch makes report consistent. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* SIGRTMIN additionsTimur I. Bakeyev2009-06-081-0/+3
| | | | | | | | | | | | In addition to [FreeBSD 14] there is another place, where we (re)define SIGRTMIN - in SMB_IF_RTSIGNAL_BUG macro in /source3/m4/aclocal.m4. Here is another small patch. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:build: fix linking with --disable-shared-libsMichael Adam2009-05-151-0/+1
| | | | Michael
* Move syslog check out of m4 library file into configure.inJelmer Vernooij2009-04-201-2/+1
|
* Move check for syslog out of libreplace to source3/ and source4/.Jelmer Vernooij2009-04-201-0/+1
| | | | This should help compiling talloc on Windows.
* s3:build: no need to set LIBFOO_STATIC to the object collection any moreMichael Adam2009-04-011-1/+1
| | | | | | | now that the @LIBFOO_STATIC@ entries have vanished from the object lists. Just use the static library. Michael
* s3:build: first cut at fixing linking of shared/static libs internallyMichael Adam2009-04-011-1/+7
| | | | | | | | | | This is based on a patch from the debian packages by Steve Langasek <vorlon@debian.org>. It removes the static libs from the object collections. For those libs that are set up with SMB_LIBRARY(). Michael
* clean up lib64 linking paths the same way as libBjörn Jacke2009-03-171-2/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Move common libraries from root to lib/.Jelmer Vernooij2008-09-171-1/+1
|
* Make Samba 3 and Samba 4 both use the same single copy of libreplace.Jelmer Vernooij2008-09-161-1/+1
|
* build: fix bug #5590 by not linking in the static libs but the objects.Michael Adam2008-08-201-1/+1
| | | | | Michael (This used to be commit 6ad2090391a92ebe822b2d7b80e180c251dc8e7a)
* build: fall down to the same place when using an internal lib statically.Michael Adam2008-08-201-1/+1
| | | | | Michael (This used to be commit 702c0bc04668117e3521d687b9b5a87fd7e0f1b1)
* build: extend SMB_LIBRARY() to take a version as an optional second argumentMichael Adam2008-07-071-4/+7
| | | | | | | This will allow transition away from library-versions in the next step. Michael (This used to be commit d9d92b64275127e29c80dbdc7cfe193289fef9a3)
* build: extend SMB_LIBRARY() to optionally take default value.Michael Adam2008-07-071-1/+28
| | | | | | | | | The default value defaults to "yes". If no is specified, an optional third argument contains the reason why building of the shared library is turned off by default. Michael (This used to be commit af971f79c7d736eb5b7ae8fcd4b2bf7ccf4834f3)
* build: slightly change and extend the logic of SMB_LIBRARY().Michael Adam2008-07-071-9/+21
| | | | | | | | | | | Only call the install/uninstall targets (from make (un)install) for libraries configured with SMB_LIBRARY(), when the user did not set --with-libname=no. Make sure to always (at least) build the static version of the library. Michael (This used to be commit f440538c9480134ff05cf9c9f78a565808161101)
* init_shared_module -> init_samba_moduleVolker Lendecke2008-06-231-1/+1
| | | | (This used to be commit 9b174871a87677f7dfbd897a80e526f203906bea)
* Use "init_shared_module" instead of "init_module" for initializing .so'sVolker Lendecke2008-06-211-1/+1
| | | | (This used to be commit 0c2fd687b25e32d446ef799927db6933bc61223d)
* build: fix configure option --with-static-libs=libXYZMichael Adam2008-03-311-1/+1
| | | | | | | | | | This should not prevent building but linking of shared lib for subsystem XYZ (example --with-static-libs=libtdb). m4 quotation is tricky... Michael (This used to be commit 4d0a5d5c93ddab444a0097e1c56e4363574cb2b6)
* configure: fix quotation in SMB_LIBRARY for help output.Michael Adam2008-03-071-2/+2
| | | | | Michael (This used to be commit 96f85a48beb7da9c373fc030474020d05c55a18d)
* Move the definition of SMB_LIBRARY to aclocal.m4.Michael Adam2008-02-211-0/+67
| | | | | Michael (This used to be commit 4724b13ed8dce4721f95979803ba32f815ceaf1a)
* r23094: Update the iconv detection to handle cross-compiles better. If we areJames Peach2007-10-101-16/+0
| | | | | | cross-compiling, we accept the first iconv library that we find (with a warning). (This used to be commit 9417832155d634864f37d0fdb173ec607c154069)
* r22441: Add automatic dependency tracking. The dependency generation isJames Peach2007-10-101-0/+796
toolchain independent, but since there's no portable method for doing makefile includes, we can actually use the dependencies with GNU make. It's easy to add this for other makes, but I don't have any to test. This also moves as much m4 as possible into the m4 directory where no-one has to look at it. AFAICT, there's no way to hide depcomp in there too, which is unfortunate. (This used to be commit aa14900f8291a017aa7fab2bbb9a6c79b12889b2)