1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

224 Commits

Author SHA1 Message Date
Andrew Tridgell
de71662908 s3-waf: added support for in-tree heimdal in source3 waf build
this sets up the right defines for a in-tree heimdal build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
0234ac4e3c s3-waf: use Logs.warn() not print for configure warnings
this highlights the warning for the user

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
76e3af95c3 s3-waf: make pieces of the source3 waf wscript depends on toplevel_build
this will allow the toplevel build to use source3/wscript for
configure options

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Günther Deschner
3c9703f485 s3-waf: we need to globally -Ilib/replace
Guenther
2011-02-18 15:39:28 +01:00
Günther Deschner
a2f4a17b5e s3-waf: fix popt support.
Guenther
2011-02-18 15:34:27 +01:00
Andrew Bartlett
0bad0e3ff2 s3-libads Remove MIT-specific krb5_princ_realm macro calls.
When compiled against heimdal, we need to use a more elegant API.

Andrew Bartlett
2011-02-18 17:00:34 +11:00
Andrew Tridgell
88508291fe s3-waf: fixed the include paths for samba public libraries
this fixes the extra global includes for the s3 waf build to be
conditional on whether talloc, tevent and tdb are system libraries or
not.

This fixes a problem where in-tree includes could be used with system
libraries

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 15:09:47 +11:00
Günther Deschner
2045cd7ed7 s3-waf: add check for "struct sigevent" and some of its members.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 17 12:01:58 CET 2011 on sn-devel-104
2011-02-17 12:01:58 +01:00
Günther Deschner
ce718bb521 s3-waf: add check for "struct utimbuf".
Guenther
2011-02-17 11:16:06 +01:00
Andrew Tridgell
e1f2442096 s3-waf: move the KRB5_DEPRECATED configure check out of lib/replace
this needs to be in souce3/, as otherwise it can't handle an in-tree
kerberos library

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-17 00:55:56 +01:00
Günther Deschner
9e822f1032 s3-waf: add check for struct stat st_flags member.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 23:04:35 CET 2011 on sn-devel-104
2011-02-16 23:04:35 +01:00
Günther Deschner
afb77d135e s3-waf: add some missing checks for macosx.
Guenther
2011-02-16 21:59:15 +01:00
Günther Deschner
5d3f956925 s3-waf: add check for __NR_inotify_init declaration.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 19:28:18 CET 2011 on sn-devel-104
2011-02-16 19:28:18 +01:00
Günther Deschner
a029235b3e s3-waf: add check for various sysconf() variables.
Guenther
2011-02-16 18:39:41 +01:00
Günther Deschner
9d78512b2b s3-waf: add check for posix_fadvise().
Guenther
2011-02-16 18:39:40 +01:00
Günther Deschner
1cc0fb5a9a s3-waf: add check for hires timestamps in struct stat.
Guenther
2011-02-16 18:39:38 +01:00
Günther Deschner
3b3f13a7fb s3-waf: add check for "struct flock64".
Guenther
2011-02-16 18:39:35 +01:00
Günther Deschner
8701b0d645 s3-waf: add check for broken (glibc2.1/x86) 64 bit fcntl locking.
Guenther
2011-02-16 18:39:32 +01:00
Günther Deschner
4e32fd9d5c s3-waf: add check for fcntl locking.
Guenther
2011-02-16 18:39:28 +01:00
Günther Deschner
b3f76482d2 s3-waf: add check for "struct dirent64".
Guenther
2011-02-16 18:01:23 +01:00
Günther Deschner
6531ac6a65 s3-waf: next attempt to fix cups and non-cups builds.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 16:57:40 CET 2011 on sn-devel-104
2011-02-11 16:57:40 +01:00
Günther Deschner
414f39872d s3-waf: try to deal with underlinked cups libraries.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 15:28:32 CET 2011 on sn-devel-104
2011-02-11 15:28:32 +01:00
Günther Deschner
1bad50f648 s3-waf: rework the way SMBLDAP subsystem is built a little.
Guenther
2011-02-11 12:22:41 +01:00
Günther Deschner
44f2344a92 s3-waf: try to deal with system w/o ldap; also move module processing to the end of wscript.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 02:30:40 CET 2011 on sn-devel-104
2011-02-11 02:30:40 +01:00
Günther Deschner
6bc6d5dcfb s3-waf: try to fix the {net|free|open}bsd build.
Guenther
2011-02-10 23:46:45 +01:00
Günther Deschner
80d87e68de s3-waf: dont try to redefine 'pam', we checked above...
Found by solaris waf buildfarm build.

Guenther
2011-02-10 23:39:14 +01:00
Günther Deschner
1fc14a6543 s3-waf: do not make pam support mandatory.
Guenther
2011-02-10 21:24:34 +01:00
Günther Deschner
4de3e733da s3-waf: fix cups checks when lib is there but headers aren't.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 21:24:37 CET 2011 on sn-devel-104
2011-02-10 21:24:37 +01:00
Günther Deschner
5ecda05967 s3-waf: better checks for gssapi support.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 19:24:12 CET 2011 on sn-devel-104
2011-02-10 19:24:12 +01:00
Günther Deschner
7de21e6294 s3-waf: fix krb5 checks logic.
Guenther
2011-02-10 12:58:06 +01:00
Günther Deschner
d0406ab7f0 s3-waf: make ads support detection a little more robust.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  9 23:38:50 CET 2011 on sn-devel-104
2011-02-09 23:38:50 +01:00
Günther Deschner
9239db35e6 s3-waf: make sure we dont activate dnsupdate support w/o gssapi.
Guenther
2011-02-09 22:51:08 +01:00
Günther Deschner
a0e576178b s3-waf: we check for attr in ../lib/util/script already, so we cannot set to EMPTY here.
Hopefully fixes the irix build.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  9 18:58:15 CET 2011 on sn-devel-104
2011-02-09 18:58:15 +01:00
Günther Deschner
ada4c66ea3 s3-waf: as long as we dont have --with-featureX=yes|no|auto handling, avoid exiting.
Guenther
2011-02-09 18:14:19 +01:00
Günther Deschner
9081cb0fd8 s3-waf: check k5crypto in some more locations.
Guenther
2011-02-09 18:14:19 +01:00
Günther Deschner
62cd1e08b3 s3-waf: support non-default krb5-config and cups-config locations.
Guenther
2011-02-09 18:14:19 +01:00
Jeremy Allison
ad3d1adea3 Add configure checks for fdopendir. 2011-02-08 15:06:00 -08:00
Günther Deschner
4b7d0492bb s3-waf: add --with-automount option.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb  7 14:11:03 CET 2011 on sn-devel-104
2011-02-07 14:11:03 +01:00
Günther Deschner
13d8290d0d s3-waf: fix wrong check for vfs_aio_fork dependencies.
Guenther
2011-02-07 13:21:50 +01:00
Günther Deschner
bcdacff168 s3-waf: add support for --with-aio-support.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb  7 12:30:57 CET 2011 on sn-devel-104
2011-02-07 12:30:57 +01:00
Günther Deschner
3a60e5496f s3-waf: only build auth_netlogond in developer build.
Volker, please check.

Guenther
2011-02-07 11:44:55 +01:00
Günther Deschner
81a3f7a520 s3-waf: add --with-syslog option.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb  7 10:50:39 CET 2011 on sn-devel-104
2011-02-07 10:50:39 +01:00
Günther Deschner
45f86fd681 s3-waf: recurse into ../lib/util/wscript_configure
This gets us all the statvfs checks.

Guenther
2011-02-07 10:01:58 +01:00
Günther Deschner
72910c34df s3-waf: add support for iprint.
Guenther
2011-02-07 10:01:50 +01:00
Günther Deschner
fbbe321d19 s3-waf: fix the build after linux netlink changes.
Volker, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  1 23:21:50 CET 2011 on sn-devel-104
2011-02-01 23:21:50 +01:00
Günther Deschner
35a7bebe2b s3-waf: On FreeBSD, compile zfsacl if sunacl.h is around.
Volker, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 31 10:51:10 CET 2011 on sn-devel-104
2011-01-31 10:51:10 +01:00
Günther Deschner
ef0a3903f0 s3-waf: fix lib/addns include path.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 24 16:15:58 CET 2011 on sn-devel-104
2011-01-24 16:15:58 +01:00
Günther Deschner
c675b1c827 s3-waf: no need anymore to include "source4" globally.
Guenther
2011-01-24 15:28:21 +01:00
Günther Deschner
fa5fdb1a4e s3-waf: finally enable large file support.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 12 11:59:22 CET 2011 on sn-devel-104
2011-01-12 11:59:22 +01:00
Günther Deschner
e2a3ff184e s3-waf: add check for SO_PEERCRED.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 12 02:29:48 CET 2011 on sn-devel-104
2011-01-12 02:29:48 +01:00
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