Andrew Tridgell
ff9f972d55
build: added public_headers support
2010-04-06 20:26:35 +10:00
Andrew Tridgell
a3421fe6e9
build: added BUILD_SUBDIR() wrapper
2010-04-06 20:26:35 +10:00
Andrew Tridgell
5393e6c9d2
build: recognise manpages keyword
2010-04-06 20:26:35 +10:00
Andrew Tridgell
73634d6ff3
build: added autoproto stub
2010-04-06 20:26:35 +10:00
Andrew Tridgell
b1d24c7a8f
build: put config.h in top dir by default
2010-04-06 20:26:35 +10:00
Andrew Tridgell
1cfc330156
build: allow override of config.h location
2010-04-06 20:26:35 +10:00
Andrew Tridgell
186e7115ab
build: more developer flags
2010-04-06 20:26:35 +10:00
Andrew Tridgell
13cbd9f919
build: s4 wants config.h in include/
2010-04-06 20:26:35 +10:00
Andrew Tridgell
4ed59b826c
build: add dummy flags for auto-generated scripts
2010-04-06 20:26:34 +10:00
Andrew Tridgell
9a1cd09a10
build: added ADD_CFLAGS() and started of Samba4 build
2010-04-06 20:26:34 +10:00
Andrew Tridgell
7723519cf7
build: SAMBA_BUILD_ENV() is now in conf.*
2010-04-06 20:26:34 +10:00
Andrew Tridgell
bf4f9962f6
build: moved lib -> shared
...
- remove lib dep creation, it's done by waf
2010-04-06 20:26:34 +10:00
Andrew Tridgell
2b5a1cc70c
build: added waf build rules for ldb
2010-04-06 20:26:34 +10:00
Andrew Tridgell
635a7ce6c1
build: some more config checks
2010-04-06 20:26:34 +10:00
Andrew Tridgell
45d23d1f53
build: added recursive library handling
2010-04-06 20:26:34 +10:00
Andrew Tridgell
04aa584c02
build: added target directory options
2010-04-06 20:26:34 +10:00
Andrew Tridgell
8f062f4a0f
build: neater way to find libreplace and start on tevent waf build
2010-04-06 20:26:33 +10:00
Andrew Tridgell
f5d85a31d9
build: added some comments for tdb build
2010-04-06 20:26:33 +10:00
Andrew Tridgell
5c103b484f
build: renamed autoconf.py to wafsamba.py and added SAMBA_*() functions
2010-04-06 20:26:33 +10:00
Andrew Tridgell
34b77a15d3
build: updates to waf scripts for replace and talloc
2010-04-06 20:26:33 +10:00
Andrew Tridgell
9757da515d
build: a first attempt at waf build for talloc and libreplace
...
very rough so far
2010-04-06 20:26:33 +10:00
Kai Blin
b1192bbfc9
lib/replace: Don't use StrnCpy inside crypt.c
...
With this and the int32_t/int64_t change, talloc crossbuilds to android
2010-04-04 13:51:02 +02:00
Kai Blin
781a0c0846
lib/replace: use correct inttypes in crypt.c
...
This makes the android crossbuild slightly less broken.
2010-04-04 13:42:15 +02:00
Andrew Tridgell
08e0d94fae
replace: allow memmem() with an empty string to return NULL
...
This is how FreeBSD behaves. We don't rely on it returning the string
in Samba.
2010-03-30 20:34:17 +11:00
Andrew Tridgell
686221eae2
s4-waf: use the libreplace strerror_r if needed
2010-03-29 21:34:29 +11:00
Andrew Tridgell
c81d2ae3c9
libreplace: strerror_r() is needed by heimdal on solaris8
2010-03-26 16:50:48 +11:00
Andrew Tridgell
a599319d0a
libreplace: fixed declaration of dprintf() on FreeBSD
2010-03-24 07:11:38 +01:00
Andrew Tridgell
f3c738f819
replace: added get_current_dir_name()
2010-03-05 23:07:32 +11:00
Andreas Schneider
13e2f5f971
libreplace: Remove the obsolete signal type cast.
...
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal
handlers to return void, only K&R returned int.
2010-02-23 12:23:45 +01:00
Brad Hards
198b17abf0
Spelling fixes for libreplace.
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-22 21:45:34 +01:00
Andrew Tridgell
f435538576
libreplace: add fdatasync() if not available
2010-02-13 22:36:11 +11:00
Andrew Tridgell
d6fb64c512
libreplace: added replacements for dprintf() and vdprintf()
...
these are very useful for writing files with formatted writes
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-02-11 21:04:13 +11:00
Stefan Metzmacher
02320cb0e2
libreplace: add check for NSS_WRAPPER_DISABLE similar to SOCKET_WRAPPER_DISABLE
...
metze
2010-02-08 09:59:23 +01:00
Volker Lendecke
6e7bcaa878
libreplace: Attempt to fix bug 5910, detect a broken getaddrinfo
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-08 09:59:20 +01:00
Matt Kraai
a2c95a5d96
Change uint_t to unsigned int in lib/replace
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02 07:18:16 +01:00
Björn Jacke
e87adf523b
Revert "libreplace: fix unused varibale warning on IRIX"
...
this one was broken
2010-01-26 01:16:37 +01:00
Björn Jacke
b6839e1bfd
libreplace: fix unused varibale warning on IRIX
2010-01-26 00:19:10 +01:00
Volker Lendecke
a771c184b1
libreplace: Fix a C++ warning
2010-01-23 14:35:38 +01:00
Lars Müller
9e318129e0
Work around bad use of autoconf interna
...
Merge fix made by Andreas Schwab <schwab@linux-m68k.org>. This change
had been in use by SUSE since 2008-07-03.
2010-01-18 11:49:01 +01:00
Andrew Tridgell
fef3c910da
libreplace: some systems don't have memmem()
...
added rep_memmem() and a testsuite
2010-01-02 10:08:12 +11:00
Peter Rosin
590f7c262d
Output %p as unsigned in snprintf replacement.
2009-12-19 19:43:52 +01:00
Andrew Tridgell
6dfd10f476
libreplace: added likely()/unlikely() macros for gcc
...
These macros allow the compile to better optimise code that has a lot
of if statements. I particularly want to use this for our low level
generated NDR code.
2009-09-17 15:19:25 -07:00
Björn Jacke
8703d9f5bf
libreplace: white space cleanups
2009-09-15 20:26:24 +02:00
Matt Kraai
bd40feb1eb
Prepend "$libreplacedir/" to all objects in LIBREPLACEOBJ
2009-09-14 22:08:12 +02:00
Andrew Tridgell
2c846058ff
LIBREPLACEOBJ now contains the full path
2009-08-24 16:30:00 +10:00
Andrew Tridgell
39cd5bbb33
make lib/replace more usable in standalone builds
...
This makes the lib/replace m4 work in lib/talloc as a standalone build
2009-08-24 16:30:00 +10:00
Andrew Tridgell
a5358402b2
fixed getpass m4
...
This allows the getpass.m4 code to work in standalone talloc builds
2009-08-24 16:30:00 +10:00
Matt Kraai
91d13b68be
libreplace: undef AI_ADDRCONFIG on QNX 6.3.0 (fix bug #6630 )
...
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>
2009-08-12 13:27:39 +02:00
Matt Kraai
e1a95e7961
libreplace: set SONAMEFLAG to "-Wl,-soname=" on QNX
2009-08-08 11:18:29 +02:00
Matt Kraai
dbedfc318e
include unix.h if it's available
2009-07-19 15:59:03 +02:00