Andrew Tridgell
2cac0c27cf
build: started a library of common config tests for s3/s4
...
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06 20:27:07 +10:00
Andrew Tridgell
239cdb53f4
build: support variable expansion in source= arguments to build rules
...
This makes it much easier to follow the s3 approach to lists of
source files in the top level wscript
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06 20:27:06 +10:00
Andrew Tridgell
7bb5be1324
build: solaris8 doesn't honor the -f flag to ln.
...
It's in the man page, but it doesn't work!
2010-04-06 20:27:06 +10:00
Andrew Tridgell
6c3b69be9b
build: honor existing LD_LIBRARY_PATH settings when adding shared lib paths
2010-04-06 20:27:06 +10:00
Andrew Tridgell
12e6a920a7
build: old versions of perl don't understand the -W option
2010-04-06 20:27:06 +10:00
Andrew Tridgell
14fc71fc27
build: we need to replace md5 in Task as well
2010-04-06 20:27:06 +10:00
Andrew Tridgell
2454baf83b
build: need to set h_file on Utils
2010-04-06 20:27:06 +10:00
Thomas Nagy
81f5efba91
build: replace h_file when replacing md5
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-06 20:27:05 +10:00
Andrew Tridgell
1588a8d7a9
build: attempt to fix md5 problem on solaris8
2010-04-06 20:27:05 +10:00
Andrew Tridgell
eba9a54927
build: a few more build rules that should have on_results=True
2010-04-06 20:27:05 +10:00
Andrew Tridgell
742cb4547a
build: fixed case of system library deps
2010-04-06 20:27:05 +10:00
Stefan Metzmacher
988bc0cdc2
build: make use on_results=True for some build rules
...
This makes sure we generate a checksum over the result.
In practice it means we no longer recompile when a proto header
is triggers a rebuild if it hasn't changed its md5sum.
metze
2010-04-06 20:27:05 +10:00
Andrew Tridgell
e35864afdc
build: cope with systems that don't have md5 in python
2010-04-06 20:27:05 +10:00
Andrew Tridgell
a6ce1c3dce
build: need to mark disabled libraries as DISABLED
2010-04-06 20:27:05 +10:00
Andrew Tridgell
6ef817dd7c
build: fixed the cflags for pkg_config libs
2010-04-06 20:27:04 +10:00
Andrew Tridgell
7848344d55
build: split out the base waf rules into buildtools/wafsamba/wscript
...
this stops lib/replace becoming a mess
2010-04-06 20:27:04 +10:00
Andrew Tridgell
3d5dda63e3
build: use gzip for waf packing, to try to make it work on irix
2010-04-06 20:27:04 +10:00
Andrew Tridgell
8de258c81b
build: use shell=True for SAMBA_GENERATOR
...
This allows for shell redirection in rules
2010-04-06 20:27:04 +10:00
Andrew Tridgell
1fb1af92b3
build: added msg argument to CHECK_TYPE()
2010-04-06 20:27:04 +10:00
Andrew Tridgell
0632fac52e
build: add cflags from pkg_config results to header/function tests
...
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-06 20:27:01 +10:00
Andrew Tridgell
3b87d36c2b
build: test all the developer cflags before adding them
2010-04-06 20:27:01 +10:00
Andrew Tridgell
3e84e10daf
build: finer grained rpath checking for binary/install
2010-04-06 20:27:01 +10:00
Andrew Tridgell
9730166fd6
build: configure fixes for opensolaris
2010-04-06 20:27:01 +10:00
Andrew Tridgell
8e7922e10c
build: fixed headers for C prototype check
2010-04-06 20:27:01 +10:00
Andrew Tridgell
f95ca1afc9
build: rewrote the autoconf-like macros to be more consistent
...
This also brings them much closer to the behaviour of autoconf
2010-04-06 20:27:00 +10:00
Andrew Tridgell
98d16cbec0
build: fixed prototype test
2010-04-06 20:27:00 +10:00
Andrew Tridgell
570847054c
build: added CHECK_C_PROTOTYPE() configure function
2010-04-06 20:27:00 +10:00
Andrew Tridgell
cc2284cca1
build: python 2.4 doesn't support multiple union arguments for sets
2010-04-06 20:27:00 +10:00
Andrew Tridgell
a973c5f280
build: expand indirect syslibs after loop unrolling
...
otherwide python libs in the disable-shared build don't get all the
needed syslibs
2010-04-06 20:27:00 +10:00
Andrew Tridgell
c5d0208aa9
build: fixed handling of full dependencies for --disable-shared
...
the subsystem dependency loops get quite complex when shared libs are
disabled
2010-04-06 20:27:00 +10:00
Andrew Tridgell
b18f85041e
build: don't use double binaries/libs if not needed
...
when rpath is disabled on both install and build we don't need the
double binaries
2010-04-06 20:27:00 +10:00
Andrew Tridgell
0dc64c7458
build: mark wafsamba as unbuffered, so stdout and stderr are better in sync
2010-04-06 20:27:00 +10:00
Andrew Tridgell
8bc9560822
build: more complete implementation of waf configure -C
...
this is a closer emulation of the autoconf behaviour
2010-04-06 20:26:59 +10:00
Andrew Tridgell
a538ed1c82
build: fixed build of heimdal/lib/roken/err.h
2010-04-06 20:26:59 +10:00
Andrew Tridgell
9e0d0fa250
build: enable real cacheing with waf configure -C
2010-04-06 20:26:59 +10:00
Andrew Tridgell
e8775226ad
build: added --disable-shared option
2010-04-06 20:26:59 +10:00
Andrew Tridgell
69c065c719
build: optimise and re-enable check_duplicate_sources
2010-04-06 20:26:59 +10:00
Andrew Tridgell
b282660d39
build: fixed issue with CC="ccache cc" on solaris
2010-04-06 20:26:58 +10:00
Andrew Tridgell
dc9010572c
build: support systems without rpath
2010-04-06 20:26:58 +10:00
Andrew Tridgell
584986e392
build: cope with subsystems with no enabled modules
...
This happens for the notify subsystem on non-Linux systems
2010-04-06 20:26:58 +10:00
Andrew Tridgell
ea8d112683
build: fixed ifaddrs.h for heimdal (from template)
2010-04-06 20:26:58 +10:00
Andrew Tridgell
19ed4c7095
build: if a library is found, but not the fn, still define the library
2010-04-06 20:26:58 +10:00
Andrew Tridgell
8253fe0c72
build: don't use gcc warnings during configure
2010-04-06 20:26:58 +10:00
Andrew Tridgell
db8115f687
build: fixed check for pthread_create()
2010-04-06 20:26:57 +10:00
Andrew Tridgell
f2f8fc440e
build: more careful library list handling
2010-04-06 20:26:57 +10:00
Andrew Tridgell
d148461101
build: CONFIG_SET() takes conf argument
2010-04-06 20:26:57 +10:00
Andrew Tridgell
508cb5b97e
build: cope with double check for functions
2010-04-06 20:26:57 +10:00
Andrew Tridgell
1130f8f8d7
build: lib needs to take a list when more than 1
2010-04-06 20:26:57 +10:00
Andrew Tridgell
593c28b717
build: ensure all libs in CHECK_FUNCS_IN() get a target type
2010-04-06 20:26:57 +10:00
Andrew Tridgell
7628cb7da1
build: cope with multiple libs in CHECK_FUNCS_IN()
2010-04-06 20:26:56 +10:00