Stefan Metzmacher
0922c5ab2d
Revert "socket-wrapper: not all systems have FIONREAD defined"
...
This reverts commit 710aa773d54509de34404f9992c5058ddfa45f3b.
We rely on FIONREAD in a lot of other parts in the code,
so there's no need to have an ifdef for it in the socket_wrapper code.
On tru64 FIONREAD is defined in <sys/ioctl.h>
and we include <sys/ioctl.h> via "system/network.h".
Tridge: maybe a HAVE_SYS_IOCTL_H was missing at the time you tried
it on tru64?
If we find a platform that doesn't support it,
we need to bail out at configure time or
provide a replacement in libreplace.
metze
2010-04-08 08:34:39 +02:00
Thomas Nagy
7f3116a63d
build: allow the waf build to work with python 3.0 and 3.1
...
Python 3.x is a bit fussier about print statements and indentation.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-08 07:46:39 +10:00
Jelmer Vernooij
0473926a5b
update-external: Support updating dnspython.
2010-04-07 22:53:38 +02:00
Jelmer Vernooij
c349aa3619
s4-python: Use standard infrastructure for finding included testtools, subunit and iso8601.
2010-04-07 00:29:28 +02:00
Andrew Tridgell
748ef2c865
s4-waf: don't need TOUCH_FILE() any more
2010-04-06 20:27:26 +10:00
Andrew Tridgell
64594f296c
s4-waf: replace TOUCH_FILE() with normal install rules
...
this allows it to work with 'waf uninstall'
2010-04-06 20:27:26 +10:00
Andrew Tridgell
7ae4372124
s4-waf: fixed waf distcheck for our standalone libs and s4
2010-04-06 20:27:26 +10:00
Andrew Tridgell
fe060c8f50
s4-waf: added simple 'waf test' support for tdb, talloc and ldb
2010-04-06 20:27:26 +10:00
Andrew Tridgell
ccfce0bbae
s4-waf: autogen-waf.sh for the standalone library builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
c8835f440a
s4-waf: use a common pattern for finding buildtools and libs
2010-04-06 20:27:25 +10:00
Andrew Tridgell
553324bc10
s4-waf: move to a universal method of recursing into subdirs
...
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
8dc8d31f4a
s4-waf: fixed finding of buildtools and srcdir
2010-04-06 20:27:25 +10:00
Andrew Tridgell
1883ee6dbc
s4-waf: avoid having to run waf configure before waf dist
...
This should be useful for building tarballs from a clean checkout
2010-04-06 20:27:25 +10:00
Andrew Tridgell
9e9e878e8f
s4-waf: allow standalone tarball build of libraries
2010-04-06 20:27:25 +10:00
Andrew Tridgell
528d7c7cf3
s4-waf: added 'waf dist' to our standalone libs as well
2010-04-06 20:27:25 +10:00
Andrew Tridgell
c8062fb65e
s4-waf: added 'waf dist' to build the tarball
2010-04-06 20:27:24 +10:00
Andrew Tridgell
2bf15566c6
talloc-waf: install talloc.pc if standalone
2010-04-06 20:27:24 +10:00
Andrew Tridgell
7aa3f08f85
build: fixed DESTDIR for TOUCH_FILE()
2010-04-06 20:27:24 +10:00
Andrew Tridgell
f01f74b2be
talloc-waf: match version number with main build
2010-04-06 20:27:23 +10:00
Andrew Tridgell
865e478e25
s4-waf: create a blank __init__.py in samba/external
...
needed for the external lib loader
2010-04-06 20:27:22 +10:00
Andrew Tridgell
9e52dc441e
s4-waf: fixed install location of external python libs
...
this merges with jelmers recent changes in master
2010-04-06 20:27:22 +10:00
Andrew Tridgell
fe0febcf30
s4-waf: added new install system for external python libs
2010-04-06 20:27:22 +10:00
Andrew Tridgell
b498378c8f
s4-waf: fixed some of the group ordering
...
We need to try to keep targets in the right groups
2010-04-06 20:27:18 +10:00
Andrew Tridgell
0a6a808113
s4-waf: add getaddrinfo.c replacement if needed
2010-04-06 20:27:18 +10:00
Andrew Tridgell
8e36daf513
s4-waf: added test for dlopen prototype
2010-04-06 20:27:18 +10:00
Andrew Tridgell
77a4fe495e
s4-waf: added a --enable-selftest option as a shortcut
...
This is equiavalent to --enable-uid-wrapper --enable-nss-wrapper --enable-socket-wrapper
but is easier to remember!
2010-04-06 20:27:17 +10:00
Andrew Tridgell
874e39cbf0
s4-waf: added implied_deps for system libraries
...
when we use a system version of a library such as talloc, then we
no longer get the automtica dependency propogation of talloc implying
libreplace. That means we don't get the includes for libreplace, which
means things can fail to build.
To fix this this change adds an implied_deps option to
CHECK_BUNDLED_SYSTEM(), which tells the samba_deps module to add an
implied dependency on the listed targets if the system library is
chosen.
2010-04-06 20:27:17 +10:00
Andrew Tridgell
b690fedef5
s4-waf: removed the AUTOGENERATED markers
...
we won't be using the mk -> wscript generator again
2010-04-06 20:27:16 +10:00
Andrew Tridgell
4256382094
talloc-waf: don't build the talloc testsuite in s4
...
its built into smbtorture already
2010-04-06 20:27:16 +10:00
Andrew Tridgell
a2b4d7e8eb
s4-waf: ensure we don't end up with mixed versions of talloc/tdb/tevent
2010-04-06 20:27:15 +10:00
Andrew Tridgell
7132248164
s4-waf: get the sense of the tests for the HAVE_INET_* replacements right
2010-04-06 20:27:14 +10:00
Andrew Tridgell
5d84194644
s4-waf: heimdal wants to look for dd_fd in DIR
2010-04-06 20:27:14 +10:00
Andrew Tridgell
3cc01226ec
s4-waf: more places missing libreplace
2010-04-06 20:27:14 +10:00
Andrew Tridgell
67a59c33fc
s4-waf: fixed dirfd() detection for heimdal
2010-04-06 20:27:14 +10:00
Andrew Tridgell
b0fb567f04
s4-waf: more dependencies on talloc
...
these are needed so we can support a system talloc without using the
bundled talloc.h
2010-04-06 20:27:13 +10:00
Andrew Tridgell
b9aa63887c
s4-waf: cleanup use of LIBPOPT vs popt dependency
2010-04-06 20:27:13 +10:00
Andrew Tridgell
bfbf43cc36
s4-waf: support the use of system libraries
...
distros can set --bundled-libraries=NONE to force use of all system
libraries. If the right version isn't found then configure will fail.
Users may choose which libraries to use from the system, and which to
use bundled libs. The default is to try system libs, and use them if
their version matches the one in the source tree.
2010-04-06 20:27:13 +10:00
Andrew Tridgell
01682f797f
s4-waf: fixed some deps now we don't auto-include tevent and replace
...
this is preparation for being able to use system versions of these
libraries
2010-04-06 20:27:12 +10:00
Andrew Tridgell
c2d17cf978
s4-waf: set default for bundled libraries
2010-04-06 20:27:12 +10:00
Andrew Tridgell
42c9380760
s4-waf: set the bundled library extension for some libs
2010-04-06 20:27:12 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
bd44f14d8f
s4-waf: enable the pc_files in the build rules
2010-04-06 20:27:10 +10:00
Andrew Tridgell
bd7bf0e1a9
s4-waf: install the rest of our python files
2010-04-06 20:27:10 +10:00
Andrew Tridgell
aa5e08eb83
s4-waf: install the rest of the headers
2010-04-06 20:27:09 +10:00
Andrew Tridgell
fe3cd6fb28
s4-waf: test/simple.c is not needed any more
2010-04-06 20:27:09 +10:00
Andrew Tridgell
03998d0970
s4-waf: started adding auto-install of include files
2010-04-06 20:27:09 +10:00
Andrew Tridgell
8b14d217c4
s4-waf: fdatasync is in librt on solaris8
2010-04-06 20:27:08 +10:00
Andrew Tridgell
cb9dbc055f
libreplace: add a replacement for strerror_r (needed on solaris8)
2010-04-06 20:27:08 +10:00
Andrew Tridgell
63f20e696e
s4-waf: look for libiconv before checking libc
...
This is needed for solaris8
2010-04-06 20:27:08 +10:00
Andrew Tridgell
eb4efc9eca
s4-waf: added checks for all the different statvfs varients
2010-04-06 20:27:07 +10:00