Stefan Metzmacher
7bee9a62ff
r25986: libreplace: warn about unresolved symbols when link shared libraries
...
On Tru64 and Mac OS X this hopefully works
Note: -Wl,--no-allow-shlib-undefined doesn't tests what we want
on Linux.
metze
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
bfde13b70b
r25982: libreplace: try to ignore unresolved symbols in modules on Tru64
...
metze
2007-12-21 05:45:28 +01:00
Stefan Metzmacher
128b4e1a51
r25977: libreplace: add AC_LIBREPLACE_MDLD and AC_LIBREPLACE_MDLD_FLAGS macros
...
They define the linker and link flags for building shared modules
metze
2007-12-21 05:45:27 +01:00
Stefan Metzmacher
d19ab62081
r25976: libreplace: not all platforms like _XOPEN_SOURCE=600
...
- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific
metze
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
d42f2e5759
r25974: libreplace: see what the build-farm says if we use _XOPEN_SOURCE=600
...
On Tru64 this brings in socklen_t and some other socket stuff
metze
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
05b4619c5b
r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE
...
metze
2007-12-21 05:45:24 +01:00
Stefan Metzmacher
a07c983fde
r25970: libreplace: fix AC_N_DEFINE() so that some appears in config.h
...
metze
2007-12-21 05:45:23 +01:00
Stefan Metzmacher
e145accfc2
r25963: libreplace: samba3 doesn't use SONAMEFLAG on Mac OS 10, so also try this
...
metze
2007-12-21 05:45:20 +01:00
Jelmer Vernooij
5fea6e0d9a
r25956: Try metze's suggestion for Mac OS X shld flags.
2007-12-21 05:45:17 +01:00
Stefan Metzmacher
403c5521d1
r25955: libreplace: add a useful link about linking shared libraries
...
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html
metze
2007-12-21 05:45:17 +01:00
Jelmer Vernooij
b01303b567
r25945: Fix flags for MacOS X.
2007-12-21 05:45:12 +01:00
Jelmer Vernooij
228dd6830e
r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
2007-12-21 05:45:12 +01:00
Jelmer Vernooij
fd762b01ed
r25943: Fix soname on hpux.
2007-12-21 05:45:11 +01:00
Stefan Metzmacher
4087731e1b
r25912: Two patches
...
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 e17d3e10e8
2007-12-21 05:44:51 +01:00
Stefan Metzmacher
cb0eca66dc
r25911: Remove more fstring/pstring bad useage. Go talloc !
...
Jeremy.
merge from v3-2-test commit 2a0173743d
2007-12-21 05:44:51 +01:00
Stefan Metzmacher
b833dce5e6
r25910: Try and fix the Solaris build by adding a missing define
...
(from Jerry).
Jeremy
merge from v3-2-test commit a68bbea0d4
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
e562832ad1
r25909: Fix the snprintf checks, and fix a typo in pointer indirection.
...
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 494bf6293b
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
895d2644fb
r25906: libreplace: we need to link to make sure the functions are available
...
metze
2007-12-21 05:44:48 +01:00
Jeremy Allison
cb6c663fa8
r25892: Keep the tdb code in sync between 3.2.x and 4.0.
...
Add in the alarm fix to allow locks to exit on
alarm signal.
Sync up the changes in tools.
Jeremy.
2007-12-21 05:44:42 +01:00
Jelmer Vernooij
146c5226e6
r25886: Try to fix building dso's on hpux with gcc
2007-12-21 05:44:40 +01:00
Jelmer Vernooij
bbc36fd3f6
r25880: Try to get some more flags right.
2007-12-21 05:44:37 +01:00
Jelmer Vernooij
25aa875119
r25877: Add libreplace macro for soname flags.
2007-12-21 05:44:36 +01:00
Jelmer Vernooij
773a7cf234
r25875: Try to fix the build on some HPUX machines.
2007-12-21 05:44:35 +01:00
Stefan Metzmacher
c6b6466c33
r25870: libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
...
metze
2007-12-21 05:44:34 +01:00
Stefan Metzmacher
44250ac6f9
r25867: libreplace: solaris has different prototypes for getpwent_r and getgrent_r
...
metze
2007-12-21 05:44:33 +01:00
Stefan Metzmacher
98095b3425
r25865: libreplace: check for nss passwd|group get*_r functions
...
metze
2007-12-21 05:44:32 +01:00
Stefan Metzmacher
8748516d16
r25864: libreplace: we should only have one location where we check for required functions
...
metze
2007-12-21 05:44:32 +01:00
Stefan Metzmacher
a16f0e3cdb
r25863: libreplace: we need include <unistd.h> before nss_wrapper.h
...
metze
2007-12-21 05:44:31 +01:00
Jelmer Vernooij
45ccf09bf9
r25861: Fix export dynamic for HPUX.
2007-12-21 05:44:31 +01:00
Jelmer Vernooij
85b3326500
r25860: Remove flag that causes problems on some hosts.
2007-12-21 05:44:30 +01:00
Jelmer Vernooij
bf1685faa1
r25859: Wrap native HPUX functions in dl implementation.
2007-12-21 05:44:30 +01:00
Jelmer Vernooij
478b5ac8d9
r25855: Check for HPUX dl functions.
2007-12-21 05:44:29 +01:00
Jelmer Vernooij
aaaed5edc0
r25852: Move SHLIBEXT determination into a test as well.
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
d28c8b822e
r25851: Move system-specific ldflags checks to libreplace so they can be used by ldb.
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
9ebc6f2d17
r25850: Add macro for picflag.
2007-12-21 05:44:26 +01:00
Jelmer Vernooij
f67040d2a0
r25846: Add configure test for -Wl,--export-dynamic.
2007-12-21 05:44:24 +01:00
Stefan Metzmacher
17f9189fb4
r25838: libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
...
metze
2007-12-21 05:44:19 +01:00
Stefan Metzmacher
5648c8a0de
r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
...
metze
2007-12-21 05:43:31 +01:00
Stefan Metzmacher
b594d9c9fa
r25726: [libreplace] move and fix getaddrinfo configure checks
...
- move getaddrinfo check into getaddrinfo.m4
- add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements
metze
2007-12-21 05:43:30 +01:00
Stefan Metzmacher
25a892f2ad
r25725: merge commit bc9008aa1d from v3-2-test:
...
Author: Jeremy Allison <jra@samba.org >
AuthorDate: Wed Oct 24 14:40:24 2007 -0700
We do support name lookups for host and service in our replacement
code - remove the restrictions from the original Postgres code.
Jeremy.
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
57d5cf4b5f
r25724: - include getaddrinfo.h after we have defined struct addrinfo
...
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch]
- define HAVE_<name> macros when we replace functions
metze
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
8b92b81101
r25718: [libreplace] if we replace types define the HAVE_<type> macro
...
this is needed as heimdal's roken.h also tries to replace the types
metze
2007-12-21 05:43:26 +01:00
Stefan Metzmacher
12cec014c4
r25715: [libreplace] move definition of struct addrinfo so that it can use socklen_t
...
metze
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
8bd2cf71be
r25714: [libreplace] move define of a constant to near to the others
...
metze
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
a3657a4e71
r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
...
metze
2007-12-21 05:43:24 +01:00
Stefan Metzmacher
95462d614d
r25695: [libreplace] fix the standalone build of libreplace
...
all configure results which are used in replace.h
or any system/*.h should be in the in the libreplace
*.m4 files!
metze
2007-12-21 05:43:18 +01:00
Stefan Metzmacher
facb811bb3
r25687: Move #defined for getaddrinfo into network.h (as other
...
defines). Allows RHEL4 compile to work.
Jeremy.
(cherry picked from commit 0ffdf4fdee )
2007-12-21 05:43:14 +01:00
Stefan Metzmacher
5d2995c413
r25686: Added in missing def for AI_ADDRCONFIG.
...
Jeremy.
(cherry picked from commit 3ef3c3afc3 )
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
cd5069a8ca
r25685: rename getsmbpass -> rep_getpass and provide the function prototype
...
metze
(cherry picked from commit 96820f8d8f )
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
ee85577835
r25684: use "system/*.h" to get the system includes
...
metze
(cherry picked from commit d20c2fa274 )
2007-12-21 05:43:13 +01:00