summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
AgeCommit message (Collapse)AuthorFilesLines
2012-06-29Move back to using per-thread credentials on Linux. Fixes the glibc native ↵Jeremy Allison1-2/+2
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-16attr: Look for attr/attributes.h too.Jelmer Vernooij1-1/+1
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-14lib/replace: define HAVE_WORKING_STRPTIME instead of REPLACE_STRPTIMEStefan Metzmacher1-8/+11
That makes the logic in 'wscript' simpler. metze
2012-06-14lib/replace: execute strptime.c testsStefan Metzmacher1-0/+1
They need runtime verification. metze
2012-06-14Revert "replace: use replace for non 'samba' compliant strptime"Stefan Metzmacher1-19/+0
This reverts commit 4ea7d4694a8353fc55ecd12cb09b9c91ffde7b3f. A better fix will follow. metze
2012-06-14lib/replace: add more condition to add snprintf.cStefan Metzmacher1-1/+3
metze
2012-06-14Revert "lib/replace: Fix snprintf() override for systems with a broken ↵Stefan Metzmacher1-1/+1
snprintf()" This reverts commit bbc1b0c9853322da10483f72c020fe0dd83b28fa. A more generic fix will follow. metze
2012-06-14lib/replace: s/execute=1/execute=TrueStefan Metzmacher1-1/+1
metze
2012-06-06lib/replace: Fix snprintf() override for systems with a broken snprintf()Andrew Bartlett1-1/+1
This ensures we provide the replacement functions that we need. Andrew Bartlett
2012-06-04libreplace: Ensure we link xattr.c on MacOSAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 4 02:36:55 CEST 2012 on sn-devel-104
2012-06-02libreplace: Add missing tests for HAVE_MREMAP and HAVE_SHARED_MMAPAndrew Bartlett1-0/+10
2012-06-02lib/replace: Merge remaining xattr test details from lib/utilAndrew Bartlett1-6/+8
I prefer the longer XATTR_ADDITIONAL_OPTIONS define and the NULL rather than 0 values in the getxattr test. Andrew Bartlett
2012-06-02s4-xattr: Use libreplace xattr functions directlyAndrew Bartlett1-0/+6
2012-06-02lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.cAndrew Bartlett1-1/+29
This also moves all the still-used configure tests etc. The unused OSF API is also removed at this time. Andrew Bartlett
2012-04-10On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison1-0/+2
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-03-24libreplace: Add getpeereid implementation.Jelmer Vernooij1-0/+10
2012-03-24replace: Move memalign() from lib/util/system.c to libreplace.Jelmer Vernooij1-2/+2
2012-03-22lib/replace: test for incoherent mmap.Rusty Russell1-0/+7
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-02-20build: Add libbsd as a dep for LIBREPLACE_HOSTCCAndrew Bartlett1-4/+5
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 20 02:58:20 CET 2012 on sn-devel-104
2012-02-02replace: Only add bsd dependency when bsd library was found.Jelmer Vernooij1-1/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Feb 2 05:18:45 CET 2012 on sn-devel-104
2012-01-31replace: Only include C files from which there are actually functions used.Jelmer Vernooij1-2/+21
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jan 31 15:21:04 CET 2012 on sn-devel-104
2012-01-31replace: use libbsd for strlcat/strlcpy when available.Jelmer Vernooij1-15/+21
2011-10-27replace: Add checks for setreuid and setregid.Andreas Schneider1-2/+2
2011-10-27replace: Make sure we compile without uid_wrapper.Andreas Schneider1-1/+1
2011-10-13config.h: define HAVE_LIBREPLACERusty Russell1-0/+1
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-03-04libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner1-0/+1
already used). Bjoern, Metze, please check. Guenther
2011-02-28libreplace: poll based on selectVolker Lendecke1-0/+4
2011-02-17s3-waf: move the KRB5_DEPRECATED configure check out of lib/replaceAndrew Tridgell1-8/+0
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-07waf: add clock_gettime clock ID checks to libreplace wscript.Günther Deschner1-1/+17
Guenther
2011-02-03replace: Try to fix broken sys/capabilites.h on Linux.Stefan Metzmacher1-1/+1
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-03Revert "replace: Try to fix broken sys/capabilites.h on Linux."Stefan Metzmacher1-1/+1
This reverts commit c2207e9b2cdec9cd4c32184c668a2c469edb7148. This still doesn't build for me on ClearOS 5.2. metze
2011-02-02replace: Try to fix broken sys/capabilites.h on Linux.Andreas Schneider1-1/+1
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
2010-12-12change searched name from _ss_family to __ss_familyMatthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Dec 12 20:05:23 CET 2010 on sn-devel-104
2010-12-12build: add a check for _ss_family as it used on aix to replace ss_familyMatthieu Patou1-0/+2
2010-12-11build: add a dependency on lib iconv for lib intl if we are not able to find itMatthieu Patou1-1/+12
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-11-28replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer1-1/+1
metze
2010-11-28replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer1-1/+1
- 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-28replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer1-1/+1
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-28replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer1-2/+2
- 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-03replace/wscript: add size checks for stdint.h typesStefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 3 19:12:39 UTC 2010 on sn-devel-104
2010-11-03replace/wscript: do the size checks directly after the type checksStefan Metzmacher1-4/+4
metze
2010-11-03replace/wscript: define bool to int instead of off_tStefan Metzmacher1-1/+1
metze
2010-11-03replace/wscript: check for uint8_tStefan Metzmacher1-0/+1
metze
2010-10-30replace: Fix formatting.Jelmer Vernooij1-8/+8
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 30 16:32:15 UTC 2010 on sn-devel-104
2010-10-30replace: Avoid autoproto as it breaks standalone builds.Jelmer Vernooij1-1/+0
Automatic prototype generation uses ../../source4/script/mkproto.pl. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-30replace: Only build replace-test in standalone build.Jelmer Vernooij1-7/+9
This allows turning libreplace-test back into a subsystem.
2010-10-30replace: create a private replace-test libraryAndrew Tridgell1-5/+8
used by replace_testuite and smbtorture
2010-10-23waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij1-1/+1
2010-10-22replace: use replace for non 'samba' compliant strptimeMatthieu Patou1-0/+19
2010-10-22replace: use a wrapper around strtoll if it didn't behave as expectedMatthieu Patou1-0/+17