summaryrefslogtreecommitdiffstats
path: root/lib/replace/libreplace.m4
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove autoconf build systemAndrew Bartlett2013-05-281-490/+0
| | | | | | | | | | | We are now confident that that waf build system meets enough of our needs that we will work to improve it, rather than maintain two build systems. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* lib/replace: Add ucontext configure autoconf checks.Jeremy Allison2013-01-151-0/+13
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib/replace: Add missing check for sys/wait.hJeremy Allison2013-01-151-1/+1
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* Fix bug 9548: Correctly detect O_DIRECTVolker Lendecke2013-01-141-11/+10
| | | | | | | Reviewed by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Jan 14 21:16:23 CET 2013 on sn-devel-104
* replace: Remove deprecated getpass() support.Andreas Schneider2012-12-031-1/+0
| | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* lib/replace: Improve mkstemp test in autoconf and wafAndrew Bartlett2012-09-241-3/+18
| | | | | | | | | 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
* Move back to using per-thread credentials on Linux. Fixes the glibc native ↵Jeremy Allison2012-06-291-1/+3
| | | | | | | | | | | | | 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
* lib/replace: Undo change of 0 -> NULLAndrew Bartlett2012-06-031-1/+1
| | | | | | | | | This reverts part of e9d797e153ae95561dbb10b56a41281b2472f137 as in the autoconf tests, NULL isn't available! (it is available in waf, which caused confusion) Andrew Bartlett
* libreplace: Link libreplace against attr when requiredAndrew Bartlett2012-06-031-1/+8
| | | | | | | | The autoconf Samba build will return to over-linking with -lattr on systems with both the XFS compat API and native xattrs. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jun 3 03:56:05 CEST 2012 on sn-devel-104
* libreplace: Fix autoconf build on platforms needing xattrsAndrew Bartlett2012-06-021-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jun 2 07:23:32 CEST 2012 on sn-devel-104
* lib/replace: Merge remaining xattr test details from lib/utilAndrew Bartlett2012-06-021-2/+2
| | | | | | | I prefer the longer XATTR_ADDITIONAL_OPTIONS define and the NULL rather than 0 values in the getxattr test. Andrew Bartlett
* lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.cAndrew Bartlett2012-06-021-0/+47
| | | | | | | This also moves all the still-used configure tests etc. The unused OSF API is also removed at this time. Andrew Bartlett
* Remove overly complex attemt to define blkcnt_t and blksize_t. AC_CHECK_TYPE ↵Jeremy Allison2012-04-121-12/+2
| | | | | | | | | should just do it. Still trying to fix the buildfarm. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 12 04:28:29 CEST 2012 on sn-devel-104
* On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison2012-04-101-0/+12
| | | | | | | 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
* replace: Move memalign() from lib/util/system.c to libreplace.Jelmer Vernooij2012-03-241-1/+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>
* replace: Add checks for setreuid and setregid.Andreas Schneider2011-10-271-1/+2
|
* config.h: define HAVE_LIBREPLACERusty Russell2011-10-131-0/+2
| | | | | | | | | 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
* replace: Check if we have mremap() availableSimo Sorce2011-08-141-0/+7
|
* libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner2011-03-041-0/+23
| | | | | | | | already used). Bjoern, Metze, please check. Guenther
* replace: Try to fix broken sys/capabilites.h on Linux.Stefan Metzmacher2011-02-031-0/+2
| | | | | | | | | | | | 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
* replace: cope with systems that have fdatasync(), but don't have the prototypeAndrew Tridgell2010-10-191-0/+1
| | | | this is needed for MacOSX 10.4.1
* libreplace: move detection of clock_gettime to libreplaceBjörn Jacke2010-08-311-0/+43
|
* tdb: add TDB_DEPS variable filled with required librariesBjörn Jacke2010-08-131-1/+7
| | | | | This is required for Solaris, which needs to link in librt to make use of fdatasync().
* libreplace: strerror_r() is needed by heimdal on solaris8Andrew Tridgell2010-03-261-1/+1
|
* replace: added get_current_dir_name()Andrew Tridgell2010-03-051-0/+1
|
* libreplace: Remove the obsolete signal type cast.Andreas Schneider2010-02-231-1/+0
| | | | | AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal handlers to return void, only K&R returned int.
* libreplace: add fdatasync() if not availableAndrew Tridgell2010-02-131-1/+1
|
* libreplace: added replacements for dprintf() and vdprintf()Andrew Tridgell2010-02-111-1/+1
| | | | | | these are very useful for writing files with formatted writes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libreplace: some systems don't have memmem()Andrew Tridgell2010-01-021-0/+2
| | | | added rep_memmem() and a testsuite
* Prepend "$libreplacedir/" to all objects in LIBREPLACEOBJMatt Kraai2009-09-141-1/+1
|
* make lib/replace more usable in standalone buildsAndrew Tridgell2009-08-241-2/+2
| | | | This makes the lib/replace m4 work in lib/talloc as a standalone build
* include unix.h if it's availableMatt Kraai2009-07-191-0/+1
|
* Only define waitpid replacement if wait4 is available. (It isn't onJelmer Vernooij2009-04-201-1/+1
| | | | Windows.)
* Move check for syslog out of libreplace to source3/ and source4/.Jelmer Vernooij2009-04-201-1/+1
| | | | This should help compiling talloc on Windows.
* Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij2008-11-011-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
| * Move sys_realpath() to libreplace.Jelmer Vernooij2008-11-011-1/+1
| |
| * Move sys_lchown() to libreplace.Jelmer Vernooij2008-11-011-1/+1
| |
| * Move sys_symlink() to libreplace.Jelmer Vernooij2008-11-011-1/+1
| |
| * Move sys_readlink() to libreplace.Jelmer Vernooij2008-11-011-1/+1
| |
| * Move sys_link to libreplace.Jelmer Vernooij2008-11-011-1/+1
| |
| * Move sys_chown() to rep_chown().Jelmer Vernooij2008-11-011-1/+1
| |
* | Use dup2() replacement from libreplace.Jelmer Vernooij2008-11-011-1/+1
|/
* Fix definition of environ on Mac OS X (bugzilla: #5412).Jelmer Vernooij2008-10-271-0/+1
|
* Remove duplicate check for volatile, move all utime-checks toJelmer Vernooij2008-10-271-2/+2
| | | | libreplace.
* Move ufc to libreplace.Jelmer Vernooij2008-10-181-0/+1
|
* Fix standalone builds adjusting to new relative path.Simo Sorce2008-09-191-2/+2
| | | | | | Add shared-build target to libreplace. Useful to build multiple standalone libraries that depend on each other without having to install them to the final install dir during the build.
* Move common libraries from root to lib/.Jelmer Vernooij2008-09-171-0/+308