summaryrefslogtreecommitdiffstats
path: root/source3/m4
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove --enable-smbtorture, require bin/smbtorture (from waf) for ↵Andrew Bartlett2012-11-221-0/+1
| | | | | | | | | | | | | | | make test This simply moves this to being a side-effect of --enable-selftest. The flag was renamed from --enable-smbtorture4 in a recent patch. Make test now relies on smbtorture4, and so this code to make the dependency optional for the tests is not required any more. Andrew Bartlett Reviewed-by: Andreas Schneider <asn@samba.org>
* s3:build fix autoconf build on RHEL5Christian Ambach2012-08-311-0/+236
| | | | | | | | RHEL5 only has autoconf 2.59, so autogen.sh still needs to find autoconf-2.60.m4 somewhere, but it was removed with 5f58359 Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Fri Aug 31 12:50:03 CEST 2012 on sn-devel-104
* build: Remove special case for the build farmAndrew Bartlett2012-08-211-0/+8
| | | | | | | | | | | Except in the formatting of the selftest output, this removes the special case of the build farm, so that an autobuild, a manual make test and the build farm are more similar. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 06:39:04 CEST 2012 on sn-devel-104
* 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
* s3-configure: Fix configure version information.Ira Cooper2012-05-241-4/+4
| | | | | | | version.h moved from include -> include/autoconf. Autobuild-User: Ira Cooper <ira@samba.org> Autobuild-Date: Thu May 24 01:34:24 CEST 2012 on sn-devel-104
* s3-build: remove EXEEXT from MakefilesAndrew Bartlett2012-02-091-1/+1
| | | | | | | | As far as I am aware, we do not actually build on any platforms that require this. The last Stratos VOS release on ftp://ftp.stratus.com/vos/samba/samba.html was 3.0.5 Andrew Bartlett
* s3-build: Remove unused hooks to set smbtorture4 and test argsAndrew Bartlett2012-01-091-58/+0
| | | | | | | | | These were left around after the selftest.pl script was introduced. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jan 9 06:13:21 CET 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:configure: use the same dynconfig options and default values as the ↵Stefan Metzmacher2011-07-131-302/+1
| | | | | | toplevel build metze
* s3:configure: remove unused --with-rootsbindir configure optionStefan Metzmacher2011-06-241-18/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jun 24 23:57:20 CEST 2011 on sn-devel-104
* s3-autconf Move nmbd socket directory to PREFIX/var/nmbdAndrew Bartlett2011-06-241-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>
* In samba_version.m4 the test to get the version now returns severalHerb Lewis2011-06-021-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>
* s3:build: add an optional full version argument to the SMB_LIBRARY() macro.Michael Adam2011-05-131-4/+6
|
* s3: Make nmbd socket dir configurableVolker Lendecke2011-01-071-0/+18
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jan 7 14:14:19 CET 2011 on sn-devel-104
* 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.
* s3: Rename GIT_COMMIT_{TIME,DATE} to COMMIT_{TIME,DATE}.Jelmer Vernooij2010-11-121-7/+7
| | | This avoids some special casing in the waf code.
* 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: Fix typo found by jhell <jhell@DataIX.net>Volker Lendecke2010-02-131-2/+2
|
* 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.
* build: use AS_HELP_STRING() for --with-localedirMichael Adam2009-09-231-1/+1
| | | | Michael
* build: add switch "--with-codepagedir=DIR" to configure.Michael Adam2009-09-231-0/+16
| | | | | | This is to address bug #6444. Michael
* 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>
* s3:build: pass the path to smbtorture4 down to make with and without '-t' prefixStefan Metzmacher2009-02-031-1/+3
| | | | metze
* s3:configure: autodetect ctdb/cluster supportStefan Metzmacher2009-01-291-14/+0
| | | | | | | We need to make sure ctdb has transaction support and we autodetect ipv6 support. metze
* s3 build: Eliminate the gmake-specific Makefile syntaxTim Prouty2009-01-271-1/+3
|
* s3 make test: Add the ability to specify a custom smb.conf for make testTim Prouty2009-01-261-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
* Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman2009-01-121-0/+32
| | | | | | If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
* i18n/l10n pam_winbindBo Yang2008-11-131-0/+19
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Add support for make test to use a share dir outside of the prefix dirTim Prouty2008-11-111-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
* Correctly report when merged-build is used in developer mode.Jelmer Vernooij2008-10-211-0/+1
|
* Add dyn_NCALRPCDIRVolker Lendecke2008-10-061-0/+19
|
* 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)
* configure: use libdir=${prefix}/lib and modules=${libdir}/samba as default ↵Michael Adam2008-08-151-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)