summaryrefslogtreecommitdiffstats
path: root/lib/replace
Commit message (Collapse)AuthorAgeFilesLines
* libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett2011-04-141-105/+5
| | | | | | | | | This requires a small rework of the build system to ensure that the correct #define statements are made in both the s3 and top level builds. We now define the various HAVE_ macros in config.h at all times, using heimdal_build/wscript_configure when that is in use. Andrew Bartlett
* lib/replace/test: Add missing include for prototype.Jelmer Vernooij2011-03-191-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 19 16:45:56 CET 2011 on sn-devel-104
* libreplace: Fix prototypes for all functions.Jelmer Vernooij2011-03-194-1/+8
|
* libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner2011-03-043-0/+31
| | | | | | | | already used). Bjoern, Metze, please check. Guenther
* libreplace: poll based on selectVolker Lendecke2011-02-285-0/+182
|
* 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>
* replace: Add missing eval to m4 scriptSumit Bose2011-02-101-2/+2
| | | | | Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 16:14:21 CET 2011 on sn-devel-104
* waf: add clock_gettime clock ID checks to libreplace wscript.Günther Deschner2011-02-071-1/+17
| | | | Guenther
* build: removed the old autogen.sh and autogen-waf.sh scriptsAndrew Tridgell2011-02-072-12/+0
| | | | | | | for the builds that use waf only, these are no longer needed and just cause confusion Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* replace: Try to fix broken sys/capabilites.h on Linux.Stefan Metzmacher2011-02-033-1/+10
| | | | | | | | | | | | 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-033-6/+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-023-1/+6
| | | | | | | | 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
* waf: ensure "make dist" works from a clean git tree for all librariesAndrew Tridgell2011-01-081-2/+4
| | | | | | | this uses a temporary waf lock file to force the build directory Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Jan 8 02:35:22 CET 2011 on sn-devel-104
* lib/replace/testsuite.c - fix test outputMatthias Dieter Wallnöfer2010-12-231-1/+1
|
* 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
|
* replace: add comments to make the #ifdef/#else/endif more readableMatthieu Patou2010-12-121-3/+3
|
* 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
* build: a more portable way of finding waf in makefilesAndrew Tridgell2010-11-031-3/+1
| | | | | | | this avoids using the non-portable shell command in makefiles Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104
* 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/talloc: Avoid automatically pulling in new configure/Makefile,Jelmer Vernooij2010-10-311-6/+0
| | | | | | | as these files are checked in, and the source might not be available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 22:27:56 UTC 2010 on sn-devel-104
* replace: Look harder for waf.Jelmer Vernooij2010-10-311-1/+8
|
* replace: Build using waf by default.Jelmer Vernooij2010-10-315-14/+108
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:45:21 UTC 2010 on sn-devel-104
* 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-302-1/+10
| | | | | | 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
* replace: restore the order for #define + rep_strtollMatthieu Patou2010-10-261-3/+3
|
* waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij2010-10-231-1/+1
|
* lib/replace: use snprintf() in test code to avoid warnings in the IBM-CheckerStefan Metzmacher2010-10-231-2/+2
| | | | metze
* lib/replace: fix rep_strtoull() prototypeStefan Metzmacher2010-10-232-3/+3
| | | | metze
* 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-223-2/+77
|
* 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-193-1/+7
| | | | this is needed for MacOSX 10.4.1
* libreplace: fix endless strerror_r has been redefined warnings on AIXBjörn Jacke2010-09-221-0/+1
|
* libreplace: use CLOCK_HIGHRES when availableBjörn Jacke2010-09-141-3/+5
| | | | in Solaris 8 CLOCK_HIGHRES was the (only) name for CLOCK_MONOTONIC
* 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
* libreplace: clock_gettime sets errnoBjörn Jacke2010-09-101-1/+2
|
* replace/waf: add rt to deps at this placeBjörn Jacke2010-08-311-1/+1
|