summaryrefslogtreecommitdiff
path: root/source3/m4
AgeCommit message (Collapse)AuthorFilesLines
2011-10-06modules: standardise on samba_init_module as the hook symbol to resolveAndrew Bartlett1-1/+1
2011-08-11s3:build(autoconf): fix bug #8369: remove irritating "." targets when recent ↵Michael Adam1-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
2011-07-13s3:configure: use the same dynconfig options and default values as the ↵Stefan Metzmacher1-302/+1
toplevel build metze
2011-06-24s3:configure: remove unused --with-rootsbindir configure optionStefan Metzmacher1-18/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jun 24 23:57:20 CEST 2011 on sn-devel-104
2011-06-24s3-autconf Move nmbd socket directory to PREFIX/var/nmbdAndrew Bartlett1-2/+2
This is consistent with the new ncalrpc socket directory, also added in this release. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> The last 2 patches address bug #8230 (Move .nmbd socket directory to non-hidden name PREFIX/var/nmbd). (cherry picked from commit 833fdb5b3693a7c9111bb98e5bc9a29d29be9d1d) Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-06-02In samba_version.m4 the test to get the version now returns severalHerb Lewis1-1/+1
lines instead of the one we really wanted which causes some spurious output when configure tries to print the samba version when it starts running. This is only a cosmetic problem but still looks ugly. Signed-off-by: Jeremy Allison <jra@samba.org>
2011-05-13s3:build: add an optional full version argument to the SMB_LIBRARY() macro.Michael Adam1-4/+6
2011-01-07s3: Make nmbd socket dir configurableVolker Lendecke1-0/+18
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jan 7 14:14:19 CET 2011 on sn-devel-104
2011-01-04s3-build: Remove broken RPC modules support.Andreas Schneider1-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.
2010-11-12s3: Rename GIT_COMMIT_{TIME,DATE} to COMMIT_{TIME,DATE}.Jelmer Vernooij1-7/+7
This avoids some special casing in the waf code.
2010-08-31libreplace: move detection of clock_gettime to libreplaceBjörn Jacke1-31/+0
2010-07-19s3-rpc_server: Added callbacks for init and shutdown of a rpc service.Andreas Schneider1-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.
2010-05-30s3: add m4 macro to check if stderr is empty or notBjörn Jacke1-0/+13
2010-05-05s3:configure: not simply check for "ld" but for the linker used by $CCBjörn Jacke1-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 ...).
2010-02-13s3: Fix typo found by jhell <jhell@DataIX.net>Volker Lendecke1-2/+2
2009-12-04s3 aclocal.m4: Fix iconv checks, clean up m4 codeKai Blin1-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.
2009-09-23build: use AS_HELP_STRING() for --with-localedirMichael Adam1-1/+1
Michael
2009-09-23build: add switch "--with-codepagedir=DIR" to configure.Michael Adam1-0/+16
This is to address bug #6444. Michael
2009-06-19s3:dmapi: prefer dmapi libs from gpfs over system libsBjörn Jacke1-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.
2009-06-08Small fix to SMB_LIBRARY macroTimur I. Bakeyev1-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>
2009-06-08SIGRTMIN additionsTimur I. Bakeyev1-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>
2009-05-15s3:build: fix linking with --disable-shared-libsMichael Adam1-0/+1
Michael
2009-04-20Move syslog check out of m4 library file into configure.inJelmer Vernooij1-2/+1
2009-04-20Move check for syslog out of libreplace to source3/ and source4/.Jelmer Vernooij1-0/+1
This should help compiling talloc on Windows.
2009-04-01s3:build: no need to set LIBFOO_STATIC to the object collection any moreMichael Adam1-1/+1
now that the @LIBFOO_STATIC@ entries have vanished from the object lists. Just use the static library. Michael
2009-04-01s3:build: first cut at fixing linking of shared/static libs internallyMichael Adam1-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
2009-03-17clean up lib64 linking paths the same way as libBjörn Jacke1-2/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-03s3:build: pass the path to smbtorture4 down to make with and without '-t' prefixStefan Metzmacher1-1/+3
metze
2009-01-29s3:configure: autodetect ctdb/cluster supportStefan Metzmacher1-14/+0
We need to make sure ctdb has transaction support and we autodetect ipv6 support. metze
2009-01-27s3 build: Eliminate the gmake-specific Makefile syntaxTim Prouty1-1/+3
2009-01-26s3 make test: Add the ability to specify a custom smb.conf for make testTim Prouty1-0/+19
- Adds new -c <custom conf> option to selftest.sh that when specified adds a line to make test's server.conf: "include <custom conf>" - Adds getopts processing to selftest.sh - Changes selftest.sh shrdir arg to use -s <shrdir> - Changes selftest.sh smbtorture4_path arg to use -t <smbtortur4 path> - Adds configure option --with-selftest-custom-conf=<custom conf> - Updates Makefile.in to take advantage of the new/changed parameters
2009-01-12Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman1-0/+32
If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
2008-11-13i18n/l10n pam_winbindBo Yang1-0/+19
Signed-off-by: Günther Deschner <gd@samba.org>
2008-11-11s3: Add support for make test to use a share dir outside of the prefix dirTim Prouty1-0/+16
Some systems need to have the tdbs (and other files required for samba to run) on a different filesystem than the share directory that samba is exporting. This patch: - Adds an optional "shrdir" argument to selftest.sh - If shrdir is specified it will be used, otherwise the default will be used: "<prefix>/tmp" - Adds a new configure option: --with-selftest-shrdir - Plumbs shrdir through Makefile.in and configure.in
2008-10-21Correctly report when merged-build is used in developer mode.Jelmer Vernooij1-0/+1
2008-10-06Add dyn_NCALRPCDIRVolker Lendecke1-0/+19
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij1-1/+1
2008-09-16Make Samba 3 and Samba 4 both use the same single copy of libreplace.Jelmer Vernooij1-1/+1
2008-08-20build: fix bug #5590 by not linking in the static libs but the objects.Michael Adam1-1/+1
Michael (This used to be commit 6ad2090391a92ebe822b2d7b80e180c251dc8e7a)
2008-08-20build: fall down to the same place when using an internal lib statically.Michael Adam1-1/+1
Michael (This used to be commit 702c0bc04668117e3521d687b9b5a87fd7e0f1b1)
2008-08-15configure: use libdir=${prefix}/lib and modules=${libdir}/samba as default ↵Michael Adam1-2/+2
with-fhs. This is what one actually wants: Shared/static libs in /usr/lib, shared modules and so on in /usr/lib/samba. Michael (This used to be commit 03de8c1955a85f2e3e9f947309e09023138a1591)
2008-08-15configure: use ${libdir} instead of \${LIBDIR}.Michael Adam1-4/+4
Now after removing --with-libdir, the value of ${libdir} won't change anymore at that stage, so there is no need to have the variable expansion deferred to "make". Michael (This used to be commit 256977cf05cb4c4073ece1389a7e4939b18f5f13)
2008-08-15configure: remove the --with-libdir parameter.Michael Adam1-16/+0
This is redundant: use the autoconf-provided --libdir instead. This will also make the new distinction between libdir and modulesdir more visible. Michael (This used to be commit c1d53b7c767275b39dc8ecfcd5b6129ee2cabb6d)
2008-08-15configure: Add --with-modulesdir to accompany --with-libdir.Michael Adam1-2/+21
This starts the seplitting of libdir in to libdir and modulesdir. Our shared libs should go into libdir, the internal shared modules, codepages, and other stuff that was originally in libdir, should go into modulesdir. The idea behind this is, that in a typical installation, the shared (and static) libraries (as libtalloc, libsmbclient, libwbclient and others) should be put into /usr/lib, while the e.g. the vfs modules should reside in /usr/lib/samba. This is meant to ease the work of packagers and reduce the needs for manual interaction and workarounds. Michael (This used to be commit b17d1ff646e22c3e979224d119b283fc3af780a8)
2008-07-22Add --enable-picky-developerZach Loafman1-0/+8
This adds an --enable-picky-developer option that will halt compilation on warnings. Yes, this could be handled by a direct Makefile change, but people should be encourage to do it! (This used to be commit 10a2ab40771b7d0222f339a87a45630a23ce4788)
2008-07-07build: extend SMB_LIBRARY() to take a version as an optional second argumentMichael Adam1-4/+7
This will allow transition away from library-versions in the next step. Michael (This used to be commit d9d92b64275127e29c80dbdc7cfe193289fef9a3)
2008-07-07build: extend SMB_LIBRARY() to optionally take default value.Michael Adam1-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)
2008-07-07build: slightly change and extend the logic of SMB_LIBRARY().Michael Adam1-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)
2008-06-23init_shared_module -> init_samba_moduleVolker Lendecke1-1/+1
(This used to be commit 9b174871a87677f7dfbd897a80e526f203906bea)
2008-06-21Use "init_shared_module" instead of "init_module" for initializing .so'sVolker Lendecke1-1/+1
(This used to be commit 0c2fd687b25e32d446ef799927db6933bc61223d)