summaryrefslogtreecommitdiff
path: root/source4/lib/replace/libreplace.m4
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r18340: some HPUX boxes don't have ptrdiff_tAndrew Tridgell1-0/+1
(This used to be commit f3b24ea48a70268be5a3af601b5bb923d446c5d5)
2007-10-10r18339: need these checks for roken.h on hpuxAndrew Tridgell1-0/+11
(This used to be commit e98e0a28a0cb79e272c0caa0bcb3b5fb6bf3a17b)
2007-10-10r18336: autoconf tries to force on C89 mode on HP-UX, using the -AeAndrew Tridgell1-0/+4
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 eb93fb8e54c46df35904e03870063c4532599442)
2007-10-10r18335: more portable bool testsAndrew Tridgell1-0/+9
(This used to be commit 45a3a6a566de020578c24feb5788367efd685f29)
2007-10-10r18332: added back in our shared mmap test codeAndrew Tridgell1-1/+9
(This used to be commit 6ff100b26698a50ba79b587a687cc0d440f73b55)
2007-10-10r18289: don't check for inline till we've worked out the main compiler flagsAndrew Tridgell1-1/+1
(This used to be commit 46ab2b9971c100afa2ed2cb8da0390cfaa9b7032)
2007-10-10r18288: autoconf already has a C99 test builtin!Andrew Tridgell1-0/+1
If this works well, we can remove our own test (This used to be commit b4b028e65e242b0fa1d74454bfa0b292917088eb)
2007-10-10r18284: enable _XOPEN_SOURCE_EXTENDED to fix a HP-UX bug with the definitionAndrew Tridgell1-0/+6
of sendfile() (This used to be commit 3e0f262b384b73183452aefabca93c01d53387a8)
2007-10-10r18283: libreplace.m4 needs to be early in configure.ac in other packages tooAndrew Tridgell1-0/+2
(This used to be commit 03f9c67c066d772d9a544f1183fbee609ab8137b)
2007-10-10r18280: more portability tidyups, ensuring we use libreplace everywhereAndrew Tridgell1-8/+12
(This used to be commit 4860d0256547b33709cdc109bdf7bb0310c2a5b6)
2007-10-10r18278: move more header checks and _GNU_SOURCE into libreplaceAndrew Tridgell1-1/+2
(This used to be commit 77c442cd469ba881215e025c87ce632c876eb617)
2007-10-10r18221: moved more configure checks into lib/replace/Andrew Tridgell1-0/+32
(This used to be commit d853dcfda771888f80a80e14ffabb1c0e58a340e)
2007-10-10r18219: move some more portability checks out of samba4 and info lib/replaceAndrew Tridgell1-0/+31
(This used to be commit 50318dc55ed5eb70adb02a5680498fad3c3e590d)
2007-10-10r18152: move our AC macros into lib/replace/libreplace_macros.m4Stefan Metzmacher1-13/+2
and include them from there metze (This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071)
2007-10-10r18145: rename cc_feature.m4 into libreplace_macros.m4Stefan Metzmacher1-1/+1
metze (This used to be commit d0f40dd3e5ca8b46ee9b2c4332b393f519383aae)
2007-10-10r18129: moved the system includes into libreplace - this gives much moreAndrew Tridgell1-0/+1
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 77d1a468e06290aba789e2f3affc769fc5159a21)
2007-10-10r18127: Add macro AC_CHECK_DECL() for systems that don't have it.Jelmer Vernooij1-0/+13
(This used to be commit 589a1c250934a61db0f86c1e98962e195e681c79)
2007-10-10r18124: Keep right libs when looking for dl*() functionsJelmer Vernooij1-2/+2
(This used to be commit 12ce4cef2fcdb4224fdf15c9ecf952ceb797f02c)
2007-10-10r18122: Fix warnings related to errno declaration.Jelmer Vernooij1-1/+3
(This used to be commit c30abc8e491d482c1771e7ac06cb511bae578467)
2007-10-10r18121: Simplify m4 code, hopefully fix Samba4 build problems.Jelmer Vernooij1-0/+5
(This used to be commit 1adf65b4d7c5d2d4f65d4b28575bdf2368a42139)
2007-10-10r18093: check for the headers first and check all functionsStefan Metzmacher1-2/+2
metze (This used to be commit 5bb8a5ce32a3e85355d8554974d226708df41970)
2007-10-10r18085: using m4_include() instead of sinclude() means we get an error if theAndrew Tridgell1-2/+2
include fails - thats better than the compile failing mysteriously (This used to be commit b4df3c73913557297e0eb1ea89cb42a8e7920de8)
2007-10-10r18084: we don't need the double sinclude() any moreAndrew Tridgell1-2/+0
(This used to be commit 2dab7886c1c0abfd95374c8a796f0fde029de8b6)
2007-10-10r18079: fix for in-tree build with samba4 dir layoutAndrew Tridgell1-1/+1
(This used to be commit 8eccdc1cd1fcf59a3bb9683f31a8613f748a1bfc)