summaryrefslogtreecommitdiff
path: root/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2009-05-16Fix linker flags on non-Linux GNU platforms.Samuel Thibault1-5/+5
(e.g. Debian GNU/kFreeBSD) Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-05-16Update copies of config.guess and config.sub.Jelmer Vernooij2-76/+282
2009-04-22Avoid using deprecated form of AC_CHECK_TYPE.Brad Hards2-3/+13
libreplace makes use of an older form of AC_CHECK_TYPE which basically provides a fallback definition for the type if it isn't available. http://www.gnu.org/software/hello/manual/autoconf/Obsolete-Macros.html#Obsolete-Macros shows why this isn't a good idea (its not so important, except for pointer types). This patch partly addresses the issue. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-20Error out at runtime when seteuid/setresuid or setegid/setresgid are notJelmer Vernooij1-2/+4
available. This means it's possible to compile libreplace when these functions are not available and use it, as long as this particular function is not used.
2009-04-20Only define waitpid replacement if wait4 is available. (It isn't onJelmer Vernooij3-2/+6
Windows.)
2009-04-20Cope with the fact that only _mkdir() exists on Windows and that itJelmer Vernooij3-0/+12
doesn't take a mode argument.
2009-04-20Move check for syslog out of libreplace to source3/ and source4/.Jelmer Vernooij2-1/+3
This should help compiling talloc on Windows.
2009-03-23libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGSMichael Adam1-2/+2
This fixes Samba3's double listing of -I options in CFLAGS, since samba3's configure wraps the call to AC_LIBREPLACE_NETWORK_CHECKS into a SAVE_CPPFLAGS="${CPPFLAGS}" .. CPPFLAGS="${SAVE_CPPFLAGS}" sequence... :-) Michael
2009-03-17build: fix detection of netinet/ip.h on FreeBSDTimur1-0/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17build: format the header check for netinet/ip.h more nicelyTimur1-6/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-16lib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() ↵Stefan Metzmacher1-1/+1
are available metze
2009-03-11lib/replace: make sure we include <sys/uio.h> before socket_wrapper.hStefan Metzmacher2-0/+5
This should fix the build on some hosts. metze
2009-02-26libreplace: make it possible to disable socket_wrapper via ↵Stefan Metzmacher1-2/+4
-DSOCKET_WRAPPER_DISABLE=1 metze
2009-02-23More warning fixes for Solaris.Jeremy Allison1-9/+0
Jeremy.
2009-02-23all BSDs use this evironment variableBjörn Jacke1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-02-11enable IPv6 support for NetBSD, FreeBSDBjörn Jacke1-0/+1
most systems include netinet/in.h via netdb.h but *BSD don't.
2009-01-31lib/replace: move MAXHOSTNAMELEN to system/network.hStefan Metzmacher2-13/+5
Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze
2009-01-30lib/replace: check if we have dirfd()Stefan Metzmacher1-0/+3
Note: we only use this internally and don't replace it by default. metze
2009-01-27libreplace: fix detection of netinet/ip.h on solaris 8Michael Adam1-1/+5
(The test needs to additionally include <netinet/in_systm.h>.) Michael
2009-01-27libreplace: fix bug #6066 - netinet/ip.h present but cannot be compiledMichael Adam1-1/+4
under solaris Michael
2009-01-22lib/replace: add defines to let the callers find out if pwrite and pread are ↵Stefan Metzmacher1-0/+6
thread/fork safe metze
2009-01-02Fix warnings in make test code.Jeremy Allison1-2/+6
Jeremy.
2008-12-23ldb: Fix linking against tevent library (rather than events)Jelmer Vernooij1-0/+1
replace: Fix copyright for dlfcn.c.
2008-11-26Fix circular dependency error with autoconf 2.6.3.Andreas Schneider1-0/+2
Signed-off-by: Andreas Schneider <anschneider@suse.de>
2008-11-02Samba3: Remove more configure tests already done by libreplace.Jelmer Vernooij1-1/+9
2008-11-01Fix return type of readlink().Jelmer Vernooij1-1/+1
2008-11-01Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij4-1/+94
Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
2008-11-01Use dup2() replacement from libreplace.Jelmer Vernooij4-1/+16
2008-11-01Remove sys_chroot() - libreplace already provides an alternative.Jelmer Vernooij2-2/+5
2008-11-01Move sys_realpath() to libreplace.Jelmer Vernooij4-1/+18
2008-11-01Move sys_lchown() to libreplace.Jelmer Vernooij4-1/+14
2008-11-01Move sys_symlink() to libreplace.Jelmer Vernooij4-1/+16
2008-11-01Move sys_readlink() to libreplace.Jelmer Vernooij4-1/+14
2008-11-01Move sys_link to libreplace.Jelmer Vernooij4-1/+15
2008-11-01Move sys_chown() to rep_chown().Jelmer Vernooij4-1/+20
2008-10-27Fix definition of environ on Mac OS X (bugzilla: #5412).Jelmer Vernooij2-0/+10
2008-10-27Remove duplicate check for volatile, move all utime-checks toJelmer Vernooij2-2/+6
libreplace.
2008-10-21Fix AC_SEARCH_LIBS_EXT() usage.Jelmer Vernooij1-3/+2
2008-10-20Fix crypto test.Jelmer Vernooij1-1/+1
2008-10-20Don't assume crypt.h is present even if crypt() is.Jelmer Vernooij2-0/+3
2008-10-19Use _EXT version of autoconf macro.Jelmer Vernooij1-1/+1
2008-10-19Make sure crypt libs get included.Jelmer Vernooij1-1/+1
2008-10-18Move ufc to libreplace.Jelmer Vernooij4-0/+784
2008-10-14Define inttypes macros if not provided by system.Jelmer Vernooij1-0/+48
2008-10-14Define __STDC_FORMAT_MACROS, required for PRIu64 define (among others)Jelmer Vernooij1-0/+1
from inttypes.h.
2008-09-22libreplace: move main() out of testsuite.cStefan Metzmacher3-12/+38
metze
2008-09-19Fix standalone builds adjusting to new relative path.Simo Sorce5-6/+31
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.
2008-09-17Fix merged build.Jelmer Vernooij1-0/+2
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij65-0/+14655