summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_autoconf.py
AgeCommit message (Collapse)AuthorFilesLines
2011-01-25s4-waf: Skip header-not-found cache if a library is specified, as it may provideJelmer Vernooij1-1/+1
additional C flags. Tridge, please check. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jan 25 03:59:32 CET 2011 on sn-devel-104
2011-01-05buildtools/wafsamba: import 'sys' and 'Logs' if we use themStefan Metzmacher1-1/+1
We should avoid generating a backtrace in a normal error case, just because sys.exit(1) isn't known. metze
2010-12-10build: use CPP and CC values when calling pidlMatthieu Patou1-0/+9
2010-12-08waf: added -Wmissing-prototypes to buildAndrew Tridgell1-1/+1
This ensures that we always have a prototype for any function we declare Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 06:12:07 CET 2010 on sn-devel-104
2010-11-21waf: fixed the build with a space in the source directoryAndrew Tridgell1-2/+3
2010-10-31build: check that if we provide -liconv we can build shared libsMatthieu Patou1-2/+13
On Solaris with sun studio compiling an executable with -liconv even if there is no libiconv.so or libiconv.a will work but not for a shared lib. This problem leads to build problem as the linker won't be able to find libiconv when building shared lib as liconv is wrongly specified
2010-10-30waf: added env.DEVELOPER_MODE flagAndrew Tridgell1-0/+1
this makes it easier to add project rules that are only run in developer mode Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-25waf: moved the -Wl,-no-undefined flags to source4 and ldbAndrew Tridgell1-2/+0
moved it out of the general waf build as the s3 waf build cannot yet handle linking with -Wl,-no-undefined Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Oct 25 01:12:15 UTC 2010 on sn-devel-104
2010-10-21waf: check the linker accepts a set of ldflags before using themAndrew Tridgell1-1/+10
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 21 08:45:49 UTC 2010 on sn-devel-104
2010-10-21waf: fixed the handling of -Wl,-no-undefinedAndrew Tridgell1-8/+4
this flag was not being propogated to our link rules, so we were not in fact enforcing no undefined symbols in libraries.
2010-10-19waf: put -Wl,-no-undefined only in the linker flags, not when compiling CAndrew Tridgell1-1/+26
2010-10-13wafsamba/developer: Forbid shared objects with unresolved symbols, ifJelmer Vernooij1-1/+1
the linker supports such a flag. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 13 12:52:22 UTC 2010 on sn-devel-104
2010-10-06waf: fixed the problem with com_err on Ubuntu 9.04Andrew Tridgell1-16/+18
this changes CHECK_BUNDLED_SYSTEM() to honor the checkfunctions and headers options even for libraries found with pkgconfig. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 6 05:06:42 UTC 2010 on sn-devel-104
2010-06-19wafsamba: Allow manually specifying cflags/ldflags for system libraries.Jelmer Vernooij1-5/+6
2010-05-30build: Also replace '-' by '_' when creating header definesKai Blin1-0/+1
Tridge, please check
2010-04-24buildtools/wafsamba: inline defines during configure into the testsStefan Metzmacher1-7/+4
There 2 reasons for this change: - This is how autoconf tests work and it makes config.log much more useful - The waf c preprocessor ignored changes in bin/default/__confdefs.h when using waf configure -C, because is outside of the configure tests project path and handled like a system header. Many thanks to ita for pointing out the fix. metze
2010-04-21build: fixed uname output to be on target machine when cross compilingAndrew Tridgell1-3/+13
this also makes the output of define_ret configure tests show up in the configure output
2010-04-19build: added --cross-answers supportAndrew Tridgell1-1/+2
This allows you to easily cross-compile even without a --cross-execute emulator See http://wiki.samba.org/index.php/Waf#cross-compiling for details
2010-04-18build: added ABI checking to the WAF buildAndrew Tridgell1-1/+3
See http://wiki.samba.org/index.php/Waf#ABI_Checking for details
2010-04-13buildtools/wafsamba: make sure CHECK_FUNC() and CHECK_VARIABLE() work with ↵Stefan Metzmacher1-2/+6
-O3 in the CFLAGS 'CFLAGS="-O3" waf configure' was not detecting dlopen() needs -ldl. metze
2010-04-13tdb-waf: added build of manpages and config options for RPM buildAndrew Tridgell1-0/+1
Building a RPM from the fedora spec file now works with minimal changes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-12build: added cross-compilation configure optionsAndrew Tridgell1-0/+4
this enables use of a cross-compilation emulator, so configure tests run on an emulator of the target platform
2010-04-12build: Add an always parameter to CHECK_DECLSKai Blin1-2/+3
2010-04-12build: allow target upgrades from EMPTY to SYSLIBAndrew Tridgell1-1/+1
A library may be initially set as empty if it wasn't needed for a list of functions in CHECK_FUNCS_IN(). A later check may require the library. Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-09build: use Logs.error() and Logs.info() instead of print()Andrew Tridgell1-3/+3
this gives appropriate colors on output, and ensures it works with compiler output
2010-04-09build: added --picky-developer and --fatal-errorsAndrew Tridgell1-1/+7
Added configure options for --fatal-errors and --picky-developer. This removes -Wfatal-errors from the --enable-developer flags.
2010-04-08build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy1-1/+1
Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-06build: don't define vars in config.h for CONFIG_PATH()Andrew Tridgell1-2/+0
we don't want paths in config.h, as that just causes full rebuilds when you change --prefix. Better to use cflags= on the right subsystem
2010-04-06build: added functions for compound configuration testingAndrew Tridgell1-16/+68
This allows us to give a single 'Checking ...' msg for a compound set of tests.
2010-04-06build: tweak the strategy for finding functionsAndrew Tridgell1-4/+9
Based on a problem with res_ndestroy() on sunx in the build farm, I've changed the default strategy for finding functions with CHECK_FUNC(). It now accepts either a macro of a linked function, but won't accept a declaration only unless you set link=False.
2010-04-06build: tidy up the wafsamba rules a bitAndrew Tridgell1-24/+24
use python string conventions for function comments
2010-04-06build: fixed popt subsystem on systems without poptAndrew Tridgell1-6/+8
2010-04-06s4-waf: support the use of system librariesAndrew Tridgell1-5/+12
distros can set --bundled-libraries=NONE to force use of all system libraries. If the right version isn't found then configure will fail. Users may choose which libraries to use from the system, and which to use bundled libs. The default is to try system libs, and use them if their version matches the one in the source tree.
2010-04-06build: added quote option to conf.DEFINE()Andrew Tridgell1-2/+2
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06build: much better rpath test functionAndrew Tridgell1-9/+0
This creates a full shared lib, and a binary that uses it. Then it tests that the binary runs correctly, relying on rpath Thanks to Thomas for the code for this!
2010-04-06build: started a library of common config tests for s3/s4Andrew Tridgell1-31/+0
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06build: split out the base waf rules into buildtools/wafsamba/wscriptAndrew Tridgell1-0/+3
this stops lib/replace becoming a mess
2010-04-06build: added msg argument to CHECK_TYPE()Andrew Tridgell1-2/+4
2010-04-06build: add cflags from pkg_config results to header/function testsAndrew Tridgell1-32/+51
When we find a package with pkg_config we may need to use the resulting ccflags and ldflags in later tests. Support this by adding lib= options to CHECK_FUNC and CHECK_HEADER This gets gnutls on FreeBSD working
2010-04-06build: test all the developer cflags before adding themAndrew Tridgell1-5/+16
2010-04-06build: configure fixes for opensolarisAndrew Tridgell1-19/+58
2010-04-06build: fixed headers for C prototype checkAndrew Tridgell1-0/+1
2010-04-06build: rewrote the autoconf-like macros to be more consistentAndrew Tridgell1-151/+209
This also brings them much closer to the behaviour of autoconf
2010-04-06build: fixed prototype testAndrew Tridgell1-1/+1
2010-04-06build: added CHECK_C_PROTOTYPE() configure functionAndrew Tridgell1-4/+27
2010-04-06build: more complete implementation of waf configure -CAndrew Tridgell1-10/+19
this is a closer emulation of the autoconf behaviour
2010-04-06build: enable real cacheing with waf configure -CAndrew Tridgell1-0/+11
2010-04-06build: fixed issue with CC="ccache cc" on solarisAndrew Tridgell1-0/+10
2010-04-06build: support systems without rpathAndrew Tridgell1-0/+9
2010-04-06build: if a library is found, but not the fn, still define the libraryAndrew Tridgell1-9/+2