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

447 Commits

Author SHA1 Message Date
Stefan Metzmacher
b41a25c104 r26027: libreplace: rename AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG into AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG
metze
(This used to be commit 8ec94633c4)
2007-12-21 05:45:45 +01:00
Stefan Metzmacher
c5e16f339c r26026: libreplace: split some linker macros
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 cc8692265d)
2007-12-21 05:45:45 +01:00
Stefan Metzmacher
662cda2138 r26025: libreplace: AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG should fill LD_ALLOW_SHLIB_UNDEF_FLAG
metze
(This used to be commit d2fb7d876b)
2007-12-21 05:45:44 +01:00
Jelmer Vernooij
b7c5d2b0c9 r26002: Use osf rather than tru64 - pointed out by metze.
(This used to be commit df10de4295)
2007-12-21 05:45:35 +01:00
Jelmer Vernooij
4b546eada1 r26001: Share some code between macros, add macro specifically for testing the ld flag that allows undefined symbols.
(This used to be commit 6cd3a3a46a)
2007-12-21 05:45:35 +01:00
Stefan Metzmacher
25f1ea1269 r25999: libreplace: add AC_LIBREPLACE_STLD and AC_LIBREPLACE_STLD_FLAGS
metze
(This used to be commit c7b0b4c21e)
2007-12-21 05:45:33 +01:00
Jelmer Vernooij
413e992ae4 r25998: Add test for run time library path environment variable.
(This used to be commit b2355857ba)
2007-12-21 05:45:33 +01:00
Stefan Metzmacher
0aa43592cb r25988: libreplace: add AC_LIBREPLACE_SHLD
metze
(This used to be commit 2abae42d70)
2007-12-21 05:45:30 +01:00
Stefan Metzmacher
676bb230fc r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
metze
(This used to be commit 410cdf789a)
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
896e46aa6c 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
(This used to be commit 7bee9a62ff)
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
31fe478cec r25982: libreplace: try to ignore unresolved symbols in modules on Tru64
metze
(This used to be commit bfde13b70b)
2007-12-21 05:45:28 +01:00
Stefan Metzmacher
b415712d3f r25977: libreplace: add AC_LIBREPLACE_MDLD and AC_LIBREPLACE_MDLD_FLAGS macros
They define the linker and link flags for building shared modules

metze
(This used to be commit 128b4e1a51)
2007-12-21 05:45:27 +01:00
Stefan Metzmacher
f744d3bc9f r25976: libreplace: not all platforms like _XOPEN_SOURCE=600
- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific

metze
(This used to be commit d19ab62081)
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
fc2df89cd7 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
(This used to be commit d42f2e5759)
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
ae75b11578 r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE
metze
(This used to be commit 05b4619c5b)
2007-12-21 05:45:24 +01:00
Stefan Metzmacher
0f134fab53 r25970: libreplace: fix AC_N_DEFINE() so that some appears in config.h
metze
(This used to be commit a07c983fde)
2007-12-21 05:45:23 +01:00
Stefan Metzmacher
04cf937b8d r25963: libreplace: samba3 doesn't use SONAMEFLAG on Mac OS 10, so also try this
metze
(This used to be commit e145accfc2)
2007-12-21 05:45:20 +01:00
Jelmer Vernooij
36a1640b27 r25956: Try metze's suggestion for Mac OS X shld flags.
(This used to be commit 5fea6e0d9a)
2007-12-21 05:45:17 +01:00
Stefan Metzmacher
85dd023f99 r25955: libreplace: add a useful link about linking shared libraries
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html

metze
(This used to be commit 403c5521d1)
2007-12-21 05:45:17 +01:00
Jelmer Vernooij
3e0efe2383 r25945: Fix flags for MacOS X.
(This used to be commit b01303b567)
2007-12-21 05:45:12 +01:00
Jelmer Vernooij
0969ac9e61 r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
(This used to be commit 228dd6830e)
2007-12-21 05:45:12 +01:00
Jelmer Vernooij
5adade2f2f r25943: Fix soname on hpux.
(This used to be commit fd762b01ed)
2007-12-21 05:45:11 +01:00
Stefan Metzmacher
88f0c3bfa7 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
(This used to be commit 4087731e1b)
2007-12-21 05:44:51 +01:00
Stefan Metzmacher
2baec5a557 r25911: Remove more fstring/pstring bad useage. Go talloc !
Jeremy.

merge from v3-2-test commit 2a0173743d
(This used to be commit cb0eca66dc)
2007-12-21 05:44:51 +01:00
Stefan Metzmacher
319ecac5b1 r25910: Try and fix the Solaris build by adding a missing define
(from Jerry).
Jeremy

merge from v3-2-test commit a68bbea0d4
(This used to be commit b833dce5e6)
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
a4a7447f13 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
(This used to be commit e562832ad1)
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
92897b1153 r25906: libreplace: we need to link to make sure the functions are available
metze
(This used to be commit 895d2644fb)
2007-12-21 05:44:48 +01:00
Jeremy Allison
2cb22d93ae 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.
(This used to be commit cb6c663fa8)
2007-12-21 05:44:42 +01:00
Jelmer Vernooij
2109bf0515 r25886: Try to fix building dso's on hpux with gcc
(This used to be commit 146c5226e6)
2007-12-21 05:44:40 +01:00
Jelmer Vernooij
2ca86c7769 r25880: Try to get some more flags right.
(This used to be commit bbc36fd3f6)
2007-12-21 05:44:37 +01:00
Jelmer Vernooij
414e5eca2e r25877: Add libreplace macro for soname flags.
(This used to be commit 25aa875119)
2007-12-21 05:44:36 +01:00
Jelmer Vernooij
a564ca1c73 r25875: Try to fix the build on some HPUX machines.
(This used to be commit 773a7cf234)
2007-12-21 05:44:35 +01:00
Stefan Metzmacher
37f6b948b7 r25870: libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
metze
(This used to be commit c6b6466c33)
2007-12-21 05:44:34 +01:00
Stefan Metzmacher
49cb694041 r25867: libreplace: solaris has different prototypes for getpwent_r and getgrent_r
metze
(This used to be commit 44250ac6f9)
2007-12-21 05:44:33 +01:00
Stefan Metzmacher
29598b83e0 r25865: libreplace: check for nss passwd|group get*_r functions
metze
(This used to be commit 98095b3425)
2007-12-21 05:44:32 +01:00
Stefan Metzmacher
046cd2512e r25864: libreplace: we should only have one location where we check for required functions
metze
(This used to be commit 8748516d16)
2007-12-21 05:44:32 +01:00
Stefan Metzmacher
9ed91eabdd r25863: libreplace: we need include <unistd.h> before nss_wrapper.h
metze
(This used to be commit a16f0e3cdb)
2007-12-21 05:44:31 +01:00
Jelmer Vernooij
eea596951d r25861: Fix export dynamic for HPUX.
(This used to be commit 45ccf09bf9)
2007-12-21 05:44:31 +01:00
Jelmer Vernooij
0cab8cc79f r25860: Remove flag that causes problems on some hosts.
(This used to be commit 85b3326500)
2007-12-21 05:44:30 +01:00
Jelmer Vernooij
3d6d80daba r25859: Wrap native HPUX functions in dl implementation.
(This used to be commit bf1685faa1)
2007-12-21 05:44:30 +01:00
Jelmer Vernooij
145bc26a0f r25855: Check for HPUX dl functions.
(This used to be commit 478b5ac8d9)
2007-12-21 05:44:29 +01:00
Jelmer Vernooij
26c3cad60f r25852: Move SHLIBEXT determination into a test as well.
(This used to be commit aaaed5edc0)
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
dd66e34d41 r25851: Move system-specific ldflags checks to libreplace so they can be used by ldb.
(This used to be commit d28c8b822e)
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
6e561c7f7d r25850: Add macro for picflag.
(This used to be commit 9ebc6f2d17)
2007-12-21 05:44:26 +01:00
Jelmer Vernooij
48ed51e61e r25846: Add configure test for -Wl,--export-dynamic.
(This used to be commit f67040d2a0)
2007-12-21 05:44:24 +01:00
Stefan Metzmacher
4d354fd583 r25838: libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
metze
(This used to be commit 17f9189fb4)
2007-12-21 05:44:19 +01:00
Stefan Metzmacher
74a2b05793 r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
metze
(This used to be commit 5648c8a0de)
2007-12-21 05:43:31 +01:00
Stefan Metzmacher
805eb06209 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
(This used to be commit b594d9c9fa)
2007-12-21 05:43:30 +01:00
Stefan Metzmacher
79affaf37a 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.
(This used to be commit 25a892f2ad)
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
88f6c5a1d2 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
(This used to be commit 57d5cf4b5f)
2007-12-21 05:43:29 +01:00