Günther Deschner
4c8b9bee14
s3-waf: add checks for Linux readahead.
...
Guenther
2011-01-12 01:44:22 +01:00
Günther Deschner
4412eb9d00
s3-waf: more fallocate checks stolen from autoconf.
...
Guenther
2011-01-12 01:44:22 +01:00
Günther Deschner
b0f4f6f464
s3-waf: add checks for fallocate fallocate64.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 12 00:56:57 CET 2011 on sn-devel-104
2011-01-12 00:56:56 +01:00
Andreas Schneider
d2e93cce88
s3-waf: Fixed the static rpc service build.
...
Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Tue Jan 4 12:09:48 CET 2011 on sn-devel-104
2011-01-04 12:09:48 +01:00
Günther Deschner
a5cfdde558
s3-waf: try to fix the build with snow leopard.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 13 15:03:08 CET 2010 on sn-devel-104
2010-12-13 15:03:08 +01:00
Günther Deschner
b4d398f8e3
s3-waf: add -Wl,--export-dynamic to LDFLAGS.
...
Our binaries did not export symbols so e.g. smbd could not load vfs modules.
Patch from tridge.
We might remove this later on, once we decide to resolve all symbols and fix all
dependencies in s3 modules.
Guenther
2010-12-13 10:53:42 +01:00
Andrew Tridgell
16c36a8cb5
s3-waf: fixed version number handling
2010-12-08 05:26:06 +01:00
Günther Deschner
94cfb49bb7
s3-waf: add configure/declaration checks for fdatasync, readahead and splice.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Dec 7 16:50:23 CET 2010 on sn-devel-104
2010-12-07 16:50:23 +01:00
Günther Deschner
c5b2fd05af
s3-waf: add valgrind configure checks.
...
Guenther
2010-12-07 16:06:17 +01:00
Günther Deschner
af4a4f58b5
s3-waf: build vfs_fileid module if possible.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Dec 7 14:01:46 CET 2010 on sn-devel-104
2010-12-07 14:01:46 +01:00
Günther Deschner
6b1ba79fbf
s3-waf: add support for --with-dnsupdate.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Dec 7 13:07:51 CET 2010 on sn-devel-104
2010-12-07 13:07:51 +01:00
Günther Deschner
b73e4e36f5
s3-waf: add pam configure checks.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 6 17:34:45 CET 2010 on sn-devel-104
2010-12-06 17:34:45 +01:00
Günther Deschner
189b4bc1c2
s3-waf: add krb5 configure check for WRFILE_KEYTAB.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Dec 3 13:54:25 CET 2010 on sn-devel-104
2010-12-03 13:54:24 +01:00
Günther Deschner
704f138b8e
s3-waf: add krb5 configure checks for enctype 23.
...
Guenther
2010-12-03 13:07:53 +01:00
Günther Deschner
5676acbb73
s3-waf: more krb5 configure checks.
...
Guenther
2010-12-03 13:07:45 +01:00
Günther Deschner
71e2d9e7e8
s3-waf: more krb5 configure checks.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 1 19:35:50 CET 2010 on sn-devel-104
2010-12-01 19:35:50 +01:00
Günther Deschner
4c2ef4ffaa
s3-waf: add configure check for dirfd and build vfs_syncops vfs_dirsort if possible.
...
Guenther
2010-12-01 18:50:53 +01:00
Günther Deschner
a699729447
s3-waf: add idmap_ldap to default static module list.
...
Guenther
2010-12-01 18:50:53 +01:00
Günther Deschner
651a15d252
s3-waf: align some krb5/gssapi configure checks with classic build.
...
Guenther
2010-12-01 18:50:53 +01:00
Günther Deschner
133a2ffd00
s3-waf: avoid module name uppercasing.
...
This finally allows mixed case module names like the classic build
(./configure --shared_modules=charset_CP850)
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 1 18:39:14 CET 2010 on sn-devel-104
2010-12-01 18:39:14 +01:00
Andrew Tridgell
fe5c48cbed
waf: added --git-local-changes configure option
...
if you use --git-local-changes then the version number that waf
extracts from git will have a '+' on the end if you have local
changes, as determined by running 'git diff'.
This used to be the default, but unfortunately it is far too slow on
some systems. On a NFS build system I was using the first line of
configure took about 2 minutes.
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Nov 16 01:51:54 UTC 2010 on sn-devel-104
2010-11-16 01:51:54 +00:00
Jelmer Vernooij
7b964c7269
samba_version: When working from git checkout, display git revision SHA1 rather
...
than Bazaar revision ids.
2010-11-12 17:42:13 +00:00
Günther Deschner
528edcc789
s3-waf: add idmap_autorid to the build.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov 8 14:17:27 UTC 2010 on sn-devel-104
2010-11-08 14:17:27 +00:00
Günther Deschner
8b71438490
s3-waf: add check for httpConnect and httpConnectEncrypt.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Nov 4 14:10:40 UTC 2010 on sn-devel-104
2010-11-04 14:10:40 +00:00
Günther Deschner
090fcb0114
s3-waf: add vfs_time_audit to the build.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Oct 28 15:14:27 UTC 2010 on sn-devel-104
2010-10-28 15:14:27 +00:00
Stefan Metzmacher
2b74cea5f0
s3-waf: use git to calculate the version if available
...
metze
2010-10-25 08:16:28 +00:00
Andrew Tridgell
ec98bb55c6
s3-waf: fixed waf configure for recent changes
2010-10-25 11:12:03 +11:00
Günther Deschner
0ff7e0c998
samba: share readline wrappers among all buildsystems.
...
Guenther
2010-10-01 22:30:22 +02:00
Günther Deschner
9dcd5e6c8f
s3-waf: add basic make test infrastructure, not able to test yet.
...
Guenther
2010-09-29 08:54:00 +02:00
Andrew Tridgell
cd3eddbb59
waf: we don't need the preprocessor recursion limit any more
...
thanks to ita for this
2010-09-28 11:36:40 -07:00
Günther Deschner
2cf5c661c6
s3-waf: add vfs_linux_xfs_sgid to the list of default shared modules.
...
Guenther
2010-09-28 20:03:54 +02:00
Günther Deschner
5fcd0471e5
s3-waf: add pam_smbpass.
...
Guenther
2010-09-28 09:41:54 +02:00
Günther Deschner
7afa7b8a84
s3-waf: rework static and shared list handling a little.
...
Guenther
2010-09-27 00:39:38 +02:00
Günther Deschner
4584a12b6a
s3-waf: add missing IDMAP modules.
...
Guenther
2010-09-27 00:39:38 +02:00
Günther Deschner
2839c8f0b2
s3-waf: support --with-acl-support, at least for posix acls.
...
Guenther
2010-09-27 00:39:37 +02:00
Günther Deschner
ca2bbe00dc
s3-waf: add some module specific functions for s3 waf build.
...
Thanks to Kai.
Guenther
2010-09-27 00:39:37 +02:00
Günther Deschner
0a1d153b25
s3-waf: add check for seteuid method.
...
Thanks to Kai and Metze!
Guenther
2010-09-23 18:15:09 -07:00
Sumit Bose
6bcab329e7
s3-waf: build samldap passdb backend
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-27 12:14:14 +02:00
Günther Deschner
c43e832c51
s3-waf: fix the waf build with more recent MIT krb5 libs.
...
(such as MIT krb5 1.7.1 on fedora 13).
This whole area needs more work and love later, for now it builds at least.
Kai, please check.
Guenther
2010-08-11 12:47:57 +02:00
Andreas Schneider
5cefbfef26
s3-rpc_server: Added callbacks for init and shutdown of a rpc service.
...
This adds two callback function for each rpc service. One is for
initialisation and the other for shutdown. rpc_<service>_unregister()
needs to be called to execute the shutdown function.
2010-07-19 12:59:18 +02:00
Kai Blin
cfee179d03
s3: Attempt to fix the build on NetBSD
...
Unlike Linux and OSX, NetBSD seems to have *netgrent prototypes in netgroup.h.
2010-06-20 16:29:38 +02:00
Kai Blin
a453b87d68
s3-waf: Change the (set|get|end)netgrent checks to match the configure.in checks
2010-06-20 09:50:19 +02:00
Kai Blin
83ad437a9c
s3-waf: Add check for iconv
2010-06-17 08:09:49 +02:00
Kai Blin
7a1c24705d
s3-waf: Work around missing *netgrent prototypes on OSX 10.4
2010-06-17 08:09:49 +02:00
Kai Blin
a6c921fef7
s3-waf: Add check for dirent.d_off member
2010-06-01 15:11:15 +02:00
Kai Blin
458b2484c7
s3-waf: Check for device major and minor macros
2010-06-01 07:55:06 +02:00
Kai Blin
b497447e17
s3-waf: Add check for asm/types.h
2010-06-01 07:55:06 +02:00
Kai Blin
0fddbe472e
s3-waf: Check if compiler supports LL suffix
2010-05-31 22:26:31 +02:00
Kai Blin
3811fdab5c
s3-waf: Check for broken nisplus include files
2010-05-31 22:26:30 +02:00
Kai Blin
209555ef09
s3-waf: support avahi builds
2010-05-30 23:29:39 +02:00
Kai Blin
8e2b69ca46
s3-waf: Add more darwin-specific options
2010-05-30 23:29:20 +02:00
Kai Blin
f3b04854b8
s3-waf: Set HAVE_GSSAPI if gssapi libs were found
2010-05-30 22:54:27 +02:00
Kai Blin
f7333629f8
s3-waf: Support builds with utmp accounting
2010-05-28 15:17:35 +02:00
Kai Blin
4eba4b07c6
s3-waf: Match the defines from the autotools build on PACKAGE_*
2010-05-28 14:35:45 +02:00
Kai Blin
3d2c99f13b
s3-waf: Detect which version of krb5_enctype_to_string is used
...
Pair-Programmed-With: Günther Deschner <gd@samba.org>
2010-05-28 12:59:29 +02:00
Andrew Bartlett
892a4b24e7
waf Read VERSION file inside WAF to set package version
...
This replaces the call to mkversion.sh in both the Samba3 and Samba4
WAF builds.
Andrew Bartlett
2010-05-28 15:20:03 +10:00
Kai Blin
49a80fe671
s3-waf: Fix typo
...
Sorry for the noise
2010-05-27 22:45:13 +02:00
Kai Blin
21e8548c0a
s3-waf: Also set "developer" env when building in developer mode
2010-05-27 22:42:59 +02:00
Günther Deschner
20f843b678
s3-waf: more work on krb5 build.
...
Guenther
2010-05-26 22:53:13 +02:00
Kai Blin
eb6d6114f3
s3-waf: Allow to build with kerberos support
2010-05-26 22:53:04 +02:00
Kai Blin
9e194cd673
s3-waf: Check for additional options on *xattr
2010-05-26 00:28:34 +02:00
Kai Blin
5a023e73f7
s3-waf: Add darwin to the host_os-specific checks
2010-05-26 00:28:34 +02:00
Kai Blin
b2546ee557
s3-waf: Don't hardcode the name of the awk executable in wscript_build
2010-05-26 00:28:34 +02:00
Günther Deschner
8e41f2e66a
s3-waf: very simple start on getting krb5 build to work.
...
Guenther
2010-05-25 12:27:05 +02:00
Kai Blin
136ea7b91d
s3-waf: Actually make --with/--without-swat work
2010-05-21 00:15:52 +02:00
Kai Blin
c926acf7f1
s3-waf: Really disable winbindd build when --without-winbind is specified
2010-05-21 00:15:52 +02:00
Kai Blin
73f6fed4d6
s3-waf: more elaborate host_os check for STAT_ST_BLOCKSIZE
2010-05-20 22:16:15 +02:00
Kai Blin
17b136a79f
s3-waf: fix the winbindd build again
2010-05-20 22:16:15 +02:00
Stefan Metzmacher
1c6ba8551d
s3-waf: Also include source4/ when looking for headers
2010-05-20 22:16:15 +02:00
Kai Blin
8e04ad2db1
s3-waf: build shared modules as subsystems
2010-05-20 22:16:15 +02:00
Kai Blin
2650198ff7
s3-waf: autogenerate lists of static modules
2010-05-20 22:16:15 +02:00
Kai Blin
997114564d
s3-waf: tdb includes are in lib/tdb/include
2010-05-20 22:16:15 +02:00
Kai Blin
0e7e039778
s3-waf: Autogenerate the static and dynamic init function calls
2010-05-20 22:16:15 +02:00
Kai Blin
25f33a3f8e
s3-waf: add popt and tdb include dirs to the includes list
2010-05-20 22:16:15 +02:00
Kai Blin
be712a8eea
s3-waf: Build swat
2010-05-20 22:16:14 +02:00
Kai Blin
4acb54c6a0
s3-waf: Fix global includes to fix waf configure --help output
2010-05-20 22:16:14 +02:00
Kai Blin
4478413da9
s3-waf: Add dummy configuration option for pthreadpool
2010-05-20 22:16:14 +02:00
Kai Blin
81967f5087
s3-waf: Add dummy configuration option for utmp
2010-05-20 22:16:14 +02:00
Kai Blin
f4ff7a298d
s3-waf: Add dummy configuration option for sendfile-support
2010-05-20 22:16:14 +02:00
Kai Blin
cba7fd170c
s3-waf: Add dummy configuration options for quotas
2010-05-20 22:16:14 +02:00
Kai Blin
f4ebdc98c2
s3-waf: Add dummy configuration option for PAM
2010-05-20 22:16:14 +02:00
Kai Blin
76e054ba98
s3-waf: Add configuration option for merged build
...
This doesn't enable the merged build, but doesn't error out when the --disable-merged-build configuration option is set
2010-05-20 22:16:14 +02:00
Andrew Tridgell
c85008e084
s3-waf: move the KRB5_DEPRECATED check into lib/replace
...
this needs to be with the krb5.h check
2010-05-20 22:16:13 +02:00
Kai Blin
ca7226500c
s3-waf: Don't recurse into tsocket dir during configure
2010-05-20 22:16:13 +02:00
Andrew Tridgell
730c57048e
s3-waf: Add enable selftest configuration option
2010-05-20 22:16:13 +02:00
Andrew Tridgell
0077761f7e
s3-waf: correctly handle the libcap dependency when libcap is not installed
2010-05-20 22:16:13 +02:00
Kai Blin
fa48325bb6
s3-waf: build wbinfo using waf
2010-05-20 22:16:13 +02:00
Kai Blin
c7a1708740
s3-waf: Add ctags command
2010-05-20 22:16:13 +02:00
Kai Blin
8e32f81d4d
s3-waf: Support smbd build without ldap and kerberos
2010-05-20 22:16:13 +02:00
Kai Blin
d59df05ff9
s3-waf: Allow building without ads/ldap/krb5 even if the libs are installed
2010-05-20 22:16:13 +02:00
Kai Blin
771a8c17af
s3-waf: Allow using --enable/--disable options as well
2010-05-20 22:16:13 +02:00
Andrew Tridgell
99a2171f8b
s3-waf: correctly handle cups dependencies when cups development packages are not installed
2010-05-20 22:16:13 +02:00
Kai Blin
3d1c0f1a21
s3-waf: Add helper that facilitates defining --with-x and --without-x options
2010-05-20 22:16:13 +02:00
Kai Blin
adfd1db476
s3-waf: Fix the CUPS dependency
2010-05-20 22:16:13 +02:00
Andrew Tridgell
419873f2ee
s3-waf: All sorts of nasty hacks to finally get smbd to build/link
...
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-05-20 22:16:13 +02:00
Kai Blin
538edd5fc0
s3-waf: Add some more krb5 checks
...
There is still quite a few of them missing.
2010-05-20 22:16:13 +02:00
Kai Blin
1316fa7b78
s3-waf: Check for LDAP
2010-05-20 22:16:13 +02:00
Kai Blin
2b5f82f259
s3-waf: Move cups, ldap and krb5 checks to the end of the wscript file
2010-05-20 22:16:13 +02:00
Kai Blin
d3c9d299e8
s3-waf: Check for KRB5_DEPRECATED handling
2010-05-20 22:16:13 +02:00
Kai Blin
6f6b32044e
s3-waf: Fake some defines that need to be set by configure options later
2010-05-20 22:16:13 +02:00
Kai Blin
a967deacdc
s3-waf: Add more objects trying to build smbd
2010-05-20 22:16:12 +02:00
Andrew Tridgell
553324bc10
s4-waf: move to a universal method of recursing into subdirs
...
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
c2d17cf978
s4-waf: set default for bundled libraries
2010-04-06 20:27:12 +10:00
Andrew Tridgell
a247ce8ef9
s3-waf: added options for static/shared module building
...
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06 20:27:08 +10:00
Kai Blin
ecafbd3ec8
s3-waf: check for default charsets
2010-04-06 20:27:07 +10:00
Andrew Tridgell
e19196110c
s3-waf: more configure tests and minor fixes
2010-04-06 20:27:04 +10:00
Andrew Tridgell
e642c5a155
s3-waf: added build subdir for dynconfig generation
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
38f8b86c77
build: Check if the compiler will optimize out functions
2010-04-06 20:27:03 +10:00
Kai Blin
f7569922d9
build: check for int types included from rpc/rpc.h
2010-04-06 20:27:03 +10:00
Kai Blin
3bc6cf8097
build: Check for POSIX capabilities
2010-04-06 20:27:03 +10:00
Kai Blin
22d9f3d7c5
build: Check for various members of struct stat
2010-04-06 20:27:03 +10:00
Kai Blin
ea76743394
build: Fix package name and package string case
2010-04-06 20:27:03 +10:00
Kai Blin
998a9da867
build: Check for functions needed by Samba3
2010-04-06 20:27:03 +10:00
Kai Blin
c37f6e649d
build: Check for kernel share modes
2010-04-06 20:27:03 +10:00
Kai Blin
565191e39f
build: Check for IRIX kernel oplock types
2010-04-06 20:27:03 +10:00
Kai Blin
23ba9ad6e2
build: Check for Linux kernel oplocks
2010-04-06 20:27:03 +10:00
Kai Blin
207869dbf4
build: Check for kernel change notify support
2010-04-06 20:27:02 +10:00
Kai Blin
048b821b29
build: check for inotify support
2010-04-06 20:27:02 +10:00
Kai Blin
208bb86aae
build: check for headers needed to generate stack traces
2010-04-06 20:27:02 +10:00
Kai Blin
33ef088f3d
build: Check for krb5 headers
2010-04-06 20:27:02 +10:00
Kai Blin
ac9d39d108
build: Check for LDAP libraries
2010-04-06 20:27:02 +10:00
Kai Blin
59074dcfb1
build: Check for CUPS
2010-04-06 20:27:02 +10:00
Kai Blin
41e8e54406
build: Add a basic wscript file for Samba3
2010-04-06 20:27:02 +10:00