summaryrefslogtreecommitdiffstats
path: root/lib/replace
Commit message (Collapse)AuthorAgeFilesLines
* Update copies of config.guess and config.sub. (cherry picked from commit ↵Jelmer Vernooij2009-09-092-76/+282
| | | | | | 6230eb94af2305f479db3b76479a0dc841c3d1d5) (cherry picked from commit c20026a9afe1527f6442e8eedf669d199d8cdb26)
* libreplace: undef AI_ADDRCONFIG on QNX 6.3.0 (fix bug #6630)Matt Kraai2009-08-171-0/+14
| | | | | | | | | | | | | | | Some of the functions in source3/lib/util_sock.c use AI_ADDRCONFIG. On QNX 6.3.0, this macro is defined but, if it's used, getaddrinfo will fail. This prevents smbd from opening any sockets. If I undefine AI_ADDRCONFIG on such systems and allow lib/replace/system/network.h to define it to be 0, this works around the issue. Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 91d13b68be55728a85b3832e2da9267dbf4f2464) Fixes bug #6630. (cherry picked from commit 3be12b15f1758b54456d49368dbca7f25a99f4cc)
* libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGSMichael Adam2009-04-151-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 (cherry picked from commit 33d9f46674a270a0715213c17581deef192826e1) (cherry picked from commit cf43aadee5cd70597d5dc6750bff4486ed768204)
* build: fix detection of netinet/ip.h on FreeBSDTimur2009-04-151-0/+1
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit a3d04991ef409591a7c8b9fbb01e024bd5aaa041) (cherry picked from commit 28f233ddc010893f50b45f91ce41deaa537f11d7)
* build: format the header check for netinet/ip.h more nicelyTimur2009-04-151-6/+8
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit e8aa7169a6672bd32af6c5580f6e8ec7e99511bc) (cherry picked from commit 46559e7b84d70f7c9e52673365303d0f7863d839)
* lib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() ↵Stefan Metzmacher2009-04-151-1/+1
| | | | | | | | are available metze (cherry picked from commit 099d6f05cdb0800114d026786920a17ef649699f) (cherry picked from commit 5587e0d17aa5fe56337fbede9e3db11fe2b24c88)
* lib/replace: make sure we include <sys/uio.h> before socket_wrapper.hStefan Metzmacher2009-03-112-0/+5
| | | | | | This should fix the build on some hosts. metze
* libreplace: make it possible to disable socket_wrapper via ↵Stefan Metzmacher2009-02-261-2/+4
| | | | | | -DSOCKET_WRAPPER_DISABLE=1 metze
* More warning fixes for Solaris.Jeremy Allison2009-02-231-9/+0
| | | | Jeremy.
* all BSDs use this evironment variableBjörn Jacke2009-02-231-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* enable IPv6 support for NetBSD, FreeBSDBjörn Jacke2009-02-111-0/+1
| | | | most systems include netinet/in.h via netdb.h but *BSD don't.
* lib/replace: move MAXHOSTNAMELEN to system/network.hStefan Metzmacher2009-01-312-13/+5
| | | | | | | Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze
* lib/replace: check if we have dirfd()Stefan Metzmacher2009-01-301-0/+3
| | | | | | Note: we only use this internally and don't replace it by default. metze
* libreplace: fix detection of netinet/ip.h on solaris 8Michael Adam2009-01-271-1/+5
| | | | | | (The test needs to additionally include <netinet/in_systm.h>.) Michael
* libreplace: fix bug #6066 - netinet/ip.h present but cannot be compiledMichael Adam2009-01-271-1/+4
| | | | | | under solaris Michael
* lib/replace: add defines to let the callers find out if pwrite and pread are ↵Stefan Metzmacher2009-01-221-0/+6
| | | | | | thread/fork safe metze
* Fix warnings in make test code.Jeremy Allison2009-01-021-2/+6
| | | | Jeremy.
* ldb: Fix linking against tevent library (rather than events)Jelmer Vernooij2008-12-231-0/+1
| | | | replace: Fix copyright for dlfcn.c.
* Fix circular dependency error with autoconf 2.6.3.Andreas Schneider2008-11-261-0/+2
| | | | Signed-off-by: Andreas Schneider <anschneider@suse.de>
* Samba3: Remove more configure tests already done by libreplace.Jelmer Vernooij2008-11-021-1/+9
|
* Fix return type of readlink().Jelmer Vernooij2008-11-011-1/+1
|
* Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij2008-11-014-1/+94
|\ | | | | | | | | | | | | | | | | Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
| * Remove sys_chroot() - libreplace already provides an alternative.Jelmer Vernooij2008-11-012-2/+5
| |
| * Move sys_realpath() to libreplace.Jelmer Vernooij2008-11-014-1/+18
| |
| * Move sys_lchown() to libreplace.Jelmer Vernooij2008-11-014-1/+14
| |
| * Move sys_symlink() to libreplace.Jelmer Vernooij2008-11-014-1/+16
| |
| * Move sys_readlink() to libreplace.Jelmer Vernooij2008-11-014-1/+14
| |
| * Move sys_link to libreplace.Jelmer Vernooij2008-11-014-1/+15
| |
| * Move sys_chown() to rep_chown().Jelmer Vernooij2008-11-014-1/+20
| |
* | Use dup2() replacement from libreplace.Jelmer Vernooij2008-11-014-1/+16
|/
* Fix definition of environ on Mac OS X (bugzilla: #5412).Jelmer Vernooij2008-10-272-0/+10
|
* Remove duplicate check for volatile, move all utime-checks toJelmer Vernooij2008-10-272-2/+6
| | | | libreplace.
* Fix AC_SEARCH_LIBS_EXT() usage.Jelmer Vernooij2008-10-211-3/+2
|
* Fix crypto test.Jelmer Vernooij2008-10-201-1/+1
|
* Don't assume crypt.h is present even if crypt() is.Jelmer Vernooij2008-10-202-0/+3
|
* Use _EXT version of autoconf macro.Jelmer Vernooij2008-10-191-1/+1
|
* Make sure crypt libs get included.Jelmer Vernooij2008-10-191-1/+1
|
* Move ufc to libreplace.Jelmer Vernooij2008-10-184-0/+784
|
* Define inttypes macros if not provided by system.Jelmer Vernooij2008-10-141-0/+48
|
* Define __STDC_FORMAT_MACROS, required for PRIu64 define (among others)Jelmer Vernooij2008-10-141-0/+1
| | | | from inttypes.h.
* libreplace: move main() out of testsuite.cStefan Metzmacher2008-09-223-12/+38
| | | | metze
* Fix standalone builds adjusting to new relative path.Simo Sorce2008-09-195-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.
* Fix merged build.Jelmer Vernooij2008-09-171-0/+2
|
* Move common libraries from root to lib/.Jelmer Vernooij2008-09-1765-0/+14655