1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

288 Commits

Author SHA1 Message Date
Björn Jacke
0342ca4062 wfabuild: fix the -errwarn compile flag test
as in the autoconf build this must be "-errwarn=%all"
2012-10-30 13:18:50 +01:00
Andrew Bartlett
6d73fd07f9 lib/replace: Fix configure on FreeBSD: define_ret is not correct here
define_ret is for when the output of the compiled and run program
should be put into the configure define.  This is not the case
here.

Andrew Bartlett
2012-10-23 09:29:19 +02:00
Andrew Bartlett
debb2b2b9e lib/replace: Fix detection of rpcsrv/yp_prot.h on FreeBSD 2012-10-23 09:29:18 +02:00
Andrew Bartlett
931ed2509d lib/replace: Add test for what flag we need for -Werror behaviour 2012-09-29 14:50:00 +10:00
Jelmer Vernooij
fd8d4ec347 replace: Support setproctitle().
This uses the setproctitle() from libc, libsetproctitle or libbsd.
If none is available it provides a dummy implementation.
2012-09-24 23:06:07 +02:00
Andrew Bartlett
2e51c386be lib/replace: Look for special flags needed for c99
This is normally handled by the waf core, but for HP-UX we currently fail.

The autoconf code hard-codes a case for HP-UX, but I want to try testing
it using a generic system first.

Andrew Bartlett
2012-09-24 03:51:07 +02:00
Andrew Bartlett
0727ad7321 lib/replace: Improve mkstemp test in autoconf and waf
On the Sernet-solaris8 host, this test passed in the autoconf build,
then failed in the recursive waf build.  This newer test should probe
the behaviour more closely, by checking we get two distinct, secure
files.

Andrew Bartlett
2012-09-24 03:51:07 +02:00
Michael Adam
d237427f18 lib/replace: remove duplicate check for inotify 2012-09-11 14:29:54 +02:00
Björn Jacke
5c3769b056 build: define _BSD_TYPES on IRIX to have types like u_short
why the hell do IRIX systems headers like quota.h use types that are available
only with such a define...?
2012-09-07 16:42:14 +02:00
Björn Jacke
4f0b8f30c9 s3/aio_fork: fix build on irix
IRIX needs _XOPEN_SOURCE defined for SCM_RIGHTS to be available
2012-07-26 18:27:40 +02:00
Jeremy Allison
485787f0df Move back to using per-thread credentials on Linux. Fixes the glibc native AIO lost wakeup problem.
See this post:

https://lists.samba.org/archive/samba-technical/2012-June/085101.html

for details.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jun 29 03:57:45 CEST 2012 on sn-devel-104
2012-06-29 03:57:45 +02:00
Jelmer Vernooij
8283d9ec4a attr: Look for attr/attributes.h too.
Fixes finding of ATTR_ROOT on GNU/kFreeBSD.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Sat Jun 16 18:54:27 CEST 2012 on sn-devel-104
2012-06-16 18:54:26 +02:00
Stefan Metzmacher
deca298d7b lib/replace: define HAVE_WORKING_STRPTIME instead of REPLACE_STRPTIME
That makes the logic in 'wscript' simpler.

metze
2012-06-14 09:34:14 +02:00
Stefan Metzmacher
0a92ac2ddc lib/replace: execute strptime.c tests
They need runtime verification.

metze
2012-06-14 09:34:13 +02:00
Stefan Metzmacher
e3a3c0d764 Revert "replace: use replace for non 'samba' compliant strptime"
This reverts commit 4ea7d4694a.

A better fix will follow.

metze
2012-06-14 09:34:13 +02:00
Stefan Metzmacher
4430d6a0d9 lib/replace: add more condition to add snprintf.c
metze
2012-06-14 09:34:13 +02:00
Stefan Metzmacher
1746ffe090 Revert "lib/replace: Fix snprintf() override for systems with a broken snprintf()"
This reverts commit bbc1b0c985.

A more generic fix will follow.

metze
2012-06-14 09:34:13 +02:00
Stefan Metzmacher
4e1ebdc0c4 lib/replace: s/execute=1/execute=True
metze
2012-06-14 09:34:13 +02:00
Andrew Bartlett
bbc1b0c985 lib/replace: Fix snprintf() override for systems with a broken snprintf()
This ensures we provide the replacement functions that we need.

Andrew Bartlett
2012-06-06 08:23:10 +02:00
Andrew Bartlett
01106230dd libreplace: Ensure we link xattr.c on MacOS
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Jun  4 02:36:55 CEST 2012 on sn-devel-104
2012-06-04 02:36:55 +02:00
Andrew Bartlett
75c03b332c libreplace: Add missing tests for HAVE_MREMAP and HAVE_SHARED_MMAP 2012-06-02 15:56:41 +10:00
Andrew Bartlett
e9d797e153 lib/replace: Merge remaining xattr test details from lib/util
I prefer the longer XATTR_ADDITIONAL_OPTIONS define and the NULL
rather than 0 values in the getxattr test.

Andrew Bartlett
2012-06-02 02:13:49 +02:00
Andrew Bartlett
f9b7cd53b9 s4-xattr: Use libreplace xattr functions directly 2012-06-02 02:13:49 +02:00
Andrew Bartlett
c290cdb934 lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.c
This also moves all the still-used configure tests etc.  The unused OSF API
is also removed at this time.

Andrew Bartlett
2012-06-02 02:13:49 +02:00
Jeremy Allison
d425a4cd3d On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into libreplace to make it standalone.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Apr 10 04:07:11 CEST 2012 on sn-devel-104
2012-04-10 04:07:11 +02:00
Jelmer Vernooij
71d41a015a libreplace: Add getpeereid implementation. 2012-03-24 16:00:36 +01:00
Jelmer Vernooij
d4c4cb06c5 replace: Move memalign() from lib/util/system.c to libreplace. 2012-03-24 14:43:21 +01:00
Rusty Russell
584b996a1a lib/replace: test for incoherent mmap.
We test for other mmap features here, and both tdb1 and tdb2 want this check.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-22 01:57:37 +01:00
Andrew Bartlett
3cd7fdab62 build: Add libbsd as a dep for LIBREPLACE_HOSTCC
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Feb 20 02:58:20 CET 2012 on sn-devel-104
2012-02-20 02:58:20 +01:00
Jelmer Vernooij
e3dac4b61a replace: Only add bsd dependency when bsd library was found.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Feb  2 05:18:45 CET 2012 on sn-devel-104
2012-02-02 05:18:45 +01:00
Jelmer Vernooij
c83ce7bcc6 replace: Only include C files from which there are actually functions used.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Jan 31 15:21:04 CET 2012 on sn-devel-104
2012-01-31 15:21:04 +01:00
Jelmer Vernooij
5c50e08983 replace: use libbsd for strlcat/strlcpy when available. 2012-01-31 13:44:17 +01:00
Andreas Schneider
c7fbcf9b98 replace: Add checks for setreuid and setregid. 2011-10-27 13:32:00 +02:00
Andreas Schneider
72c95baa4b replace: Make sure we compile without uid_wrapper. 2011-10-27 13:32:00 +02:00
Rusty Russell
5dcce64bbd config.h: define HAVE_LIBREPLACE
tdb2 wants to know if it should use replace.h.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Thu Oct 13 08:58:35 CEST 2011 on sn-devel-104
2011-10-13 08:58:35 +02:00
Günther Deschner
9167d70e77 libreplace: move "struct timespec" checks into libreplace (where timespec is already used).
Bjoern, Metze, please check.

Guenther
2011-03-04 00:28:27 +01:00
Volker Lendecke
0fc1650e09 libreplace: poll based on select 2011-02-28 16:40:19 +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
6baa3ef648 waf: add clock_gettime clock ID checks to libreplace wscript.
Guenther
2011-02-07 13:21:50 +01:00
Stefan Metzmacher
1e42aa6b3a replace: Try to fix broken sys/capabilites.h on Linux.
As this is more or less a broken header we need to include linux/types.h
before sys/capabilities.h to avoid redefinitions.

Systems like ClearOS 5.2 need linux/types.h very early.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb  3 05:26:12 CET 2011 on sn-devel-104
2011-02-03 05:26:11 +01:00
Stefan Metzmacher
5f18925e69 Revert "replace: Try to fix broken sys/capabilites.h on Linux."
This reverts commit c2207e9b2c.

This still doesn't build for me on ClearOS 5.2.

metze
2011-02-03 04:32:43 +01:00
Andreas Schneider
c2207e9b2c replace: Try to fix broken sys/capabilites.h on Linux.
As this is more or less a broken header we need to include linux/types.h
before sys/capabilities.h to avoid redefinitions.

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Feb  2 11:57:04 CET 2011 on sn-devel-104
2011-02-02 11:57:04 +01:00
Matthieu Patou
93ea5cb6f0 change searched name from _ss_family to __ss_family
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Dec 12 20:05:23 CET 2010 on sn-devel-104
2010-12-12 20:05:23 +01:00
Matthieu Patou
864335ec18 build: add a check for _ss_family as it used on aix to replace ss_family 2010-12-12 12:07:39 +03:00
Matthieu Patou
617871ee28 build: add a dependency on lib iconv for lib intl if we are not able to find it
This is due that on some platform lib intl depend on lib iconv, failling
to provide this library cause waf to be unable to link with lib intl and
makes it think that the library doesn't exists !
2010-12-11 19:21:09 +03:00
Matthias Dieter Wallnöfer
7128c15b65 replace:wscript - reintroduce the size check for "bool" due to a request of metze 2010-11-28 16:38:16 +01:00
Matthias Dieter Wallnöfer
3c0725001e replace:wscript - change the "bool" checks to be compatible with more platforms
- If the type was found then we are fine and define "HAVE_BOOL"
- Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int"
- This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64
- The length check for "bool" is not really useful and therefore removed
2010-11-28 16:38:16 +01:00
Matthias Dieter Wallnöfer
ef8349e28d replace:wscript - reintroduce the size check for "bool" due to a request of metze
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Nov 28 15:48:40 CET 2010 on sn-devel-104
2010-11-28 15:48:40 +01:00
Matthias Dieter Wallnöfer
b028a6001a replace:wscript - change the "bool" checks to be compatible with more platforms
- If the type was found then we are fine and define "HAVE_BOOL"
- Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int"
- This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64
- The length check for "bool" is not really useful and therefore removed
2010-11-28 13:33:19 +01:00
Stefan Metzmacher
d1dd2117db replace/wscript: add size checks for stdint.h types
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Nov  3 19:12:39 UTC 2010 on sn-devel-104
2010-11-03 19:12:39 +00:00
Stefan Metzmacher
f5a6c1e6dc replace/wscript: do the size checks directly after the type checks
metze
2010-11-03 18:31:16 +00:00
Stefan Metzmacher
811a36282a replace/wscript: define bool to int instead of off_t
metze
2010-11-03 18:31:16 +00:00
Stefan Metzmacher
3dcec24173 replace/wscript: check for uint8_t
metze
2010-11-03 18:31:16 +00:00
Jelmer Vernooij
4dee76f1cd replace: Fix formatting.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 30 16:32:15 UTC 2010 on sn-devel-104
2010-10-30 16:32:15 +00:00
Jelmer Vernooij
d1eba07e54 replace: Avoid autoproto as it breaks standalone builds.
Automatic prototype generation uses ../../source4/script/mkproto.pl.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-30 17:49:41 +02:00
Jelmer Vernooij
58e99ae916 replace: Only build replace-test in standalone build.
This allows turning libreplace-test back into a subsystem.
2010-10-30 17:49:38 +02:00
Andrew Tridgell
d6299d2667 replace: create a private replace-test library
used by replace_testuite and smbtorture
2010-10-30 23:48:59 +11:00
Jelmer Vernooij
49ef288819 waf: Rename some BUNDLED_ functios to PRIVATE_. 2010-10-23 22:24:06 +00:00
Matthieu Patou
4ea7d4694a replace: use replace for non 'samba' compliant strptime 2010-10-22 01:00:54 +04:00
Matthieu Patou
2d0ac59fcc replace: use a wrapper around strtoll if it didn't behave as expected 2010-10-22 01:00:53 +04:00
Andrew Tridgell
a913e79ee5 replace: make libreplace a private library
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:24 +11:00
Andrew Tridgell
ec90b249ec replace: cope with systems that have fdatasync(), but don't have the prototype
this is needed for MacOSX 10.4.1
2010-10-19 11:22:35 +11:00
Matthias Dieter Wallnöfer
ea3f21dff6 lib/replace/wscript:Tru64 build - Better use version 600 for _XOPEN_SOURCE
This means we request the "Single UNIX Specification, Version 3" with C99
compatibility as the Python 2.5 release on the system. This prevents
redefinitions with different values.

> [ 451/1918] Compiling scripting/python/pyglue.c
> cc: Warning: /usr/local/include/python2.5/pyconfig.h, line 951: The redefinition of the macro "_XOPEN_SOURCE" conflicts with a current definition because the replacement lists differ.  The redefinition is now in effect. (macroredef)
> #define _XOPEN_SOURCE 600
> ----------------------^
> cc: Warning: default/source4/include/config.h, line 54: The redefinition of the macro "_XOPEN_SOURCE" conflicts with a current definition because the replacement lists differ.  The redefinition is now in effect. (macroredef)
> #define _XOPEN_SOURCE 500
> ----------------------^
2010-09-11 17:23:55 +02:00
Matthias Dieter Wallnöfer
2442d25636 lib/replace:wscript - additional attempt to fix the build on Tru64
Obviously we really need both definitions ("socklen_t" has been found by
"_XOPEN_SOURCE"=500). But now FIONREAD wasn't accessible.
2010-09-11 12:18:33 +02:00
Matthias Dieter Wallnöfer
b8f28c2e70 lib/replace:wscript - don't check twice for type "bool" 2010-09-11 09:16:22 +02:00
Matthias Dieter Wallnöfer
ae5d807725 lib/replace:wscript - attempt to fix the features detection on Tru64
Hopefully now we detect the built-in "socklen_t"

https://bugs.internet2.edu/jira/browse/SSPCPP-114
http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN5/0001____.HTM
2010-09-11 09:16:22 +02:00
Björn Jacke
7c88ccde30 replace/waf: add rt to deps at this place 2010-08-31 11:33:22 +02:00
Björn Jacke
9f87bc4588 libreplace/waf: look for clock_gettime 2010-08-31 09:07:22 +02:00
Andrew Tridgell
0d7557e2dc libreplace: fixed the strptime() waf test
Thanks to Jelmer for pointing this out
2010-08-23 15:55:38 +10:00
Jelmer Vernooij
f2527d217c replace: Avoid hiding symbols when libreplace is builtin, as this
appears to cause unresolved symbols at the moment.
2010-06-18 23:51:40 +02:00
Björn Jacke
6a78241f4a libreplace: include sys/file.h only when available
thanks to Joachim Schmitz <schmitz@hp.com>. This fixes #7460.
2010-05-30 21:46:35 +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
f860a12d2f build: Don't look for krb5.h in libreplace 2010-05-20 22:16:13 +02:00
Björn Jacke
eff3a41bb8 waf:libreplace: set _OSF_SOURCE to fix build on Tru64 2010-05-11 15:25:54 +02:00
Stefan Metzmacher
26e6fb0efe lib/replace/wscript: make sure IPV6_V6ONLY is available for IPv6 support
We really on IPV6_V6ONLY being supported.

metze
2010-04-24 20:30:24 +02:00
Stefan Metzmacher
db29b2d6d2 lib/replace/wscript: add replacement for IPV6_V6ONLY on linux systems with broken headers
This is needed on SLES8.

metze
2010-04-24 20:30:23 +02:00
Andrew Tridgell
7818e2cc8c replace-waf: hide symbols in libreplace if a builtin library 2010-04-18 15:00:37 +10:00
Stefan Metzmacher
8921834be8 lib/replace/wscript: avoid global deps for LIBREPLACE_HOSTCC
metze
2010-04-12 12:31:14 +02:00
Stefan Metzmacher
2a727ef6e7 lib/replace/wscript: inline LIBREPLACE_EXT into 'replace' as the autoconf system does
metze
2010-04-12 12:31:14 +02:00
Stefan Metzmacher
dd38853b56 lib/replace/wscript: add dependency to 'dl'
metze
2010-04-12 12:31:13 +02:00
Stefan Metzmacher
14c05405cb lib/replace/wscript: rename LIBREPLACE_H => LIBREPLACE_HOSTCC
metze
2010-04-12 12:31:13 +02:00
Andrew Tridgell
d70a7befb6 s4-waf: move the KRB5_DEPRECATED check into lib/replace
this needs to be with the krb5.h check for the source3 build
2010-04-12 17:47:29 +10:00
Stefan Metzmacher
33bb334e80 s4-waf: inline LIBREPLACE_NETWORK into 'replace'
metze
2010-04-12 09:13:43 +02:00
Stefan Metzmacher
b1393087ac lib/replace/wscript: rename REPLACE_H_SOURCE => REPLACE_HOSTCC_SOURCE
metze
2010-04-12 09:13:42 +02:00
Stefan Metzmacher
0d307f25a0 lib/replace/wscript: implement the same getpass detection logic as the autoconf version
metze
2010-04-12 08:52:03 +02:00
Stefan Metzmacher
e37b834a62 lib/replace/wscript: inline LIBREPLACE_GETPASS into 'replace'
metze
2010-04-12 08:39:44 +02:00
Stefan Metzmacher
b2e1441864 lib/replace: create a LIBREPLACE_H subsystem
metze
2010-04-10 09:51:28 +02:00
Andrew Tridgell
7ae4372124 s4-waf: fixed waf distcheck for our standalone libs and s4 2010-04-06 20:27:26 +10: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
8dc8d31f4a s4-waf: fixed finding of buildtools and srcdir 2010-04-06 20:27:25 +10:00
Andrew Tridgell
1883ee6dbc s4-waf: avoid having to run waf configure before waf dist
This should be useful for building tarballs from a clean checkout
2010-04-06 20:27:25 +10:00
Andrew Tridgell
b498378c8f s4-waf: fixed some of the group ordering
We need to try to keep targets in the right groups
2010-04-06 20:27:18 +10:00
Andrew Tridgell
0a6a808113 s4-waf: add getaddrinfo.c replacement if needed 2010-04-06 20:27:18 +10:00
Andrew Tridgell
8e36daf513 s4-waf: added test for dlopen prototype 2010-04-06 20:27:18 +10:00
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
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
Andrew Tridgell
844acb2260 build: waf quicktest nearly works
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
8f1b809d2c build: nearly there on samba4 build 2010-04-06 20:26:47 +10:00
Andrew Tridgell
2498a0d25e build: saner CFLAGS handling for defines 2010-04-06 20:26:47 +10:00
Andrew Tridgell
a7c60e0b67 build: added getpass() tests 2010-04-06 20:26:46 +10:00
Andrew Tridgell
dd2aba149c build: check for RETSIGTYPE 2010-04-06 20:26:45 +10:00
Andrew Tridgell
58049e7f16 build: added IPV6 test 2010-04-06 20:26:45 +10:00
Andrew Tridgell
690b08fa0a build: fixed _Bool va_copy and VA_ARGS tests 2010-04-06 20:26:45 +10:00