summaryrefslogtreecommitdiff
path: root/wscript_build_system_heimdal
Commit message (Collapse)AuthorAgeFilesLines
* wscript: Correctly determine dependencies for system Heimdal buildJoseph Sutton2022-11-081-1/+7
| | | | | | | | | | | | | | | | | Previously, the call to CHECK_BUNDLED_SYSTEM() in check_system_heimdal_lib() could have us pick up MIT Kerberos headers when we should only be using system Heimdal headers. Now, we just perform an explicit check for the functions we require, which should avoid any use of the MIT libraries. We also remove some library checks for Heimdal components that we don't use directly, restricting the checks to only the functions we need. Finally, we no longer need to recurse into third_party/heimdal_build when performing a system Heimdal build. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* wafsamba: Remove clangdb code which doesn't workStefan Metzmacher2022-01-211-2/+1
| | | | | | | | This generates an incomplete database where defines and includes are missing. Pair-Programmed-With: Andreas Schneider <asn@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* HEIMDAL: move code from source4/heimdal* to third_party/heimdal*Stefan Metzmacher2022-01-191-1/+1
| | | | | | | | | | | This makes it clearer that we always want to do heimdal changes via the lorikeet-heimdal repository. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz> Autobuild-User(master): Joseph Sutton <jsutton@samba.org> Autobuild-Date(master): Wed Jan 19 21:41:59 UTC 2022 on sn-devel-184
* wafsamba: always generate compile_commands.json again, but only when the ↵Stefan Metzmacher2021-08-261-1/+2
| | | | | | | | | | | | | | samba dependencies changed This means the costs of the generation on a empty build are not paid anymore, which was the reason for the explicit --enable-clangdb option. Pair-Programmed-With: Andreas Schneider <asn@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Aug 26 13:06:09 UTC 2021 on sn-devel-184
* wscript: port build_system_heimdal to waf 2.0Alexander Bokovoy2018-09-051-1/+1
| | | | | Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* wscript: Build the KDC code if we have the AD DC build enabledAndreas Schneider2016-03-171-1/+0
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Sumit Bose <sbose@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* waf: move krb5 checks to a separate waf fileAlexander Bokovoy2012-04-231-0/+1
| | | | | | | | | | | | | | | | | With PROCESS_SEPARATE_RULE in wafsamba it is now possible to simplify configuration and checks for MIT/Heimdal Kerberos implementations. 1. Move MIT krb5 checks from source3/wscript to wscript_configure_krb5 2. Make sure they are called same way (--with-mit-krb5-checks) 3. If no configure checks identified MIT krb5 in system (or were disabled), make sure Heimdal build is selected, embedded (default) or system-provided. This makes logic of configuration unchanged for Heimdal builds but adds less hacky way to use MIT krb5 builds. The latter does not work yet as we need to untangle more subsystems from HDB/Heimdal-specific details but lays out a foundation for that. Signed-off-by: Simo Sorce <idra@samba.org>
* waf: Use Logs.info() instead of print.Andreas Schneider2012-04-171-1/+3
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Apr 17 17:48:23 CEST 2012 on sn-devel-104
* wafsamba: add support for separate rules in stagesAlexander Bokovoy2012-04-131-0/+2
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