summaryrefslogtreecommitdiff
path: root/source4/lib/replace/libreplace.m4
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r25864: libreplace: we should only have one location where we check for ↵Stefan Metzmacher1-4/+1
required functions metze (This used to be commit 8748516d1668c66663ded50ff28a8d32f1720175)
2007-12-21r25846: Add configure test for -Wl,--export-dynamic.Jelmer Vernooij1-0/+1
(This used to be commit f67040d2a0cb8723f1bf0e9a9d90a821b38697b1)
2007-12-21r25726: [libreplace] move and fix getaddrinfo configure checksStefan Metzmacher1-30/+1
- move getaddrinfo check into getaddrinfo.m4 - add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements metze (This used to be commit b594d9c9fa86249e3d3988702a2333460cd70436)
2007-12-21r25695: [libreplace] fix the standalone build of libreplaceStefan Metzmacher1-27/+12
all configure results which are used in replace.h or any system/*.h should be in the in the libreplace *.m4 files! metze (This used to be commit 95462d614d68a93e85232e3a779f8bfa86fba4d1)
2007-10-10r25586: Fix getaddrinfo detection - from Timur.Jeremy Allison1-1/+9
Jeremy. (This used to be commit 48819012f81167f07d2e909329432d2ef222b1bf)
2007-10-10r25558: Define HAVE_* for other gai functions to prevent problems with libroken.Jelmer Vernooij1-0/+2
(This used to be commit e09828a634bf10bda9c6f28b18106c2bcab84643)
2007-10-10r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, ↵Jelmer Vernooij1-1/+42
getnameinfo (and friends) from SAMBA_3_2, with some minor tweaks: - avoid including network headers in replace.h unless absolutely required - autoconf tests for getaddrinfo() in lib/replace The heimdal-specific code also no longer looks for these functions anymore. (This used to be commit b6d3fd84a5d7d814035e60d6fa22f19bed9f77da)
2007-10-10r25219: remove unused check for precompiled headers.Jelmer Vernooij1-11/+0
(This used to be commit 17c92c091d9b9eb7f6a4cf1f263533f235d6717f)
2007-10-10r24868: Don't use callbacks for prompting when stdout is not a tty.Jelmer Vernooij1-0/+1
(This used to be commit 9b02a39c156862f9e9258dcdb9b8b86715022fc1)
2007-10-10r23237: update lib/replace from ctdbAndrew Tridgell1-1/+1
(This used to be commit 361c5995bcf1dafb89f935ac4183dc295e1d524d)
2007-10-10r23188: revert 23123 and 23118.Stefan Metzmacher1-1/+0
as a long term solution this was the correct approach, but it's a bit more complex and we need to provide the whole socket api and libnsl.so checking in libreplace... as a short term solution to fix the build on host 'hape' we'll use the same trick as with inet_aton.c from heimdal's lib/roken/ metze (This used to be commit 0e88e2e46199d8ea64dd42c4c8b86d64ce5c2d04)
2007-10-10r23118: Make inet_pton and inet_ntop available through lib/replace.Michael Adam1-0/+1
The code for inet_pton.c and inet_ntop.c is taken from the rsync code. I will put this into 3_0 and 3_0_26 too, but let's sort the readahead issue in lib/replace of 3_0 first... Michael (This used to be commit 9781b13fd3e0c2a0aa66412c571f562c9f17dcbe)
2007-10-10r22598: Simplify includes for replace.Jelmer Vernooij1-0/+1
(This used to be commit e72cec408e832e0f6ce05c38febdd56de501dbf7)
2007-10-10r22263: use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0Stefan Metzmacher1-1/+1
and #ifndef doesn't work. metze (This used to be commit 99125fe76a115b237e18c6a8b73e4adffc5ffb8d)
2007-10-10r22250: try to fix the build on aix1 in the farmStefan Metzmacher1-0/+2
metze (This used to be commit 0a04ed570b125be1716628136f87f0244ad12f72)
2007-10-10r22215: add strptime replacement to libreplace based on the patchStefan Metzmacher1-0/+1
from jojowil@hvcc.edu to bug 4063 also add a testsuite for strptime() metze (This used to be commit aba64521707143e6505b3322c390882a918a148a)
2007-10-10r22152: merge from samba3:Stefan Metzmacher1-3/+2
remove netgr functions from libreplace they're not used in samba4 currently and samba3 has explicit configure checks for them. should fix bug #4496 metze (This used to be commit dd83a8dad8ad89a1485598fa6e11c9128d04e6d7)
2007-10-10r21793: add replacement for unsetenv()Stefan Metzmacher1-1/+2
metze (This used to be commit d6de7f2cda70cfd55f0f7fbb9f3b93a5a58c6f51)
2007-10-10r21302: Provide simple redirecting headers for standard headers.Jelmer Vernooij1-1/+4
(This used to be commit 74c47839536c9ccfa1240289d20df65d9d13839d)
2007-10-10r20816: merge from samba3:Stefan Metzmacher1-0/+1
include setjmp.h via system/wait.h metze (This used to be commit 1b10cbb62950693760d4af6ab8691a4ba70908c9)
2007-10-10r20788: - remove epoll configure checks from libreplaceStefan Metzmacher1-3/+0
- fix epoll configure checks for the epoll and aio events backends - we should only activate the epoll backend if sys/epoll.h and epoll_create() are found - we should only activate the aio backend if sys/epoll.h, epoll_create(), libaio.h and io_getevents() are found hopefully fix the build on 'bnhtest' in the build farm... metze (This used to be commit d46a5efb03ea1df50567cad00e1589870cdb31fe)
2007-10-10r19347: Add socketpair()Jelmer Vernooij1-1/+1
(This used to be commit 8a8e974d2150d00855ccafef02b7ef2607921ea0)
2007-10-10r19234: fix configure test for net/if.h for some platformsStefan Metzmacher1-2/+2
AC_LANG_SOURCE() causes to have the content of confdefs.h in front of the file that will be compiled metze (This used to be commit cd03738e7c5610c4a0cb1161b9bcee5d7c88322d)
2007-10-10r19227: - add a AC_CACHE_CHECK() around the net/if.h testStefan Metzmacher1-16/+15
to see (we now get some output that this test happens at all...). - make use of AC_INCLUDES_DEFAULT metze (This used to be commit 7e399e607c8e9bf7365de7d492d29377177cdc1f)
2007-10-10r18769: Re-enable __VA_ARGS__ test (but don't make it fatal)Jelmer Vernooij1-4/+4
(This used to be commit cc8c403de8c6558031c14f929a485361b7eb0222)
2007-10-10r18600: - fix shell syntax in tests for librariesAndrew Tridgell1-1/+1
- add library test for libpopt (This used to be commit 13878b7e7ec65b21df954f83afc0e9ceb73e44a0)
2007-10-10r18594: fail the configure step if the required library is not found for tdb,Andrew Tridgell1-1/+5
talloc or libreplace (This used to be commit 9f45f970f71ee5585bf3c924b9c77188405fa246)
2007-10-10r18592: we don't need this twiceStefan Metzmacher1-3/+0
metze (This used to be commit e9fe725cf4021943e939f493b967e0ef5a438622)
2007-10-10r18563: - move more of the header checks into lib/replace/Andrew Tridgell1-4/+27
- change the test for net/if.h to do a full compile, not just an existance test. net/if.h is completely broken on hpux, and can never compile (it uses stuff before it defines it), so by using a AC_TRY_COMPILE() test we avoid using net/if.h on hpux, which should fix the build (This used to be commit bde18f3d5ce837f600bae8d63f31d92a579fe1f2)
2007-10-10r18544: - use AC_LIBREPLACE_LOCATION_CHECKS in samba4Stefan Metzmacher1-0/+2
- to get the ordering right we need to specify AC_CANONICAL_BUILD explicit - add AC_CANONICAL_TARGET metze (This used to be commit 1ea52d75849f004752cdbe11a3dddd10b4afe47d)
2007-10-10r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell1-0/+24
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 823cd3ab35456769dcefee17bdaca21f01ba0f63)
2007-10-10r18485: include libreplace.m4 in the aclocal.m4 filesStefan Metzmacher1-1/+3
and use the macros in configure.ac metze (This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd)
2007-10-10r18479: start hiding libreplace configure tests behind macrosStefan Metzmacher1-64/+25
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 e7a30456c76f4bf9a79cdcff6b15c894bc20c954)
2007-10-10r18474: - we don't need to explicit check stdint.h and inttypes.hStefan Metzmacher1-8/+17
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 371a33a871b67f12af177696bae6aa87d2c1d9f9)
2007-10-10r18472: - use STDC_HEADERS for stdlib.h and stddef.h as autoconf doesStefan Metzmacher1-5/+2
- AC_HEADERS_STDC is not explicit needed metze (This used to be commit 8f20d2cfe564164ea049dbb9f52d885e11098c2a)
2007-10-10r18465: much better fix for a roken specifiv problemStefan Metzmacher1-11/+0
metze (This used to be commit 1ae1e68fe9e1004f1a11847714b2e71715a1ce03)
2007-10-10r18460: split out timegm test and only add timegm.o when neededStefan Metzmacher1-4/+5
metze (This used to be commit f9bff4dbdad8c7acc649d13a5666b58967bf5d92)
2007-10-10r18458: move wins32 stuff to the top dirStefan Metzmacher1-2/+3
metze (This used to be commit 521e94f2693eab9053d9e3f1bbc56cdf2e0adbcd)
2007-10-10r18451: move repdir/ into the top dirStefan Metzmacher1-1/+1
metze (This used to be commit a564194817d9b78e353abb6bf0548b2dd9eb130b)
2007-10-10r18450: - autogenerate the OBJ_FILES for LIBREPLACEStefan Metzmacher1-7/+9
- remove samba specific stuff from libreplace - and include the readdir replacement stuff in the standalone builds metze (This used to be commit 3cac61152ef9a32313d7f7e5d38651f03a31f251)
2007-10-10r18445: splitout the dlfcn related testsStefan Metzmacher1-10/+2
metze (This used to be commit 8662e1481504c50a45416ae09ec19b834164e77c)
2007-10-10r18443: add object files only when neededStefan Metzmacher1-1/+3
metze (This used to be commit 5fddb66def8dd29a9f8d13b4b679df26aca6cfab)
2007-10-10r18407: test for epoll.h and select.hAndrew Tridgell1-1/+4
(This used to be commit 3ddb77c1e3dce5e05771b3fcaf86f8ae9ff21a52)
2007-10-10r18388: remove _XOPEN_SOURCE it causes trouble on BSD and IRIXStefan Metzmacher1-6/+0
I need to find a way to define it only on Tru64 maybe. metze (This used to be commit aca8a3f8c0bb3cce0ef8c5fd945011581d19586d)
2007-10-10r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64Stefan Metzmacher1-1/+3
to get MAP_FAILED metze (This used to be commit 0f48c8ad7c066ba33cb8d4491083e15b24c5046e)
2007-10-10r18382: define _XOPEN_SOURCE to hopefully bring in MAP_FAILED inStefan Metzmacher1-1/+6
sys/mman.h on Tru64 metze (This used to be commit 8109eb9d28c9043c359d48319efe91aed2714431)
2007-10-10r18381: make sure autoconf doesn't add '-O2' to CFLAGSStefan Metzmacher1-2/+3
metze (This used to be commit ec6365b5f18eea7035b6963c8005e75b9f4e3437)
2007-10-10r18378: try enabling _OSF_SOURCE to see if it fixes the tru64 build problems -Andrew Tridgell1-0/+6
thanks to volker for the suggestion (This used to be commit 03ed41515b2228d130f669a2c0cf916a21182f30)
2007-10-10r18359: better handling of child process killing in standard modeAndrew Tridgell1-1/+1
(This used to be commit 3752cc2b5767950b26b57e79fa87a70f8d93173d)
2007-10-10r18350: we have to check for lstat() to keep roken happen on hpuxAndrew Tridgell1-1/+1
(This used to be commit e251c211f7fa67e2e32d684f10a742b496913284)