Jelmer Vernooij
53c70b5f77
Support dlopen(NULL, ...) on HPUX.
2008-02-20 20:05:51 +01:00
Michael Adam
83387ecccf
libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.
...
Michael
2008-02-20 12:53:20 +01:00
Michael Adam
00c173bfba
libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.
...
Michael
2008-02-20 12:53:20 +01:00
Michael Adam
d3b3d3ec9f
libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.
...
Michael
2008-02-20 12:53:20 +01:00
Michael Adam
acab9def2a
libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4
...
Michael
2008-02-20 12:53:19 +01:00
Volker Lendecke
e8f3653414
NetBSD does not support AI_ADDRCONFIG
...
(cherry picked from commit fb3f7f4046 )
2008-02-20 10:21:58 +01:00
Volker Lendecke
4c77550d80
NetBSD needs LD_LIBRARY_PATH
...
(cherry picked from commit d64b19e77a )
2008-02-20 10:21:57 +01:00
Michael Adam
d10cbb533c
Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.
...
Michael
2008-02-19 17:25:42 +01:00
Stefan Metzmacher
d2ac8be28d
libreplace: getpwent_r/getgrent_r on IRIX are similar to solaris but use size_t
...
metze
(cherry picked from commit 2f46091511 )
2008-01-22 12:24:05 +01:00
Jeremy Allison
9cff25cce1
Fix bug #5121 (unix passwd sync not working on a streams based
...
system).
Jeremy.
(lib/replace part of 545cd2139c metze)
2008-01-15 14:27:12 +01:00
Jeremy Allison
9f5c443972
Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech Republic <Jiri.Sasek@Sun.COM>
...
- slightly modified - Jiri please check ! to allow Solaris to get passwords > 8 chars.
Jeremy.
(lib/replace part of 657bf8c347 metze)
2008-01-15 14:02:34 +01:00
Volker Lendecke
8db9e19650
Fix bug 5055
...
(lib/replace part of 8bcd2df841 metze)
2008-01-15 13:42:53 +01:00
Jeremy Allison
db4eabf7cd
Add MAX_DNS_NAME_LENGTH, remove more pstrings.
...
Jeremy.
(lib/replace part of a1725f4ff7 metze)
2008-01-15 13:41:37 +01:00
Jeremy Allison
ebc08d23f7
Always define PATH_MAX. Makes code simpler (removes
...
a bunch of #defines). Remove pstring from msdfs.c.
Jeremy.
(lib/replace part from e203ba2227 metze)
2008-01-15 13:37:37 +01:00
Jelmer Vernooij
df36c78549
libreplace: Escape asterisk.
2008-01-14 22:24:07 +01:00
Jelmer Vernooij
bba8914af5
Try to fix the build on Tru64; avoid single quotes because they get expanded by perl in the build system.
2008-01-13 04:46:11 +01:00
Jelmer Vernooij
37c7b65546
r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.
2007-12-21 06:28:52 +01:00
James Peach
188156228b
r26551: Make sure NULL is defined before using it to test for getifaddrs().
...
Patch from Timur I. Bakeyev <timur@com.bat.ru >.
2007-12-21 06:28:50 +01:00
Stefan Metzmacher
11bdc9bed8
r26550: libreplace: fallback to __ss_family of struct sockaddr_storage
...
metze
2007-12-21 06:28:49 +01:00
Jelmer Vernooij
6ac86f8be7
r26540: Revert my previous commit after concerns raised by Andrew.
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
e53e79eebe
r26539: Remove unnecessary statics.
2007-12-21 05:52:05 +01:00
Stefan Metzmacher
3d64338f3c
r26533: libreplace: hopefully fix the share library/module build on darwin
...
metze
2007-12-21 05:51:55 +01:00
Jelmer Vernooij
4fa04924ab
r26512: Another attempt at fixing darwin
2007-12-21 05:51:18 +01:00
Jelmer Vernooij
5dbe3aff3c
r26510: attempt to fix shld flags for darwin.
2007-12-21 05:51:14 +01:00
Jelmer Vernooij
cc873bdd2e
r26507: Fix function signature for freeifaddrs.
2007-12-21 05:51:13 +01:00
Jelmer Vernooij
8c65053f51
r26497: Fix return type for freeifaddrs().
2007-12-21 05:50:51 +01:00
Jelmer Vernooij
c9e5a3078f
r26495: Add defines for getifaddrs/freeifaddrs.
2007-12-21 05:50:49 +01:00
Jelmer Vernooij
c4cd935ee7
r26492: Some hosts have a define called ifa_dstaddr.
2007-12-21 05:50:47 +01:00
Jelmer Vernooij
2513230e28
r26491: Fix syntax.
2007-12-21 05:50:45 +01:00
Jelmer Vernooij
56080469ab
r26487: Cope with systems that don't have struct sockaddr.sa_len.
2007-12-21 05:50:44 +01:00
Jelmer Vernooij
51a78cfc3e
r26470: Update README.
2007-12-21 05:50:32 +01:00
Jelmer Vernooij
fa9e3b6fa8
r26469: Fix paths, only include IPv4 addresses for now.
2007-12-21 05:50:32 +01:00
Jelmer Vernooij
92898c043b
r26468: Match getifaddrs more closely, add trivial test.
2007-12-21 05:50:31 +01:00
Jelmer Vernooij
9b4924fbd8
r26467: Use getifaddrs() for interface enumeration and provide replacements for platforms that don't have it in lib/replace.
2007-12-21 05:50:31 +01:00
Michael Adam
df3e151992
r26255: Work around another broken aspect of sys/capability.h on RHEL5.
...
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
2007-12-21 05:47:30 +01:00
Michael Adam
dfdfac2b57
r26254: Add check for PPC statfs.h to workaround for broken capability.h.
...
Synced from Samba3.
Michael
2007-12-21 05:47:30 +01:00
Michael Adam
4d1df9c0b4
r26253: Add check for broken RedHat 7.2 system header files to lib/replace.
...
This is taken (with slight reformatting) from samba3:configure.in.
It is already used in lib/replace/system/capablity.h.
Michael
2007-12-21 05:47:30 +01:00
Stefan Metzmacher
1ecb4ec01b
r26102: libreplace: remove system/printing.h as it only contains samba3 stuff
...
metze
2007-12-21 05:46:04 +01:00
Stefan Metzmacher
8ec94633c4
r26027: libreplace: rename AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG into AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG
...
metze
2007-12-21 05:45:45 +01:00
Stefan Metzmacher
cc8692265d
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
2007-12-21 05:45:45 +01:00
Stefan Metzmacher
d2fb7d876b
r26025: libreplace: AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG should fill LD_ALLOW_SHLIB_UNDEF_FLAG
...
metze
2007-12-21 05:45:44 +01:00
Jelmer Vernooij
df10de4295
r26002: Use osf rather than tru64 - pointed out by metze.
2007-12-21 05:45:35 +01:00
Jelmer Vernooij
6cd3a3a46a
r26001: Share some code between macros, add macro specifically for testing the ld flag that allows undefined symbols.
2007-12-21 05:45:35 +01:00
Stefan Metzmacher
c7b0b4c21e
r25999: libreplace: add AC_LIBREPLACE_STLD and AC_LIBREPLACE_STLD_FLAGS
...
metze
2007-12-21 05:45:33 +01:00
Jelmer Vernooij
b2355857ba
r25998: Add test for run time library path environment variable.
2007-12-21 05:45:33 +01:00
Stefan Metzmacher
2abae42d70
r25988: libreplace: add AC_LIBREPLACE_SHLD
...
metze
2007-12-21 05:45:30 +01:00
Stefan Metzmacher
410cdf789a
r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
...
metze
2007-12-21 05:45:29 +01:00
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