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
James Peach
3eac633522
libreplace: Fix readline build with libedit.
...
libedit on MAc OSX 10.5 does not have the rl_completion_t typedef,
but uses a internal typedef names CPPFunction.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-03 16:33:43 +02:00
Günther Deschner
fc9644a7d6
lib/replace: fix some c++ build warnings in testsuite.
...
Guenther
2010-06-01 16:49:24 +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
Volker Lendecke
4a653798df
fix a typo
2010-05-24 18:25:38 +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
41cd6f9928
lib/replace: make sure IPV6_V6ONLY is available for IPv6 support
...
We really on IPV6_V6ONLY being supported.
metze
2010-04-24 20:30:23 +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
Stefan Metzmacher
e06cf39502
lib/replace: add replacement for IPV6_V6ONLY on linux systems with broken headers
...
This is needed on SLES8.
metze
2010-04-24 20:30:17 +02:00
Andrew Tridgell
7818e2cc8c
replace-waf: hide symbols in libreplace if a builtin library
2010-04-18 15:00:37 +10:00
Andrew Tridgell
4e448e2d2c
libreplace: added _PUBLIC_ and _PRIVATE_ to replace.h
...
these are needed for all libs that use ABI checking, so libreplace
is the logical place for now
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
Andrew Tridgell
98942c8d84
build: use a common autogen-waf.sh for all builds
...
the symlink will get updated with the right target when waf dist is
used in each directory
2010-04-12 11:17:35 +10: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
ccfce0bbae
s4-waf: autogen-waf.sh for the standalone library builds
2010-04-06 20:27:25 +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
fe3cd6fb28
s4-waf: test/simple.c is not needed any more
2010-04-06 20:27:09 +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