summaryrefslogtreecommitdiffstats
path: root/lib/replace/wscript
Commit message (Collapse)AuthorAgeFilesLines
...
* libreplace: Ensure we link xattr.c on MacOSAndrew Bartlett2012-06-041-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 4 02:36:55 CEST 2012 on sn-devel-104
* libreplace: Add missing tests for HAVE_MREMAP and HAVE_SHARED_MMAPAndrew Bartlett2012-06-021-0/+10
|
* lib/replace: Merge remaining xattr test details from lib/utilAndrew Bartlett2012-06-021-6/+8
| | | | | | | I prefer the longer XATTR_ADDITIONAL_OPTIONS define and the NULL rather than 0 values in the getxattr test. Andrew Bartlett
* s4-xattr: Use libreplace xattr functions directlyAndrew Bartlett2012-06-021-0/+6
|
* lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.cAndrew Bartlett2012-06-021-1/+29
| | | | | | | This also moves all the still-used configure tests etc. The unused OSF API is also removed at this time. Andrew Bartlett
* On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison2012-04-101-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
* libreplace: Add getpeereid implementation.Jelmer Vernooij2012-03-241-0/+10
|
* replace: Move memalign() from lib/util/system.c to libreplace.Jelmer Vernooij2012-03-241-2/+2
|
* lib/replace: test for incoherent mmap.Rusty Russell2012-03-221-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>
* build: Add libbsd as a dep for LIBREPLACE_HOSTCCAndrew Bartlett2012-02-201-4/+5
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 20 02:58:20 CET 2012 on sn-devel-104
* replace: Only add bsd dependency when bsd library was found.Jelmer Vernooij2012-02-021-1/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Feb 2 05:18:45 CET 2012 on sn-devel-104
* replace: Only include C files from which there are actually functions used.Jelmer Vernooij2012-01-311-2/+21
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jan 31 15:21:04 CET 2012 on sn-devel-104
* replace: use libbsd for strlcat/strlcpy when available.Jelmer Vernooij2012-01-311-15/+21
|
* replace: Add checks for setreuid and setregid.Andreas Schneider2011-10-271-2/+2
|
* replace: Make sure we compile without uid_wrapper.Andreas Schneider2011-10-271-1/+1
|
* config.h: define HAVE_LIBREPLACERusty Russell2011-10-131-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
* libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner2011-03-041-0/+1
| | | | | | | | already used). Bjoern, Metze, please check. Guenther
* libreplace: poll based on selectVolker Lendecke2011-02-281-0/+4
|
* s3-waf: move the KRB5_DEPRECATED configure check out of lib/replaceAndrew Tridgell2011-02-171-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>
* waf: add clock_gettime clock ID checks to libreplace wscript.Günther Deschner2011-02-071-1/+17
| | | | Guenther
* replace: Try to fix broken sys/capabilites.h on Linux.Stefan Metzmacher2011-02-031-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
* Revert "replace: Try to fix broken sys/capabilites.h on Linux."Stefan Metzmacher2011-02-031-1/+1
| | | | | | | | This reverts commit c2207e9b2cdec9cd4c32184c668a2c469edb7148. This still doesn't build for me on ClearOS 5.2. metze
* replace: Try to fix broken sys/capabilites.h on Linux.Andreas Schneider2011-02-021-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
* change searched name from _ss_family to __ss_familyMatthieu Patou2010-12-121-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Dec 12 20:05:23 CET 2010 on sn-devel-104
* build: add a check for _ss_family as it used on aix to replace ss_familyMatthieu Patou2010-12-121-0/+2
|
* build: add a dependency on lib iconv for lib intl if we are not able to find itMatthieu Patou2010-12-111-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 !
* replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer2010-11-281-1/+1
| | | | metze
* replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer2010-11-281-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
* replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer2010-11-281-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
* replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer2010-11-281-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
* replace/wscript: add size checks for stdint.h typesStefan Metzmacher2010-11-031-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 3 19:12:39 UTC 2010 on sn-devel-104
* replace/wscript: do the size checks directly after the type checksStefan Metzmacher2010-11-031-4/+4
| | | | metze
* replace/wscript: define bool to int instead of off_tStefan Metzmacher2010-11-031-1/+1
| | | | metze
* replace/wscript: check for uint8_tStefan Metzmacher2010-11-031-0/+1
| | | | metze
* replace: Fix formatting.Jelmer Vernooij2010-10-301-8/+8
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 30 16:32:15 UTC 2010 on sn-devel-104
* replace: Avoid autoproto as it breaks standalone builds.Jelmer Vernooij2010-10-301-1/+0
| | | | | | Automatic prototype generation uses ../../source4/script/mkproto.pl. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* replace: Only build replace-test in standalone build.Jelmer Vernooij2010-10-301-7/+9
| | | | This allows turning libreplace-test back into a subsystem.
* replace: create a private replace-test libraryAndrew Tridgell2010-10-301-5/+8
| | | | used by replace_testuite and smbtorture
* waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij2010-10-231-1/+1
|
* replace: use replace for non 'samba' compliant strptimeMatthieu Patou2010-10-221-0/+19
|
* replace: use a wrapper around strtoll if it didn't behave as expectedMatthieu Patou2010-10-221-0/+17
|
* replace: make libreplace a private libraryAndrew Tridgell2010-10-211-0/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* replace: cope with systems that have fdatasync(), but don't have the prototypeAndrew Tridgell2010-10-191-1/+4
| | | | this is needed for MacOSX 10.4.1
* lib/replace/wscript:Tru64 build - Better use version 600 for _XOPEN_SOURCEMatthias Dieter Wallnöfer2010-09-111-2/+2
| | | | | | | | | | | | | | 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 > ----------------------^
* lib/replace:wscript - additional attempt to fix the build on Tru64Matthias Dieter Wallnöfer2010-09-111-1/+3
| | | | | Obviously we really need both definitions ("socklen_t" has been found by "_XOPEN_SOURCE"=500). But now FIONREAD wasn't accessible.
* lib/replace:wscript - don't check twice for type "bool"Matthias Dieter Wallnöfer2010-09-111-2/+1
|
* lib/replace:wscript - attempt to fix the features detection on Tru64Matthias Dieter Wallnöfer2010-09-111-2/+2
| | | | | | | 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
* replace/waf: add rt to deps at this placeBjörn Jacke2010-08-311-1/+1
|
* libreplace/waf: look for clock_gettimeBjörn Jacke2010-08-311-0/+1
|
* libreplace: fixed the strptime() waf testAndrew Tridgell2010-08-231-8/+2
| | | | Thanks to Jelmer for pointing this out