Stefan Metzmacher
8f20d2cfe5
r18472: - use STDC_HEADERS for stdlib.h and stddef.h as autoconf does
...
- AC_HEADERS_STDC is not explicit needed
metze
2007-10-10 14:18:35 -05:00
Stefan Metzmacher
1ae1e68fe9
r18465: much better fix for a roken specifiv problem
...
metze
2007-10-10 14:18:34 -05:00
Stefan Metzmacher
f9bff4dbda
r18460: split out timegm test and only add timegm.o when needed
...
metze
2007-10-10 14:18:33 -05:00
Stefan Metzmacher
521e94f269
r18458: move wins32 stuff to the top dir
...
metze
2007-10-10 14:18:33 -05:00
Stefan Metzmacher
a564194817
r18451: move repdir/ into the top dir
...
metze
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
3cac61152e
r18450: - autogenerate the OBJ_FILES for LIBREPLACE
...
- remove samba specific stuff from libreplace
- and include the readdir replacement stuff in the standalone builds
metze
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
8662e14815
r18445: splitout the dlfcn related tests
...
metze
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
5fddb66def
r18443: add object files only when needed
...
metze
2007-10-10 14:18:30 -05:00
Andrew Tridgell
3ddb77c1e3
r18407: test for epoll.h and select.h
2007-10-10 14:18:24 -05:00
Stefan Metzmacher
aca8a3f8c0
r18388: remove _XOPEN_SOURCE it causes trouble on BSD and IRIX
...
I need to find a way to define it only on Tru64 maybe.
metze
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
0f48c8ad7c
r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64
...
to get MAP_FAILED
metze
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
8109eb9d28
r18382: define _XOPEN_SOURCE to hopefully bring in MAP_FAILED in
...
sys/mman.h on Tru64
metze
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
ec6365b5f1
r18381: make sure autoconf doesn't add '-O2' to CFLAGS
...
metze
2007-10-10 14:18:21 -05:00
Andrew Tridgell
03ed41515b
r18378: try enabling _OSF_SOURCE to see if it fixes the tru64 build problems -
...
thanks to volker for the suggestion
2007-10-10 14:18:21 -05:00
Andrew Tridgell
3752cc2b57
r18359: better handling of child process killing in standard mode
2007-10-10 14:18:18 -05:00
Andrew Tridgell
e251c211f7
r18350: we have to check for lstat() to keep roken happen on hpux
2007-10-10 14:18:15 -05:00
Andrew Tridgell
f3b24ea48a
r18340: some HPUX boxes don't have ptrdiff_t
2007-10-10 14:18:12 -05:00
Andrew Tridgell
e98e0a28a0
r18339: need these checks for roken.h on hpux
2007-10-10 14:18:12 -05:00
Andrew Tridgell
eb93fb8e54
r18336: autoconf tries to force on C89 mode on HP-UX, using the -Ae
...
flag. Unfortunately that flag conflicts with the -AC99 flag, and we
get lots of breakage.
This is a trick to force off the -Ae option
2007-10-10 14:18:11 -05:00
Andrew Tridgell
45a3a6a566
r18335: more portable bool tests
2007-10-10 14:18:11 -05:00
Andrew Tridgell
6ff100b266
r18332: added back in our shared mmap test code
2007-10-10 14:18:10 -05:00
Andrew Tridgell
46ab2b9971
r18289: don't check for inline till we've worked out the main compiler flags
2007-10-10 14:18:02 -05:00
Andrew Tridgell
b4b028e65e
r18288: autoconf already has a C99 test builtin!
...
If this works well, we can remove our own test
2007-10-10 14:18:02 -05:00
Andrew Tridgell
3e0f262b38
r18284: enable _XOPEN_SOURCE_EXTENDED to fix a HP-UX bug with the definition
...
of sendfile()
2007-10-10 14:18:01 -05:00
Andrew Tridgell
03f9c67c06
r18283: libreplace.m4 needs to be early in configure.ac in other packages too
2007-10-10 14:18:01 -05:00
Andrew Tridgell
4860d02565
r18280: more portability tidyups, ensuring we use libreplace everywhere
2007-10-10 14:18:00 -05:00
Andrew Tridgell
77c442cd46
r18278: move more header checks and _GNU_SOURCE into libreplace
2007-10-10 14:18:00 -05:00
Andrew Tridgell
d853dcfda7
r18221: moved more configure checks into lib/replace/
2007-10-10 14:17:52 -05:00
Andrew Tridgell
50318dc55e
r18219: move some more portability checks out of samba4 and info lib/replace
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
38f9e90a12
r18152: move our AC macros into lib/replace/libreplace_macros.m4
...
and include them from there
metze
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
d0f40dd3e5
r18145: rename cc_feature.m4 into libreplace_macros.m4
...
metze
2007-10-10 14:17:40 -05:00
Andrew Tridgell
77d1a468e0
r18129: moved the system includes into libreplace - this gives much more
...
isolation of our portability environment from the main code, and also
simplifies the includes system (no separate #ifdef _SAMBA_BUILD for
tdb. ldb etc now)
2007-10-10 14:17:36 -05:00
Jelmer Vernooij
589a1c2509
r18127: Add macro AC_CHECK_DECL() for systems that don't have it.
2007-10-10 14:17:36 -05:00
Jelmer Vernooij
12ce4cef2f
r18124: Keep right libs when looking for dl*() functions
2007-10-10 14:17:35 -05:00
Jelmer Vernooij
c30abc8e49
r18122: Fix warnings related to errno declaration.
2007-10-10 14:17:35 -05:00
Jelmer Vernooij
1adf65b4d7
r18121: Simplify m4 code, hopefully fix Samba4 build problems.
2007-10-10 14:17:35 -05:00
Stefan Metzmacher
5bb8a5ce32
r18093: check for the headers first and check all functions
...
metze
2007-10-10 14:17:15 -05:00
Andrew Tridgell
b4df3c7391
r18085: using m4_include() instead of sinclude() means we get an error if the
...
include fails - thats better than the compile failing mysteriously
2007-10-10 14:17:13 -05:00
Andrew Tridgell
2dab7886c1
r18084: we don't need the double sinclude() any more
2007-10-10 14:17:13 -05:00
Andrew Tridgell
8eccdc1cd1
r18079: fix for in-tree build with samba4 dir layout
2007-10-10 14:17:12 -05:00
Andrew Tridgell
1e5e311233
r18078: these tests came from talloc
2007-10-10 14:17:12 -05:00
Andrew Tridgell
b2e680500e
r18074: config.m4 is now libreplace.m4
2007-10-10 14:17:11 -05:00