summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r26467: Use getifaddrs() for interface enumeration and provide replacements ↵Jelmer Vernooij4-0/+511
for platforms that don't have it in lib/replace. (This used to be commit 9b4924fbd8619033c55b4c6e2589da247332e7db)
2007-12-21r26255: Work around another broken aspect of sys/capability.h on RHEL5.Michael Adam2-0/+25
This is synced from samba3 v3-2-test/11bcdf780e164659b89: The /usr/include/sys/capability.h defines _LINUX_TYPES_H which prevents /usr/include/linux/types.h from being parsed (when included afterwards). Thus certain types are undefined that are for instance needed in /usr/include/linux/dqblk_xfs.h. This breaks the build of lib/sysquotas_xfs.c in Samba3. This commit adds a configure check and a workaround for this. Michael (This used to be commit df3e151992f0b942554034dd143ab8d7f0d7a75b)
2007-12-21r26254: Add check for PPC statfs.h to workaround for broken capability.h.Michael Adam1-1/+3
Synced from Samba3. Michael (This used to be commit dfdfac2b57ecbca8bddece846f5c2103a518e34d)
2007-12-21r26253: Add check for broken RedHat 7.2 system header files to lib/replace.Michael Adam1-0/+22
This is taken (with slight reformatting) from samba3:configure.in. It is already used in lib/replace/system/capablity.h. Michael (This used to be commit 4d1df9c0b4248717d6f235572f5f68e27934741e)
2007-12-21r26102: libreplace: remove system/printing.h as it only contains samba3 stuffStefan Metzmacher2-51/+0
metze (This used to be commit 1ecb4ec01b0506c95a5f90a62040329e7a39ee93)
2007-12-21r26027: libreplace: rename AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG into ↵Stefan Metzmacher1-7/+7
AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG metze (This used to be commit 8ec94633c4d46bb9ca03d59fed40e278d35ad580)
2007-12-21r26026: libreplace: split some linker macrosStefan Metzmacher1-21/+58
create: AC_LIBREPLACE_LD_SHLIB_LINKER AC_LIBREPLACE_LD_SHLIB_FLAGS AC_LIBREPLACE_LD_SHLIB_DISALLOW_UNDEF_FLAG and prerequire them for: AC_LIBREPLACE_SHLD AC_LIBREPLACE_SHLD_FLAGS AC_LIBREPLACE_MDLD AC_LIBREPLACE_MDLD_FLAGS metze (This used to be commit cc8692265d6e9161679a779480d6b22dee23f8bb)
2007-12-21r26025: libreplace: AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG should fill ↵Stefan Metzmacher1-6/+9
LD_ALLOW_SHLIB_UNDEF_FLAG metze (This used to be commit d2fb7d876bb1960c02fa7b9c0fb53315ae0cd99c)
2007-12-21r26002: Use osf rather than tru64 - pointed out by metze.Jelmer Vernooij1-1/+1
(This used to be commit df10de42958e65f46298c2fc879688985d1f7ef3)
2007-12-21r26001: Share some code between macros, add macro specifically for testing ↵Jelmer Vernooij1-36/+14
the ld flag that allows undefined symbols. (This used to be commit 6cd3a3a46a6a9b630502ebfff1a90e2d035d9e39)
2007-12-21r25999: libreplace: add AC_LIBREPLACE_STLD and AC_LIBREPLACE_STLD_FLAGSStefan Metzmacher1-0/+15
metze (This used to be commit c7b0b4c21e1fc4093c9109e046f23c19489e7400)
2007-12-21r25998: Add test for run time library path environment variable.Jelmer Vernooij1-0/+29
(This used to be commit b2355857baf4d9dad0d9d6a465744be11bbb9beb)
2007-12-21r25988: libreplace: add AC_LIBREPLACE_SHLDStefan Metzmacher1-0/+13
metze (This used to be commit 2abae42d70903710d1a289d945fa08c1d94ceb80)
2007-12-21r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGSStefan Metzmacher1-1/+1
metze (This used to be commit 410cdf789a72209f9e10321519fe18ab40a43f95)
2007-12-21r25986: libreplace: warn about unresolved symbols when link shared librariesStefan Metzmacher1-1/+4
On Tru64 and Mac OS X this hopefully works Note: -Wl,--no-allow-shlib-undefined doesn't tests what we want on Linux. metze (This used to be commit 7bee9a62ffda64a1bdcdbdd38dbb181eac8b641e)
2007-12-21r25982: libreplace: try to ignore unresolved symbols in modules on Tru64Stefan Metzmacher1-0/+3
metze (This used to be commit bfde13b70b6be4c4aeeafa50d4619237930f9e0e)
2007-12-21r25977: libreplace: add AC_LIBREPLACE_MDLD and AC_LIBREPLACE_MDLD_FLAGS macrosStefan Metzmacher1-0/+50
They define the linker and link flags for building shared modules metze (This used to be commit 128b4e1a512a9ae5592ba7ccf8adde11189fc5a9)
2007-12-21r25976: libreplace: not all platforms like _XOPEN_SOURCE=600Stefan Metzmacher1-2/+5
- Only use _XOPEN_SOURCE=600 on Tru64 - _OSF_SOURCE is also Tru64 specific metze (This used to be commit d19ab62081ce4ee4273ff752ad0443782a994826)
2007-12-21r25974: libreplace: see what the build-farm says if we use _XOPEN_SOURCE=600Stefan Metzmacher1-0/+1
On Tru64 this brings in socklen_t and some other socket stuff metze (This used to be commit d42f2e5759332f1f0c6c1269bd29ac62ddb11016)
2007-12-21r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINEStefan Metzmacher2-15/+2
metze (This used to be commit 05b4619c5beff474488d1abe5e647acd94a3e20c)
2007-12-21r25970: libreplace: fix AC_N_DEFINE() so that some appears in config.hStefan Metzmacher1-5/+12
metze (This used to be commit a07c983fde52607806745914bb41039afb5618cc)
2007-12-21r25963: libreplace: samba3 doesn't use SONAMEFLAG on Mac OS 10, so also try thisStefan Metzmacher1-1/+1
metze (This used to be commit e145accfc25c04597c786e0bddbaf37e0d493863)
2007-12-21r25956: Try metze's suggestion for Mac OS X shld flags.Jelmer Vernooij1-1/+1
(This used to be commit 5fea6e0d9ae671ea00292b66a2608b3ee954f917)
2007-12-21r25955: libreplace: add a useful link about linking shared librariesStefan Metzmacher1-0/+5
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html metze (This used to be commit 403c5521d1bbd78a6b20d7da121870a5aa1d3546)
2007-12-21r25945: Fix flags for MacOS X.Jelmer Vernooij1-1/+2
(This used to be commit b01303b5677b03c1d3cc6f219d4c461726613767)
2007-12-21r25944: Fix handling of sonameflag on AIX, which doesn't have anything like ↵Jelmer Vernooij1-0/+4
that. (This used to be commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676)
2007-12-21r25943: Fix soname on hpux.Jelmer Vernooij1-1/+1
(This used to be commit fd762b01ed378739241dc14b6af9df9fcfe7659c)
2007-12-21r25912: Two patchesStefan Metzmacher1-0/+1
Hi! Can you check and push them? Thanks, Volker From b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001 From: Volker Lendecke <vl@sernet.de> Date: Sat, 27 Oct 2007 14:20:09 +0200 Subject: [PATCH] Fix some warnings and errors merge from v3-2-test commit e17d3e10e860c96b6d5208e5fe51e43b8e58c174 (This used to be commit 4087731e1b4e97017c0f5659e6659e8181d8e038)
2007-12-21r25911: Remove more fstring/pstring bad useage. Go talloc !Stefan Metzmacher1-1/+1
Jeremy. merge from v3-2-test commit 2a0173743d2cf615d52278f3dd87cc804abe2d16 (This used to be commit cb0eca66dc5121fa73404a7c41aad6086a96e7ec)
2007-12-21r25910: Try and fix the Solaris build by adding a missing defineStefan Metzmacher1-0/+5
(from Jerry). Jeremy merge from v3-2-test commit a68bbea0d42cc64b9fa731ab2a1da82ef30937c6 (This used to be commit b833dce5e6d6475a04538d9754b9b0bfeb5915e4)
2007-12-21r25909: Fix the snprintf checks, and fix a typo in pointer indirection.Stefan Metzmacher1-5/+5
These fixes are needed for a working getaddrinfo etc. replacement. Fixes from Wayne Davison <wayned@samba.org> from rsync. Jeremy. from v3-2-test commit 494bf6293bedbda4b10aa2eae452377b8130cd01 (This used to be commit e562832ad19e8c3a0380759a22b0267e365ecc2e)
2007-12-21r25906: libreplace: we need to link to make sure the functions are availableStefan Metzmacher1-1/+1
metze (This used to be commit 895d2644fbd72b9770460d6628fa6b09963967e7)
2007-12-21r25892: Keep the tdb code in sync between 3.2.x and 4.0.Jeremy Allison2-0/+8
Add in the alarm fix to allow locks to exit on alarm signal. Sync up the changes in tools. Jeremy. (This used to be commit cb6c663fa8818f49cc36f196bb5f4dea47edd69e)
2007-12-21r25886: Try to fix building dso's on hpux with gccJelmer Vernooij1-1/+5
(This used to be commit 146c5226e61235a55155ef4493191a6c5eddea3f)
2007-12-21r25880: Try to get some more flags right.Jelmer Vernooij1-4/+4
(This used to be commit bbc36fd3f693480e3ea01c5c9e858008a4f3c229)
2007-12-21r25877: Add libreplace macro for soname flags.Jelmer Vernooij1-0/+41
(This used to be commit 25aa875119622679881cd0e1b3b9dff8d2cf03ee)
2007-12-21r25875: Try to fix the build on some HPUX machines.Jelmer Vernooij1-3/+1
(This used to be commit 773a7cf234e08e05bb89072c42353e44915f8146)
2007-12-21r25870: libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring ↵Stefan Metzmacher1-2/+2
in confdefs.h metze (This used to be commit c6b6466c33ffab2b59e1a275922b6f3a7f2af98c)
2007-12-21r25867: libreplace: solaris has different prototypes for getpwent_r and ↵Stefan Metzmacher1-0/+32
getgrent_r metze (This used to be commit 44250ac6f987ba98e1efe8cd81b4e7eaa8017ed0)
2007-12-21r25865: libreplace: check for nss passwd|group get*_r functionsStefan Metzmacher1-0/+2
metze (This used to be commit 98095b34257847b2fbb5efe343c3630a28170692)
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-21r25863: libreplace: we need include <unistd.h> before nss_wrapper.hStefan Metzmacher1-0/+3
metze (This used to be commit a16f0e3cdbb9fb1238e25af8bb911c27b839c89b)
2007-12-21r25861: Fix export dynamic for HPUX.Jelmer Vernooij1-4/+12
(This used to be commit 45ccf09bf96e915380b30150a701735318b67aa0)
2007-12-21r25860: Remove flag that causes problems on some hosts.Jelmer Vernooij1-1/+1
(This used to be commit 85b332650031b2969f79e6ca85e5d6d10983da91)
2007-12-21r25859: Wrap native HPUX functions in dl implementation.Jelmer Vernooij1-0/+16
(This used to be commit bf1685faa1c941d3ca56b29a1e15b8a134d02068)
2007-12-21r25855: Check for HPUX dl functions.Jelmer Vernooij1-0/+5
(This used to be commit 478b5ac8d92a23a32349bedfe7c6caf98b67fb39)
2007-12-21r25852: Move SHLIBEXT determination into a test as well.Jelmer Vernooij1-0/+18
(This used to be commit aaaed5edc06f3055794e55a8038dbbdac47ce5b6)
2007-12-21r25851: Move system-specific ldflags checks to libreplace so they can be ↵Jelmer Vernooij1-0/+38
used by ldb. (This used to be commit d28c8b822e7b571f24542409376bba8701eeef79)
2007-12-21r25850: Add macro for picflag.Jelmer Vernooij1-0/+55
(This used to be commit 9ebc6f2d17349b214618d65b29826867796c12ce)
2007-12-21r25846: Add configure test for -Wl,--export-dynamic.Jelmer Vernooij2-0/+11
(This used to be commit f67040d2a0cb8723f1bf0e9a9d90a821b38697b1)