diff options
author | Darren Tucker <dtucker@zip.com.au> | 2007-04-29 14:39:02 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2007-04-29 14:39:02 +1000 |
commit | 6d862a50dbe6a473c2e204d85d3e66e6a0293614 (patch) | |
tree | 1463a5f23f29be1703690ff9c37b8120782d9071 | |
parent | 2ac529b5055ebccd5c2251e373940eee156dc967 (diff) |
- (dtucker) [configure.ac defines.h] Have configure check for MAXSYMLINKS
so we don't get redefinition warnings.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 8 | ||||
-rw-r--r-- | defines.h | 4 |
3 files changed, 11 insertions, 5 deletions
@@ -6,6 +6,8 @@ | |||
6 | platform's _res if it has one. Should fix problem of DNSSEC record lookups | 6 | platform's _res if it has one. Should fix problem of DNSSEC record lookups |
7 | on NetBSD as reported by Curt Sampson. | 7 | on NetBSD as reported by Curt Sampson. |
8 | - (dtucker) [openbsd-compat/xmmap.c] Include stdlib.h for mkstemp prototype. | 8 | - (dtucker) [openbsd-compat/xmmap.c] Include stdlib.h for mkstemp prototype. |
9 | - (dtucker) [configure.ac defines.h] Have configure check for MAXSYMLINKS | ||
10 | so we don't get redefinition warnings. | ||
9 | 11 | ||
10 | 20070406 | 12 | 20070406 |
11 | - (dtucker) [INSTALL] Update the systems that have PAM as standard. Link | 13 | - (dtucker) [INSTALL] Update the systems that have PAM as standard. Link |
@@ -2887,4 +2889,4 @@ | |||
2887 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 2889 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
2888 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 2890 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
2889 | 2891 | ||
2890 | $Id: ChangeLog,v 1.4655 2007/04/29 04:02:43 dtucker Exp $ | 2892 | $Id: ChangeLog,v 1.4656 2007/04/29 04:39:02 dtucker Exp $ |
diff --git a/configure.ac b/configure.ac index 4d551b897..f2e88f1f2 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.376 2007/04/29 03:58:07 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.377 2007/04/29 04:39:03 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -15,7 +15,7 @@ | |||
15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | ||
17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) | 17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) |
18 | AC_REVISION($Revision: 1.376 $) | 18 | AC_REVISION($Revision: 1.377 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | 20 | ||
21 | AC_CONFIG_HEADER(config.h) | 21 | AC_CONFIG_HEADER(config.h) |
@@ -1364,6 +1364,10 @@ AC_CHECK_DECLS(writev, , , [ | |||
1364 | #include <unistd.h> | 1364 | #include <unistd.h> |
1365 | ]) | 1365 | ]) |
1366 | 1366 | ||
1367 | AC_CHECK_DECLS(MAXSYMLINKS, , , [ | ||
1368 | #include <sys/param.h> | ||
1369 | ]) | ||
1370 | |||
1367 | AC_CHECK_FUNCS(setresuid, [ | 1371 | AC_CHECK_FUNCS(setresuid, [ |
1368 | dnl Some platorms have setresuid that isn't implemented, test for this | 1372 | dnl Some platorms have setresuid that isn't implemented, test for this |
1369 | AC_MSG_CHECKING(if setresuid seems to work) | 1373 | AC_MSG_CHECKING(if setresuid seems to work) |
@@ -25,7 +25,7 @@ | |||
25 | #ifndef _DEFINES_H | 25 | #ifndef _DEFINES_H |
26 | #define _DEFINES_H | 26 | #define _DEFINES_H |
27 | 27 | ||
28 | /* $Id: defines.h,v 1.139 2007/03/26 16:35:28 tim Exp $ */ | 28 | /* $Id: defines.h,v 1.140 2007/04/29 04:39:03 dtucker Exp $ */ |
29 | 29 | ||
30 | 30 | ||
31 | /* Constants */ | 31 | /* Constants */ |
@@ -68,7 +68,7 @@ enum | |||
68 | # endif | 68 | # endif |
69 | #endif | 69 | #endif |
70 | 70 | ||
71 | #ifndef MAXSYMLINKS | 71 | #if defined(HAVE_DECL_MAXSYMLINKS) && HAVE_DECL_MAXSYMLINKS == 0 |
72 | # define MAXSYMLINKS 5 | 72 | # define MAXSYMLINKS 5 |
73 | #endif | 73 | #endif |
74 | 74 | ||