summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
AgeCommit message (Collapse)AuthorFilesLines
2012-05-23wafsamba: ensure TO_LIST does not fail with empty stringAlexander Bokovoy1-0/+2
2012-05-23Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2-1/+17
System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
2012-05-18build: Also look for iconv in /usr/local by defaultAndrew Bartlett1-2/+2
This should help the build find iconv on FreeBSD and similar systems, and make it possible to operate with 8-bit character sets. Andrew Bartlett
2012-05-18Add include/lib folders from the commandlineThomas Nagy2-1/+71
By using opt.add_option(..., match=['Checking for library iconv'], dest='iconvdir'), all configuration tests displaying 'Checking for library iconv' will get $(iconvdir)/lib and $(iconvdir)/include
2012-05-16build: Add explicit mention of --abi-check-disable to ABI checkerAndrew Bartlett1-1/+1
This information has always been in the linked wiki page, but put it in the build to unblock developers using platforms with slightly different GDB output. We can also assist this by improving the string normalisiation in the ABI checker when example errors are provided. It is better to build with the waf build and the full testsuite than to avoid the waf build or not to use the developer options simply to skip the ABI checker. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 16 01:53:42 CEST 2012 on sn-devel-104
2012-05-10build: Avoid printing the ABI signature normalisation during the default buildAndrew Bartlett1-1/+1
This appears to have been accidentily left in acd63fdb86769ff4328ccb6a4096181e65e4d30f Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu May 10 09:00:20 CEST 2012 on sn-devel-104
2012-05-10build:ignore solaris _GLOBAL_OFFSET_TABLE_ in duplicate symbol checkerAndrew Bartlett1-0/+2
2012-05-09allow to use system iniparser library.Günther Deschner1-0/+6
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 9 17:38:33 CEST 2012 on sn-devel-104
2012-04-25lib/replace: split out GSSAPI from lib/replace/system/kerberos.h into ↵Alexander Bokovoy1-1/+3
lib/replace/system/gssapi.h With waf build include directories are defined by dependencies specified to subsystems. Without proper dependency <gssapi/gssapi.h> cannot be found for embedded Heimdal builds when there are no system-wide gssapi/gssapi.h available. Split out GSSAPI header includes in a separate replacement header and use that explicitly where needed. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Wed Apr 25 00:18:33 CEST 2012 on sn-devel-104
2012-04-20wafsamba: allow certain public libraries to be forced to be privateAndrew Bartlett3-0/+12
This will help installations where the Samba4 libraries must be used but the main system is not using the system libs that would normally be installed. This in particular impacts on libwbclient, which is a core dep, but is different to that used by the rest of a Samba 3.x based system. Use eg: ./configure --private-libraries=wbclient Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 20 03:27:22 CEST 2012 on sn-devel-104
2012-04-19waf: Fix mispellingSimo Sorce3-10/+10
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Apr 19 17:36:41 CEST 2012 on sn-devel-104
2012-04-18build: Remove more of the s3 special cases in waf: only pidfile.c needs ↵Andrew Bartlett1-6/+0
-DCONFIGFILE
2012-04-17Fix typoSimo Sorce1-2/+2
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Apr 17 22:22:26 CEST 2012 on sn-devel-104
2012-04-14waf: samba-specific methods should have capitalized names, change ↵Alexander Bokovoy1-3/+3
process_separate_rule to follow Changing process_separate_rule to PROCESS_SEPARATE_RULE. Thanks Thomas Nagy for review. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Sat Apr 14 08:55:43 CEST 2012 on sn-devel-104
2012-04-13wafsamba: add support for separate rules in stagesAlexander Bokovoy1-1/+24
bld.process_separate_rule(rule) and conf.process_separate_rule(rule) will cause WAF to import wscript_<stage>_<rule> script into current context. Files wscript_<configure|build>_<rule> should exist in the current directory. This can be used to provide rules specific for alternative implementations of certain libraries Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Fri Apr 13 18:34:39 CEST 2012 on sn-devel-104
2012-04-12wafsamba: point out that local heimdal paths are not included whenGünther Deschner1-0/+1
USING_SYSTEM_KRB5 gets set. Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-11build: Fix spelling of teventAndrew Bartlett1-1/+1
Found by metze. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 11 17:36:19 CEST 2012 on sn-devel-104
2012-04-11build: use include paths for pkg-config found librariesAndrew Bartlett3-15/+23
2012-04-11buildtools: Add --enable-debug optionAndrew Bartlett2-0/+7
2012-04-11build: search for talloc, tdb, tevent in non-standard system locationsAndrew Bartlett1-5/+21
This is needed because the s3 includes.h directly mentions these headers, but not every part of s3 depends on these directly. Andrew Bartlett
2012-04-10wafsamba/bundled: Fix typo in tuplize_version.Jelmer Vernooij3-1/+29
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Apr 10 02:21:39 CEST 2012 on sn-devel-104
2012-04-09wafsamba: Parse Python versions as integers separated by dots.Jelmer Vernooij1-1/+4
This causes tdb "1.2.10" to no longer be considered older than "1.2.9". Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Apr 9 23:16:17 CEST 2012 on sn-devel-104
2012-04-08wafsamba: Return missing libs rather than last syslib.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Apr 8 05:31:15 CEST 2012 on sn-devel-104
2012-04-05build: Require 64-bit files support and do not define ↵Andrew Bartlett1-1/+2
HAVE_EXPLICIT_LARGEFILE_SUPPORT
2012-04-05build: Add getconf LFS_CFLAGS support to waf buildAndrew Bartlett1-1/+19
2012-04-03wafsamba: Avoid NameError when printing error about missing system deps.Jelmer Vernooij1-6/+9
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Apr 3 17:46:42 CEST 2012 on sn-devel-104
2012-03-26wafsamba: Cope with slight differences in gdb output regarding incomplete ↵Jelmer Vernooij3-0/+58
sequences. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8820
2012-03-21waf: Add autoconf --target support.Andreas Schneider1-0/+3
This is needed on some platforms so that you can set it and it is not automagically transformed into --targets. The --target option is normally set by the RPM %configure macro. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Mar 21 11:54:02 CET 2012 on sn-devel-104
2012-03-16build: Fix build issue on OpenBSD 5.xAmitay Isaacs1-2/+2
Do not use -Wl,-no-undefined flag on OpenBSD 5.x (tested on 5.0) Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Mar 16 05:14:03 CET 2012 on sn-devel-104
2012-03-15wafsamba: Remove shebang lines from non-executable files.Jelmer Vernooij4-5/+0
2012-03-11waf: Do not use standards.h on darwinVolker Lendecke1-1/+6
We get a nasty warning every time we include that
2012-02-23waf: Make sure libraries are installed with the execute flag set.Andreas Schneider1-1/+2
There are two reasons for that. The first is that libraries are executables and can have main functions (see libc). The second reason is that rpm script to extract debuginfo are looking for executables and then check if it is the right file to extract the info. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Feb 23 20:57:11 CET 2012 on sn-devel-104
2012-02-19waf: Use libraries when building.Jelmer Vernooij1-2/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 19 06:27:55 CET 2012 on sn-devel-104
2012-02-19Use uselib in CHECK_HEADER.Jelmer Vernooij1-0/+3
2012-02-19library_flags: Leave setting of CPPPATH to waf too.Jelmer Vernooij1-4/+1
2012-02-18wafsamba: Fix some whitespace issues.Jelmer Vernooij1-4/+1
2012-02-16wafsamba: fix blacklist handling in "make dist"Michael Adam1-1/+1
2012-02-12wafsamba: Add tests for dict_concat.Jelmer Vernooij1-1/+20
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 12 20:17:54 CET 2012 on sn-devel-104
2012-02-12wafsamba: Add tests for unique_list, subst_vars_error.Jelmer Vernooij2-3/+38
2012-02-12waf: Add initial unit test for samba_utils.Jelmer Vernooij3-0/+54
2012-02-10wafsamba: Expand tabs.Jelmer Vernooij10-597/+597
2012-02-02build: fixed a link order problemAndrew Tridgell1-1/+3
this fixes a problem found by obnox where the -L path for CUPS was put before the path to internal libraries. The install path for CUPS happened to be the same as for a old system libtevent, which meant we linked against the old tevent instead of the correct one from our private library paths. The problem was that we were adding the -L paths directly to the ldflags. The waf core code (in ccroot.py) only adds more paths if they are not there already. So by adding it in ldflags it was not added at the end of the list. The fix is just to not do the -L processing in wafsamba and let the waf core do it in the right order Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 2 06:54:42 CET 2012 on sn-devel-104
2011-12-16wafsamba: Fix undefined variable name in error message.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 16 21:53:57 CET 2011 on sn-devel-104
2011-12-05wafsamba: Cope with not everything having a final_libs attribute.Jelmer Vernooij1-1/+1
2011-12-05wafsamba: Use final_libs list to determine if a target needs private ↵Jelmer Vernooij1-1/+1
libraries, rather than direct dependencies list.
2011-12-03Revert making public of the samba-module library.Jelmer Vernooij1-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
2011-11-14waf: Fix uselib_store for system libsubunit.Jelmer Vernooij1-1/+1
2011-11-13waf: Factor checking for undefined symbol flags out into separate method.Jelmer Vernooij1-0/+12
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 13 19:38:38 CET 2011 on sn-devel-104
2011-11-13waf: Simplify handling of python modules.Jelmer Vernooij2-21/+6
2011-11-13Revert 9a5ae8edd6d006c078b3af8fdfd84677a63276b1.Jelmer Vernooij1-3/+0