nivanova/samba-autobuild/.git
14 years agobuild: use shell=True for SAMBA_GENERATOR
Andrew Tridgell [Wed, 24 Mar 2010 00:25:50 +0000 (18:25 -0600)]
build: use shell=True for SAMBA_GENERATOR

This allows for shell redirection in rules

14 years agobuild: added msg argument to CHECK_TYPE()
Andrew Tridgell [Wed, 24 Mar 2010 00:23:41 +0000 (18:23 -0600)]
build: added msg argument to CHECK_TYPE()

14 years agobuild: Change checks to conform to new CHECK_* behaviour
Kai Blin [Tue, 23 Mar 2010 20:58:44 +0000 (21:58 +0100)]
build: Change checks to conform to new CHECK_* behaviour

14 years agobuild: Check if the compiler will optimize out functions
Kai Blin [Mon, 22 Mar 2010 21:58:43 +0000 (22:58 +0100)]
build: Check if the compiler will optimize out functions

14 years agobuild: check for int types included from rpc/rpc.h
Kai Blin [Mon, 22 Mar 2010 07:59:02 +0000 (08:59 +0100)]
build: check for int types included from rpc/rpc.h

14 years agobuild: Check for POSIX capabilities
Kai Blin [Mon, 22 Mar 2010 07:48:09 +0000 (08:48 +0100)]
build: Check for POSIX capabilities

14 years agobuild: Check for various members of struct stat
Kai Blin [Sun, 21 Mar 2010 22:43:28 +0000 (23:43 +0100)]
build: Check for various members of struct stat

14 years agobuild: Fix package name and package string case
Kai Blin [Sun, 21 Mar 2010 22:02:14 +0000 (23:02 +0100)]
build: Fix package name and package string case

14 years agobuild: Check for functions needed by Samba3
Kai Blin [Tue, 23 Mar 2010 08:02:59 +0000 (09:02 +0100)]
build: Check for functions needed by Samba3

14 years agobuild: Check for kernel share modes
Kai Blin [Sun, 21 Mar 2010 21:49:25 +0000 (22:49 +0100)]
build: Check for kernel share modes

14 years agobuild: Check for IRIX kernel oplock types
Kai Blin [Sun, 21 Mar 2010 12:01:00 +0000 (13:01 +0100)]
build: Check for IRIX kernel oplock types

14 years agobuild: Check for Linux kernel oplocks
Kai Blin [Sun, 21 Mar 2010 11:53:44 +0000 (12:53 +0100)]
build: Check for Linux kernel oplocks

14 years agobuild: Check for kernel change notify support
Kai Blin [Sun, 21 Mar 2010 11:44:31 +0000 (12:44 +0100)]
build: Check for kernel change notify support

14 years agobuild: check for inotify support
Kai Blin [Sun, 21 Mar 2010 11:20:52 +0000 (12:20 +0100)]
build: check for inotify support

14 years agobuild: check for inttypes.h
Kai Blin [Sun, 21 Mar 2010 11:20:13 +0000 (12:20 +0100)]
build: check for inttypes.h

14 years agobuild: check for headers needed to generate stack traces
Kai Blin [Sun, 21 Mar 2010 11:13:41 +0000 (12:13 +0100)]
build: check for headers needed to generate stack traces

14 years agobuild: check size of dev_t, ino_t and time_t
Kai Blin [Sun, 21 Mar 2010 11:12:54 +0000 (12:12 +0100)]
build: check size of dev_t, ino_t and time_t

14 years agobuild: check for uint_t
Kai Blin [Sun, 21 Mar 2010 11:12:27 +0000 (12:12 +0100)]
build: check for uint_t

14 years agobuild: Check for syscall headers
Kai Blin [Sun, 21 Mar 2010 11:11:51 +0000 (12:11 +0100)]
build: Check for syscall headers

14 years agobuild: Check for krb5 headers
Kai Blin [Sat, 20 Mar 2010 16:53:08 +0000 (17:53 +0100)]
build: Check for krb5 headers

14 years agobuild: Check for LDAP libraries
Kai Blin [Sat, 20 Mar 2010 16:51:22 +0000 (17:51 +0100)]
build: Check for LDAP libraries

14 years agobuild: Check for CUPS
Kai Blin [Sat, 20 Mar 2010 15:51:15 +0000 (16:51 +0100)]
build: Check for CUPS

14 years agobuild: Add a basic wscript file for Samba3
Kai Blin [Sat, 20 Mar 2010 15:37:03 +0000 (16:37 +0100)]
build: Add a basic wscript file for Samba3

14 years agobuild: add cflags from pkg_config results to header/function tests
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

14 years agobuild: test all the developer cflags before adding them
Andrew Tridgell [Tue, 23 Mar 2010 17:52:23 +0000 (13:52 -0400)]
build: test all the developer cflags before adding them

14 years agobuild: setnttoken depends on libreplace
Andrew Tridgell [Tue, 23 Mar 2010 14:57:22 +0000 (10:57 -0400)]
build: setnttoken depends on libreplace

14 years agobuild: sys_lease_linux needs to be conditionally enabled
Andrew Tridgell [Tue, 23 Mar 2010 14:46:27 +0000 (10:46 -0400)]
build: sys_lease_linux needs to be conditionally enabled

14 years agobuild: add additional libreplace conditional sources
Andrew Tridgell [Tue, 23 Mar 2010 14:36:45 +0000 (10:36 -0400)]
build: add additional libreplace conditional sources

14 years agobuild: finer grained rpath checking for binary/install
Andrew Tridgell [Tue, 23 Mar 2010 14:00:48 +0000 (10:00 -0400)]
build: finer grained rpath checking for binary/install

14 years agobuild: configure fixes for opensolaris
Andrew Tridgell [Tue, 23 Mar 2010 13:32:23 +0000 (09:32 -0400)]
build: configure fixes for opensolaris

14 years agobuild: socklen_t is in sys/socket.h
Andrew Tridgell [Tue, 23 Mar 2010 01:20:11 +0000 (12:20 +1100)]
build: socklen_t is in sys/socket.h

14 years agobuild: added --with-selftest-prefix
Andrew Tridgell [Mon, 22 Mar 2010 22:51:09 +0000 (09:51 +1100)]
build: added --with-selftest-prefix

14 years agobuild: fixed headers for C prototype check
Andrew Tridgell [Mon, 22 Mar 2010 22:34:44 +0000 (09:34 +1100)]
build: fixed headers for C prototype check

14 years agobuild: updated configure checks or new syntax
Andrew Tridgell [Mon, 22 Mar 2010 22:29:51 +0000 (09:29 +1100)]
build: updated configure checks or new syntax

14 years agobuild: rewrote the autoconf-like macros to be more consistent
Andrew Tridgell [Mon, 22 Mar 2010 22:29:19 +0000 (09:29 +1100)]
build: rewrote the autoconf-like macros to be more consistent

This also brings them much closer to the behaviour of autoconf

14 years agobuild: fixed prototype test
Andrew Tridgell [Mon, 22 Mar 2010 07:50:29 +0000 (18:50 +1100)]
build: fixed prototype test

14 years agobuild: added checks for solaris getXXent_r() functions
Andrew Tridgell [Mon, 22 Mar 2010 07:38:54 +0000 (18:38 +1100)]
build: added checks for solaris getXXent_r() functions

14 years agobuild: added CHECK_C_PROTOTYPE() configure function
Andrew Tridgell [Mon, 22 Mar 2010 07:38:38 +0000 (18:38 +1100)]
build: added CHECK_C_PROTOTYPE() configure function

14 years agobuild: python 2.4 doesn't support multiple union arguments for sets
Andrew Tridgell [Mon, 22 Mar 2010 06:39:00 +0000 (17:39 +1100)]
build: python 2.4 doesn't support multiple union arguments for sets

14 years agobuild: sun c compiler wants a newline
Andrew Tridgell [Mon, 22 Mar 2010 06:35:14 +0000 (17:35 +1100)]
build: sun c compiler wants a newline

14 years agobuild: expand indirect syslibs after loop unrolling
Andrew Tridgell [Mon, 22 Mar 2010 06:31:27 +0000 (17:31 +1100)]
build: expand indirect syslibs after loop unrolling

otherwide python libs in the disable-shared build don't get all the
needed syslibs

14 years agobuild: fixed handling of full dependencies for --disable-shared
Andrew Tridgell [Mon, 22 Mar 2010 05:57:44 +0000 (16:57 +1100)]
build: fixed handling of full dependencies for --disable-shared

the subsystem dependency loops get quite complex when shared libs are
disabled

14 years agobuild: don't use double binaries/libs if not needed
Andrew Tridgell [Mon, 22 Mar 2010 05:57:05 +0000 (16:57 +1100)]
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

14 years agobuild: mark wafsamba as unbuffered, so stdout and stderr are better in sync
Andrew Tridgell [Mon, 22 Mar 2010 05:37:47 +0000 (16:37 +1100)]
build: mark wafsamba as unbuffered, so stdout and stderr are better in sync

14 years agobuild: added etags and ctags make targets
Andrew Tridgell [Mon, 22 Mar 2010 02:15:29 +0000 (13:15 +1100)]
build: added etags and ctags make targets

14 years agobuild: check if a simple C program runs
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

14 years agobuild: more complete implementation of waf configure -C
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

14 years agobuild: rkpty should not directly include socket_wrapper.c
Andrew Tridgell [Sun, 21 Mar 2010 02:51:33 +0000 (13:51 +1100)]
build: rkpty should not directly include socket_wrapper.c

14 years agobuild: fixed build of heimdal/lib/roken/err.h
Andrew Tridgell [Sun, 21 Mar 2010 02:50:43 +0000 (13:50 +1100)]
build: fixed build of heimdal/lib/roken/err.h

14 years agobuild: enable real cacheing with waf configure -C
Andrew Tridgell [Sun, 21 Mar 2010 00:17:37 +0000 (11:17 +1100)]
build: enable real cacheing with waf configure -C

14 years agobuild: added --disable-shared option
Andrew Tridgell [Sun, 21 Mar 2010 00:04:57 +0000 (11:04 +1100)]
build: added --disable-shared option

14 years agobuild: optimise and re-enable check_duplicate_sources
Andrew Tridgell [Sun, 21 Mar 2010 00:04:26 +0000 (11:04 +1100)]
build: optimise and re-enable check_duplicate_sources

14 years agobuild: commented the missing subsystems
Andrew Tridgell [Sat, 20 Mar 2010 23:21:16 +0000 (10:21 +1100)]
build: commented the missing subsystems

14 years agobuild: fixed libcli/ndr_netlogon.c dependency rules
Andrew Tridgell [Sat, 20 Mar 2010 23:21:01 +0000 (10:21 +1100)]
build: fixed libcli/ndr_netlogon.c dependency rules

14 years agobuild: fixed issue with CC="ccache cc" on solaris
Andrew Tridgell [Sun, 21 Mar 2010 13:50:14 +0000 (09:50 -0400)]
build: fixed issue with CC="ccache cc" on solaris

14 years agobuild: support systems without rpath
Andrew Tridgell [Sat, 20 Mar 2010 12:41:15 +0000 (23:41 +1100)]
build: support systems without rpath

14 years agobuild: removed testing cflags
Andrew Tridgell [Sat, 20 Mar 2010 12:41:00 +0000 (23:41 +1100)]
build: removed testing cflags

14 years agobuild: cope with subsystems with no enabled modules
Andrew Tridgell [Sat, 20 Mar 2010 11:55:04 +0000 (22:55 +1100)]
build: cope with subsystems with no enabled modules

This happens for the notify subsystem on non-Linux systems

14 years agobuild: 'makefile' (lowercase) is now a generated file
Andrew Tridgell [Sat, 20 Mar 2010 11:41:48 +0000 (22:41 +1100)]
build: 'makefile' (lowercase) is now a generated file

14 years agobuild: tevent_epoll.c is conditional on HAVE_EPOLL
Andrew Tridgell [Sun, 21 Mar 2010 02:14:24 +0000 (22:14 -0400)]
build: tevent_epoll.c is conditional on HAVE_EPOLL

14 years agobuild: fixed ifaddrs.h for heimdal (from template)
Andrew Tridgell [Sun, 21 Mar 2010 02:13:53 +0000 (22:13 -0400)]
build: fixed ifaddrs.h for heimdal (from template)

14 years agobuild: if a library is found, but not the fn, still define the library
Andrew Tridgell [Sat, 20 Mar 2010 08:41:41 +0000 (19:41 +1100)]
build: if a library is found, but not the fn, still define the library

14 years agobuild: don't use gcc warnings during configure
Andrew Tridgell [Sat, 20 Mar 2010 08:38:35 +0000 (19:38 +1100)]
build: don't use gcc warnings during configure

14 years agobuild: fixed gnutls check
Andrew Tridgell [Sat, 20 Mar 2010 08:38:18 +0000 (19:38 +1100)]
build: fixed gnutls check

14 years agobuild: fixed check for pthread_create()
Andrew Tridgell [Sat, 20 Mar 2010 08:26:32 +0000 (19:26 +1100)]
build: fixed check for pthread_create()

14 years agobuild: more careful library list handling
Andrew Tridgell [Sat, 20 Mar 2010 07:36:33 +0000 (18:36 +1100)]
build: more careful library list handling

14 years agobuild: CONFIG_SET() takes conf argument
Andrew Tridgell [Sat, 20 Mar 2010 06:54:05 +0000 (17:54 +1100)]
build: CONFIG_SET() takes conf argument

14 years agobuild: more functions that are in -lsocket -lnsl on some systems
Andrew Tridgell [Sat, 20 Mar 2010 06:51:55 +0000 (17:51 +1100)]
build: more functions that are in -lsocket -lnsl on some systems

14 years agobuild: cope with double check for functions
Andrew Tridgell [Sat, 20 Mar 2010 06:51:39 +0000 (17:51 +1100)]
build: cope with double check for functions

14 years agobuild: compile_et needs lib/com_err includes
Andrew Tridgell [Sat, 20 Mar 2010 21:32:04 +0000 (17:32 -0400)]
build: compile_et needs lib/com_err includes

14 years agobuild: libreplace now depends on nsl and socket
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

14 years agobuild: inet_n*() are normally in libc
Andrew Tridgell [Sat, 20 Mar 2010 06:35:05 +0000 (17:35 +1100)]
build: inet_n*() are normally in libc

14 years agobuild: lib needs to take a list when more than 1
Andrew Tridgell [Sat, 20 Mar 2010 06:27:23 +0000 (17:27 +1100)]
build: lib needs to take a list when more than 1

14 years agobuild: ensure all libs in CHECK_FUNCS_IN() get a target type
Andrew Tridgell [Sat, 20 Mar 2010 06:21:26 +0000 (17:21 +1100)]
build: ensure all libs in CHECK_FUNCS_IN() get a target type

14 years agobuild: cope with multiple libs in CHECK_FUNCS_IN()
Andrew Tridgell [Sat, 20 Mar 2010 06:17:56 +0000 (17:17 +1100)]
build: cope with multiple libs in CHECK_FUNCS_IN()

14 years agobuild: cope with multiple checks for the same function/library
Andrew Tridgell [Sat, 20 Mar 2010 06:10:51 +0000 (17:10 +1100)]
build: cope with multiple checks for the same function/library

14 years agobuild: don't look for gettext twice
Andrew Tridgell [Sat, 20 Mar 2010 06:05:04 +0000 (17:05 +1100)]
build: don't look for gettext twice

14 years agobuild: these cause problems incrementally too
Andrew Tridgell [Sat, 20 Mar 2010 05:59:53 +0000 (16:59 +1100)]
build: these cause problems incrementally too

14 years agobuild: more non-incremental headers
Andrew Tridgell [Sat, 20 Mar 2010 05:58:18 +0000 (16:58 +1100)]
build: more non-incremental headers

14 years agobuild: don't add curses.h to incremental confdefs.h
Andrew Tridgell [Sat, 20 Mar 2010 05:55:40 +0000 (16:55 +1100)]
build: don't add curses.h to incremental confdefs.h

14 years agobuild: check libc first for several libraries
Andrew Tridgell [Sat, 20 Mar 2010 05:49:02 +0000 (16:49 +1100)]
build: check libc first for several libraries

14 years agobuild: fixed REPLACE_GETPASS
Andrew Tridgell [Sat, 20 Mar 2010 20:34:58 +0000 (16:34 -0400)]
build: fixed REPLACE_GETPASS

14 years agobuild: Check for various headers S3 needs.
Kai Blin [Fri, 19 Mar 2010 22:32:37 +0000 (23:32 +0100)]
build: Check for various headers S3 needs.

14 years agobuild: rename s4 compare_config_h.sh helper and add a s3 version of it
Kai Blin [Fri, 19 Mar 2010 11:13:58 +0000 (12:13 +0100)]
build: rename s4 compare_config_h.sh helper and add a s3 version of it

14 years agobuild: also need to put stripped CC in conf.env
Andrew Tridgell [Sat, 20 Mar 2010 20:00:52 +0000 (16:00 -0400)]
build: also need to put stripped CC in conf.env

14 years agobuild: gccdeps fixes from ita
Andrew Tridgell [Fri, 19 Mar 2010 11:33:43 +0000 (22:33 +1100)]
build: gccdeps fixes from ita

14 years agobuild: added WORDS_BIGENDIAN test
Andrew Tridgell [Fri, 19 Mar 2010 10:15:06 +0000 (21:15 +1100)]
build: added WORDS_BIGENDIAN test

14 years agobuild: don't assume bash in configure.waf
Andrew Tridgell [Fri, 19 Mar 2010 09:56:15 +0000 (20:56 +1100)]
build: don't assume bash in configure.waf

14 years agobuild: spelling fix, and syntax highlighting fix
Andrew Tridgell [Fri, 19 Mar 2010 09:30:14 +0000 (20:30 +1100)]
build: spelling fix, and syntax highlighting fix

14 years agobuild: conditionally enable inotify
Andrew Tridgell [Fri, 19 Mar 2010 09:26:25 +0000 (20:26 +1100)]
build: conditionally enable inotify

14 years agobuild: check for pam headers
Andrew Tridgell [Fri, 19 Mar 2010 09:06:33 +0000 (20:06 +1100)]
build: check for pam headers

14 years agobuild: tool to find missing install components
Andrew Tridgell [Fri, 19 Mar 2010 09:06:22 +0000 (20:06 +1100)]
build: tool to find missing install components

14 years agobuild: added --enable-gccdeps option
Andrew Tridgell [Fri, 19 Mar 2010 08:56:08 +0000 (19:56 +1100)]
build: added --enable-gccdeps option

off by default, for maximum portability

14 years agobuild: install samba in sbin
Andrew Tridgell [Fri, 19 Mar 2010 08:51:26 +0000 (19:51 +1100)]
build: install samba in sbin

14 years agobuild: don't install the heimdal compilers
Andrew Tridgell [Fri, 19 Mar 2010 08:51:13 +0000 (19:51 +1100)]
build: don't install the heimdal compilers

14 years agobuild: don't install talloc_testsuite and ldbtest
Andrew Tridgell [Fri, 19 Mar 2010 08:50:57 +0000 (19:50 +1100)]
build: don't install talloc_testsuite and ldbtest

14 years agobuild: fixed includes paths for CHECK_CODE()
Andrew Tridgell [Fri, 19 Mar 2010 08:50:21 +0000 (19:50 +1100)]
build: fixed includes paths for CHECK_CODE()

14 years agobuild: use SUBST_VARS_RECURSIVE() for install_path
Andrew Tridgell [Fri, 19 Mar 2010 08:49:59 +0000 (19:49 +1100)]
build: use SUBST_VARS_RECURSIVE() for install_path

14 years agobuild: added SUBST_VARS_RECURSIVE()
Andrew Tridgell [Fri, 19 Mar 2010 08:49:42 +0000 (19:49 +1100)]
build: added SUBST_VARS_RECURSIVE()

14 years agobuild: updated waf-svn (lower preproc recursion limit)
Andrew Tridgell [Fri, 19 Mar 2010 08:49:19 +0000 (19:49 +1100)]
build: updated waf-svn (lower preproc recursion limit)