1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00
Commit Graph

46 Commits

Author SHA1 Message Date
Andrew Tridgell
fafa8c3e47 r18535: move the AC_CANONICAL_HOST and host specific flag tests into
libreplace. This should fix the standalone build of tdb on HPUX, where
we need to blacklist mmap.

Unfortunately this requires that we have a copy of config.guess and
config.sub in each of our project subdirectories. I tried to find a
way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just
put config.{guess,sub} in the lib/replace/ directory, but I couldn't
figure out how to do that in a way that kept autoconf happy for each
of our separate builds. Any autoconf guru out there see a way to do
this?
(This used to be commit 823cd3ab35)
2007-10-10 14:18:42 -05:00
Stefan Metzmacher
d08fb7b1cc r18485: include libreplace.m4 in the aclocal.m4 files
and use the macros in configure.ac

metze
(This used to be commit 95d33e4d71)
2007-10-10 14:18:36 -05:00
Stefan Metzmacher
3de6b469cc r18479: start hiding libreplace configure tests behind macros
AC_LIBREPLACE_CC_CHECKS
AC_LIBREPLACE_BROKEN_CHECKS
and
AC_LIBREPLACE_ALL_CHECKS
which calls the 2 others

I'll add some more, so that samba3/samba4 can later call
them in the wanted order and all standalone builds
use AC_LIBREPLACE_ALL_CHECKS.

metze
(This used to be commit e7a30456c7)
2007-10-10 14:18:36 -05:00
Stefan Metzmacher
8e65d33d7d r18474: - we don't need to explicit check stdint.h and inttypes.h
alsready done by autoconf magic
- display the sizes of all standard C types
- check for int64_t and uint64_t

metze
(This used to be commit 371a33a871)
2007-10-10 14:18:35 -05:00
Stefan Metzmacher
4e355095d1 r18472: - use STDC_HEADERS for stdlib.h and stddef.h as autoconf does
- AC_HEADERS_STDC is not explicit needed

metze
(This used to be commit 8f20d2cfe5)
2007-10-10 14:18:35 -05:00
Stefan Metzmacher
84a56aca15 r18465: much better fix for a roken specifiv problem
metze
(This used to be commit 1ae1e68fe9)
2007-10-10 14:18:34 -05:00
Stefan Metzmacher
4c0b19277a r18460: split out timegm test and only add timegm.o when needed
metze
(This used to be commit f9bff4dbda)
2007-10-10 14:18:33 -05:00
Stefan Metzmacher
c706319c8f r18458: move wins32 stuff to the top dir
metze
(This used to be commit 521e94f269)
2007-10-10 14:18:33 -05:00
Stefan Metzmacher
c564344766 r18451: move repdir/ into the top dir
metze
(This used to be commit a564194817)
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
0584c108db r18450: - autogenerate the OBJ_FILES for LIBREPLACE
- remove samba specific stuff from libreplace
- and include the readdir replacement stuff in the standalone builds

metze
(This used to be commit 3cac61152e)
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
e18547d489 r18445: splitout the dlfcn related tests
metze
(This used to be commit 8662e14815)
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
9768393b3b r18443: add object files only when needed
metze
(This used to be commit 5fddb66def)
2007-10-10 14:18:30 -05:00
Andrew Tridgell
a8c17f8ed3 r18407: test for epoll.h and select.h
(This used to be commit 3ddb77c1e3)
2007-10-10 14:18:24 -05:00
Stefan Metzmacher
497ca8527f 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
(This used to be commit aca8a3f8c0)
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
27964734a6 r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64
to get MAP_FAILED

metze
(This used to be commit 0f48c8ad7c)
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
d40dcaebda r18382: define _XOPEN_SOURCE to hopefully bring in MAP_FAILED in
sys/mman.h on Tru64

metze
(This used to be commit 8109eb9d28)
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
70028b82a9 r18381: make sure autoconf doesn't add '-O2' to CFLAGS
metze
(This used to be commit ec6365b5f1)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
3f51341528 r18378: try enabling _OSF_SOURCE to see if it fixes the tru64 build problems -
thanks to volker for the suggestion
(This used to be commit 03ed41515b)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
cb487062c8 r18359: better handling of child process killing in standard mode
(This used to be commit 3752cc2b57)
2007-10-10 14:18:18 -05:00
Andrew Tridgell
620a1488b3 r18350: we have to check for lstat() to keep roken happen on hpux
(This used to be commit e251c211f7)
2007-10-10 14:18:15 -05:00
Andrew Tridgell
a9aa66ab32 r18340: some HPUX boxes don't have ptrdiff_t
(This used to be commit f3b24ea48a)
2007-10-10 14:18:12 -05:00
Andrew Tridgell
5c104c1d2f r18339: need these checks for roken.h on hpux
(This used to be commit e98e0a28a0)
2007-10-10 14:18:12 -05:00
Andrew Tridgell
2e24543b21 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
(This used to be commit eb93fb8e54)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
3f8383cd61 r18335: more portable bool tests
(This used to be commit 45a3a6a566)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
fc8960ee9a r18332: added back in our shared mmap test code
(This used to be commit 6ff100b266)
2007-10-10 14:18:10 -05:00
Andrew Tridgell
594781270e r18289: don't check for inline till we've worked out the main compiler flags
(This used to be commit 46ab2b9971)
2007-10-10 14:18:02 -05:00
Andrew Tridgell
5c3c8e09f9 r18288: autoconf already has a C99 test builtin!
If this works well, we can remove our own test
(This used to be commit b4b028e65e)
2007-10-10 14:18:02 -05:00
Andrew Tridgell
55a760ddf3 r18284: enable _XOPEN_SOURCE_EXTENDED to fix a HP-UX bug with the definition
of sendfile()
(This used to be commit 3e0f262b38)
2007-10-10 14:18:01 -05:00
Andrew Tridgell
e6b457d550 r18283: libreplace.m4 needs to be early in configure.ac in other packages too
(This used to be commit 03f9c67c06)
2007-10-10 14:18:01 -05:00
Andrew Tridgell
c2387587cb r18280: more portability tidyups, ensuring we use libreplace everywhere
(This used to be commit 4860d02565)
2007-10-10 14:18:00 -05:00
Andrew Tridgell
f64b2474be r18278: move more header checks and _GNU_SOURCE into libreplace
(This used to be commit 77c442cd46)
2007-10-10 14:18:00 -05:00
Andrew Tridgell
afe2fde6fd r18221: moved more configure checks into lib/replace/
(This used to be commit d853dcfda7)
2007-10-10 14:17:52 -05:00
Andrew Tridgell
24f4b6eff2 r18219: move some more portability checks out of samba4 and info lib/replace
(This used to be commit 50318dc55e)
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
6150443532 r18152: move our AC macros into lib/replace/libreplace_macros.m4
and include them from there

metze
(This used to be commit 38f9e90a12)
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
e997a767aa r18145: rename cc_feature.m4 into libreplace_macros.m4
metze
(This used to be commit d0f40dd3e5)
2007-10-10 14:17:40 -05:00
Andrew Tridgell
a983b06d37 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)
(This used to be commit 77d1a468e0)
2007-10-10 14:17:36 -05:00
Jelmer Vernooij
3e11f4c061 r18127: Add macro AC_CHECK_DECL() for systems that don't have it.
(This used to be commit 589a1c2509)
2007-10-10 14:17:36 -05:00
Jelmer Vernooij
7e251d1f11 r18124: Keep right libs when looking for dl*() functions
(This used to be commit 12ce4cef2f)
2007-10-10 14:17:35 -05:00
Jelmer Vernooij
7619eff87d r18122: Fix warnings related to errno declaration.
(This used to be commit c30abc8e49)
2007-10-10 14:17:35 -05:00
Jelmer Vernooij
a59706f721 r18121: Simplify m4 code, hopefully fix Samba4 build problems.
(This used to be commit 1adf65b4d7)
2007-10-10 14:17:35 -05:00
Stefan Metzmacher
c2dfdbb64d r18093: check for the headers first and check all functions
metze
(This used to be commit 5bb8a5ce32)
2007-10-10 14:17:15 -05:00
Andrew Tridgell
0dd630cfa7 r18085: using m4_include() instead of sinclude() means we get an error if the
include fails - thats better than the compile failing mysteriously
(This used to be commit b4df3c7391)
2007-10-10 14:17:13 -05:00
Andrew Tridgell
81fdc61c11 r18084: we don't need the double sinclude() any more
(This used to be commit 2dab7886c1)
2007-10-10 14:17:13 -05:00
Andrew Tridgell
780b339656 r18079: fix for in-tree build with samba4 dir layout
(This used to be commit 8eccdc1cd1)
2007-10-10 14:17:12 -05:00
Andrew Tridgell
6e5beba866 r18078: these tests came from talloc
(This used to be commit 1e5e311233)
2007-10-10 14:17:12 -05:00
Andrew Tridgell
b70a7de802 r18074: config.m4 is now libreplace.m4
(This used to be commit b2e680500e)
2007-10-10 14:17:11 -05:00