summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_autoconf.py
AgeCommit message (Collapse)AuthorFilesLines
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
2010-04-06build: don't use gcc warnings during configureAndrew Tridgell1-1/+8
2010-04-06build: fixed check for pthread_create()Andrew Tridgell1-13/+29
2010-04-06build: more careful library list handlingAndrew Tridgell1-14/+29
2010-04-06build: CONFIG_SET() takes conf argumentAndrew Tridgell1-1/+1
2010-04-06build: cope with double check for functionsAndrew Tridgell1-1/+4
2010-04-06build: lib needs to take a list when more than 1Andrew Tridgell1-1/+1
2010-04-06build: ensure all libs in CHECK_FUNCS_IN() get a target typeAndrew Tridgell1-6/+12
2010-04-06build: cope with multiple libs in CHECK_FUNCS_IN()Andrew Tridgell1-10/+10
2010-04-06build: cope with multiple checks for the same function/libraryAndrew Tridgell1-1/+2
2010-04-06build: fixed includes paths for CHECK_CODE()Andrew Tridgell1-2/+5
2010-04-06build: fixed config.h generation when we have source -> source4 symlinkAndrew Tridgell1-2/+4
2010-04-06build: fixed cflags in CHECK_CODEAndrew Tridgell1-1/+1
2010-04-06build: waf quicktest nearly worksAndrew Tridgell1-5/+3
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
2010-04-06build: nearly there on samba4 buildAndrew Tridgell1-18/+19