Andrew Tridgell [Sun, 28 Mar 2010 06:05:30 +0000 (17:05 +1100)]
s4-waf: cleanup use of LIBPOPT vs popt dependency
Andrew Tridgell [Sun, 28 Mar 2010 05:38:27 +0000 (16:38 +1100)]
s4-waf: support the use of system libraries
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.
Andrew Tridgell [Sun, 28 Mar 2010 04:43:26 +0000 (15:43 +1100)]
s4-waf: fixed some deps now we don't auto-include tevent and replace
this is preparation for being able to use system versions of these
libraries
Andrew Tridgell [Sun, 28 Mar 2010 04:42:28 +0000 (15:42 +1100)]
s4-waf: set default for bundled libraries
Andrew Tridgell [Sun, 28 Mar 2010 03:10:15 +0000 (14:10 +1100)]
s4-waf: set the bundled library extension for some libs
Andrew Tridgell [Sat, 27 Mar 2010 22:48:49 +0000 (09:48 +1100)]
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
Andrew Tridgell [Sat, 27 Mar 2010 07:14:33 +0000 (18:14 +1100)]
s4-waf: enable the pc_files in the build rules
Andrew Tridgell [Sat, 27 Mar 2010 04:12:56 +0000 (15:12 +1100)]
s4-waf: install the rest of our python files
Andrew Tridgell [Sat, 27 Mar 2010 02:56:05 +0000 (13:56 +1100)]
s4-waf: install the rest of the headers
Andrew Tridgell [Sat, 27 Mar 2010 01:29:44 +0000 (12:29 +1100)]
s4-waf: test/simple.c is not needed any more
Andrew Tridgell [Fri, 26 Mar 2010 22:46:50 +0000 (09:46 +1100)]
s4-waf: started adding auto-install of include files
Andrew Tridgell [Fri, 26 Mar 2010 06:17:38 +0000 (17:17 +1100)]
s4-waf: fdatasync is in librt on solaris8
Andrew Tridgell [Fri, 26 Mar 2010 05:45:23 +0000 (16:45 +1100)]
libreplace: add a replacement for strerror_r (needed on solaris8)
Andrew Tridgell [Fri, 26 Mar 2010 05:18:18 +0000 (16:18 +1100)]
s4-waf: look for libiconv before checking libc
This is needed for solaris8
Andrew Tridgell [Fri, 26 Mar 2010 05:09:36 +0000 (16:09 +1100)]
s4-waf: added checks for all the different statvfs varients
Andrew Tridgell [Fri, 26 Mar 2010 03:29:45 +0000 (14:29 +1100)]
s4-waf: cope with systems with zlib versions that are too old
Andrew Tridgell [Thu, 25 Mar 2010 03:32:58 +0000 (14:32 +1100)]
s4-waf: replace stdint.h and stdbool.h on systems that don't have them
Andrew Tridgell [Wed, 24 Mar 2010 11:29:12 +0000 (22:29 +1100)]
s4-waf: remove the need for some of the lib aliases
Andrew Tridgell [Wed, 24 Mar 2010 01:56:30 +0000 (12:56 +1100)]
build: split out the base waf rules into buildtools/wafsamba/wscript
this stops lib/replace becoming a mess
Kai Blin [Tue, 23 Mar 2010 20:58:44 +0000 (21:58 +0100)]
build: Change checks to conform to new CHECK_* behaviour
Kai Blin [Sun, 21 Mar 2010 11:20:13 +0000 (12:20 +0100)]
build: check for inttypes.h
Kai Blin [Sun, 21 Mar 2010 11:12:54 +0000 (12:12 +0100)]
build: check size of dev_t, ino_t and time_t
Kai Blin [Sun, 21 Mar 2010 11:12:27 +0000 (12:12 +0100)]
build: check for uint_t
Kai Blin [Sun, 21 Mar 2010 11:11:51 +0000 (12:11 +0100)]
build: Check for syscall headers
Andrew Tridgell [Tue, 23 Mar 2010 17:48:32 +0000 (04:48 +1100)]
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
Andrew Tridgell [Tue, 23 Mar 2010 14:36:45 +0000 (10:36 -0400)]
build: add additional libreplace conditional sources
Andrew Tridgell [Tue, 23 Mar 2010 14:00:48 +0000 (10:00 -0400)]
build: finer grained rpath checking for binary/install
Andrew Tridgell [Tue, 23 Mar 2010 13:32:23 +0000 (09:32 -0400)]
build: configure fixes for opensolaris
Andrew Tridgell [Tue, 23 Mar 2010 01:20:11 +0000 (12:20 +1100)]
build: socklen_t is in sys/socket.h
Andrew Tridgell [Mon, 22 Mar 2010 22:29:51 +0000 (09:29 +1100)]
build: updated configure checks or new syntax
Andrew Tridgell [Mon, 22 Mar 2010 07:38:54 +0000 (18:38 +1100)]
build: added checks for solaris getXXent_r() functions
Andrew Tridgell [Mon, 22 Mar 2010 06:35:14 +0000 (17:35 +1100)]
build: sun c compiler wants a newline
Andrew Tridgell [Mon, 22 Mar 2010 02:01:58 +0000 (13:01 +1100)]
build: check if a simple C program runs
This will be helpful for working out why AIX is failing
Andrew Tridgell [Sun, 21 Mar 2010 20:48:10 +0000 (07:48 +1100)]
build: more complete implementation of waf configure -C
this is a closer emulation of the autoconf behaviour
Andrew Tridgell [Sun, 21 Mar 2010 00:17:37 +0000 (11:17 +1100)]
build: enable real cacheing with waf configure -C
Andrew Tridgell [Sun, 21 Mar 2010 00:04:57 +0000 (11:04 +1100)]
build: added --disable-shared option
Andrew Tridgell [Sun, 21 Mar 2010 13:50:14 +0000 (09:50 -0400)]
build: fixed issue with CC="ccache cc" on solaris
Andrew Tridgell [Sat, 20 Mar 2010 12:41:15 +0000 (23:41 +1100)]
build: support systems without rpath
Andrew Tridgell [Sun, 21 Mar 2010 02:14:24 +0000 (22:14 -0400)]
build: tevent_epoll.c is conditional on HAVE_EPOLL
Andrew Tridgell [Sat, 20 Mar 2010 08:38:35 +0000 (19:38 +1100)]
build: don't use gcc warnings during configure
Andrew Tridgell [Sat, 20 Mar 2010 08:26:32 +0000 (19:26 +1100)]
build: fixed check for pthread_create()
Andrew Tridgell [Sat, 20 Mar 2010 06:51:55 +0000 (17:51 +1100)]
build: more functions that are in -lsocket -lnsl on some systems
Andrew Tridgell [Sat, 20 Mar 2010 06:37:43 +0000 (17:37 +1100)]
build: libreplace now depends on nsl and socket
these become empty targets if not needed
Andrew Tridgell [Sat, 20 Mar 2010 06:35:05 +0000 (17:35 +1100)]
build: inet_n*() are normally in libc
Andrew Tridgell [Sat, 20 Mar 2010 06:17:56 +0000 (17:17 +1100)]
build: cope with multiple libs in CHECK_FUNCS_IN()
Andrew Tridgell [Sat, 20 Mar 2010 06:05:04 +0000 (17:05 +1100)]
build: don't look for gettext twice
Andrew Tridgell [Sat, 20 Mar 2010 05:59:53 +0000 (16:59 +1100)]
build: these cause problems incrementally too
Andrew Tridgell [Sat, 20 Mar 2010 05:58:18 +0000 (16:58 +1100)]
build: more non-incremental headers
Andrew Tridgell [Sat, 20 Mar 2010 05:49:02 +0000 (16:49 +1100)]
build: check libc first for several libraries
Andrew Tridgell [Sat, 20 Mar 2010 20:34:58 +0000 (16:34 -0400)]
build: fixed REPLACE_GETPASS
Kai Blin [Fri, 19 Mar 2010 22:32:37 +0000 (23:32 +0100)]
build: Check for various headers S3 needs.
Andrew Tridgell [Sat, 20 Mar 2010 20:00:52 +0000 (16:00 -0400)]
build: also need to put stripped CC in conf.env
Andrew Tridgell [Fri, 19 Mar 2010 10:15:06 +0000 (21:15 +1100)]
build: added WORDS_BIGENDIAN test
Andrew Tridgell [Fri, 19 Mar 2010 08:56:08 +0000 (19:56 +1100)]
build: added --enable-gccdeps option
off by default, for maximum portability
Andrew Tridgell [Fri, 19 Mar 2010 08:50:57 +0000 (19:50 +1100)]
build: don't install talloc_testsuite and ldbtest
Kai Blin [Fri, 19 Mar 2010 08:17:15 +0000 (09:17 +0100)]
build: Enable more warnings when using the --pedantic configuration option
Andrew Tridgell [Thu, 18 Mar 2010 23:58:58 +0000 (10:58 +1100)]
build: trim whitespace from CC options
Andrew Tridgell [Wed, 17 Mar 2010 06:52:41 +0000 (17:52 +1100)]
build: only enable pytdb on s4 build
Andrew Tridgell [Wed, 17 Mar 2010 06:20:02 +0000 (17:20 +1100)]
build: enable pytdb
Andrew Tridgell [Wed, 17 Mar 2010 06:22:54 +0000 (00:22 -0600)]
build: optionally enable builtin popt
Andrew Tridgell [Wed, 17 Mar 2010 05:26:12 +0000 (16:26 +1100)]
build: don't use -W warning option for developer build
Andrew Tridgell [Wed, 17 Mar 2010 04:55:21 +0000 (15:55 +1100)]
build: allow configure -C to work again
Andrew Tridgell [Wed, 17 Mar 2010 04:39:24 +0000 (15:39 +1100)]
build: go into system includes for dependencies on configure
Andrew Tridgell [Wed, 17 Mar 2010 09:12:16 +0000 (20:12 +1100)]
build: waf quicktest nearly works
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
Andrew Tridgell [Wed, 17 Mar 2010 11:07:42 +0000 (22:07 +1100)]
build: commit all the waf build files in the tree
Andrew Tridgell [Sat, 20 Mar 2010 05:27:48 +0000 (16:27 +1100)]
build: nearly there on samba4 build
Andrew Tridgell [Mon, 8 Mar 2010 09:44:11 +0000 (20:44 +1100)]
build: saner CFLAGS handling for defines
Andrew Tridgell [Sun, 7 Mar 2010 13:40:58 +0000 (00:40 +1100)]
build: added getpass() tests
Andrew Tridgell [Sun, 7 Mar 2010 13:06:53 +0000 (00:06 +1100)]
build: added statvfs64 test
Andrew Tridgell [Sun, 7 Mar 2010 12:48:57 +0000 (23:48 +1100)]
build: added wrapper options
Andrew Tridgell [Sun, 7 Mar 2010 12:41:29 +0000 (23:41 +1100)]
build: check for RETSIGTYPE
Andrew Tridgell [Sun, 7 Mar 2010 12:31:48 +0000 (23:31 +1100)]
build: added IPV6 test
Andrew Tridgell [Sun, 7 Mar 2010 12:27:50 +0000 (23:27 +1100)]
build: fixed _Bool va_copy and VA_ARGS tests
Andrew Tridgell [Sun, 7 Mar 2010 12:17:06 +0000 (23:17 +1100)]
build: fixed sockaddr_in6 test
Andrew Tridgell [Sun, 7 Mar 2010 12:16:48 +0000 (23:16 +1100)]
build: iconv checks
Andrew Tridgell [Sun, 7 Mar 2010 11:59:25 +0000 (22:59 +1100)]
build: check for xattr support
Andrew Tridgell [Sun, 7 Mar 2010 11:52:58 +0000 (22:52 +1100)]
build: more libreplace config checks
Andrew Tridgell [Sun, 7 Mar 2010 06:35:20 +0000 (17:35 +1100)]
build: zlib checks
Andrew Tridgell [Sun, 7 Mar 2010 06:20:22 +0000 (17:20 +1100)]
build: check immediate structures
Andrew Tridgell [Sun, 7 Mar 2010 06:05:36 +0000 (17:05 +1100)]
build: move gettimeofday check to libreplace
- add checklink option to CHECK_FUNC()
- Used for when a prototype is not available
Andrew Tridgell [Sun, 7 Mar 2010 06:00:49 +0000 (17:00 +1100)]
build: added interface checking and nicer snprintf checking
use CHECK_CODE()
Andrew Tridgell [Sun, 7 Mar 2010 05:18:44 +0000 (16:18 +1100)]
build: more config checks
Andrew Tridgell [Sun, 7 Mar 2010 05:18:33 +0000 (16:18 +1100)]
build: added CHECK_CODE_COMPILES()
Andrew Tridgell [Sun, 7 Mar 2010 05:05:30 +0000 (16:05 +1100)]
build: check freeaddrinfo
Andrew Tridgell [Sun, 7 Mar 2010 05:05:19 +0000 (16:05 +1100)]
build: check xattr and frsize
Andrew Tridgell [Sun, 7 Mar 2010 04:52:45 +0000 (15:52 +1100)]
build: check for volatile
Andrew Tridgell [Sun, 7 Mar 2010 04:38:32 +0000 (15:38 +1100)]
build: more config checks
Andrew Tridgell [Sun, 7 Mar 2010 04:31:04 +0000 (15:31 +1100)]
build: check for offset_t and pw*_r functions
Andrew Tridgell [Sun, 7 Mar 2010 04:19:37 +0000 (15:19 +1100)]
build: check size of types
allow name of SIZEOF test to be specified
Andrew Tridgell [Sun, 7 Mar 2010 04:19:27 +0000 (15:19 +1100)]
build: check signal functions
Andrew Tridgell [Wed, 17 Mar 2010 09:40:03 +0000 (20:40 +1100)]
build: improve autoconf macros
- enable headers to be specified
- enable both forms of DECL check
- more libreplace checks
- more heimdal checks
- more sysdep checks
Andrew Tridgell [Sun, 7 Mar 2010 03:32:27 +0000 (14:32 +1100)]
build: added CHECK_DECLS()
Andrew Tridgell [Sun, 7 Mar 2010 03:28:33 +0000 (14:28 +1100)]
build: backtrace and crypt tests
Andrew Tridgell [Sun, 7 Mar 2010 03:07:32 +0000 (14:07 +1100)]
build: check for backtrace
Andrew Tridgell [Sun, 7 Mar 2010 02:48:49 +0000 (13:48 +1100)]
build: more headers and variables in configure
Andrew Tridgell [Sun, 7 Mar 2010 02:29:55 +0000 (13:29 +1100)]
build: check for pkgconfig
Andrew Tridgell [Wed, 17 Mar 2010 10:53:29 +0000 (21:53 +1100)]
build: result of hack session with ita
Andrew Tridgell [Wed, 17 Mar 2010 10:46:38 +0000 (21:46 +1100)]
build: fixes from ita
Andrew Tridgell [Sun, 28 Feb 2010 21:36:07 +0000 (08:36 +1100)]
build: using deps= for deps is clearer
Andrew Tridgell [Fri, 26 Feb 2010 11:21:50 +0000 (22:21 +1100)]
build: started to split up wafsamba.py into separate modules