Andrew Tridgell
7132248164
s4-waf: get the sense of the tests for the HAVE_INET_* replacements right
2010-04-06 20:27:14 +10:00
Andrew Tridgell
5d84194644
s4-waf: heimdal wants to look for dd_fd in DIR
2010-04-06 20:27:14 +10:00
Andrew Tridgell
67a59c33fc
s4-waf: fixed dirfd() detection for heimdal
2010-04-06 20:27:14 +10:00
Andrew Tridgell
b9aa63887c
s4-waf: cleanup use of LIBPOPT vs popt dependency
2010-04-06 20:27:13 +10:00
Andrew Tridgell
c2d17cf978
s4-waf: set default for bundled libraries
2010-04-06 20:27:12 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
fe3cd6fb28
s4-waf: test/simple.c is not needed any more
2010-04-06 20:27:09 +10:00
Andrew Tridgell
8b14d217c4
s4-waf: fdatasync is in librt on solaris8
2010-04-06 20:27:08 +10:00
Andrew Tridgell
cb9dbc055f
libreplace: add a replacement for strerror_r (needed on solaris8)
2010-04-06 20:27:08 +10:00
Andrew Tridgell
48fd7802f9
s4-waf: replace stdint.h and stdbool.h on systems that don't have them
2010-04-06 20:27:06 +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
Kai Blin
8f33da10da
build: Change checks to conform to new CHECK_* behaviour
2010-04-06 20:27:04 +10:00
Kai Blin
fcab2b3305
build: check for inttypes.h
2010-04-06 20:27:02 +10:00
Kai Blin
da3902745e
build: check size of dev_t, ino_t and time_t
2010-04-06 20:27:02 +10:00
Kai Blin
0e2afc2c53
build: check for uint_t
2010-04-06 20:27:02 +10:00
Kai Blin
2a869b4abd
build: Check for syscall headers
2010-04-06 20:27:02 +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
282de50be7
build: add additional libreplace conditional sources
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
014c8736e5
build: socklen_t is in sys/socket.h
2010-04-06 20:27:01 +10:00
Andrew Tridgell
00649a9c62
build: updated configure checks or new syntax
2010-04-06 20:27:00 +10:00
Andrew Tridgell
f429e621d9
build: added checks for solaris getXXent_r() functions
2010-04-06 20:27:00 +10:00
Andrew Tridgell
9930493cc3
build: sun c compiler wants a newline
2010-04-06 20:27:00 +10:00
Andrew Tridgell
2239a52fec
build: check if a simple C program runs
...
This will be helpful for working out why AIX is failing
2010-04-06 20:26:59 +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
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
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
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
3207f81787
build: more functions that are in -lsocket -lnsl on some systems
2010-04-06 20:26:57 +10:00
Andrew Tridgell
0597c715b6
build: libreplace now depends on nsl and socket
...
these become empty targets if not needed
2010-04-06 20:26:57 +10:00
Andrew Tridgell
ec3fbe5fb1
build: inet_n*() are normally in libc
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
Andrew Tridgell
702615dadc
build: don't look for gettext twice
2010-04-06 20:26:56 +10:00
Andrew Tridgell
76761c5c8e
build: these cause problems incrementally too
2010-04-06 20:26:56 +10:00
Andrew Tridgell
bb5659fbfb
build: more non-incremental headers
2010-04-06 20:26:56 +10:00
Andrew Tridgell
81d155af96
build: check libc first for several libraries
2010-04-06 20:26:56 +10:00
Andrew Tridgell
8005100b2e
build: fixed REPLACE_GETPASS
2010-04-06 20:26:56 +10:00
Kai Blin
bfc1753514
build: Check for various headers S3 needs.
2010-04-06 20:26:56 +10:00
Andrew Tridgell
4b68550642
build: also need to put stripped CC in conf.env
2010-04-06 20:26:55 +10:00
Andrew Tridgell
a602a98b49
build: added WORDS_BIGENDIAN test
2010-04-06 20:26:55 +10:00
Andrew Tridgell
5025ca10c6
build: added --enable-gccdeps option
...
off by default, for maximum portability
2010-04-06 20:26:55 +10:00
Kai Blin
752533f865
build: Enable more warnings when using the --pedantic configuration option
2010-04-06 20:26:54 +10:00
Andrew Tridgell
6e550ac4c7
build: trim whitespace from CC options
2010-04-06 20:26:53 +10:00
Andrew Tridgell
cb0bf90b10
build: don't use -W warning option for developer build
2010-04-06 20:26:51 +10:00
Andrew Tridgell
8d0cb0321a
build: allow configure -C to work again
2010-04-06 20:26:51 +10:00
Andrew Tridgell
fe9e5d33bb
build: go into system includes for dependencies on configure
2010-04-06 20:26:50 +10:00