diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 12 |
2 files changed, 10 insertions, 8 deletions
@@ -1,4 +1,8 @@ | |||
1 | 20100307 | 1 | 20100309 |
2 | - (dtucker) [configure.ac] Use a proper AC_CHECK_DECL for BROKEN_GETADDRINFO | ||
3 | so setting it in CFLAGS correctly skips IPv6 tests. | ||
4 | |||
5 | 20100308 | ||
2 | - (djm) OpenBSD CVS Sync | 6 | - (djm) OpenBSD CVS Sync |
3 | - djm@cvs.openbsd.org 2010/03/07 22:16:01 | 7 | - djm@cvs.openbsd.org 2010/03/07 22:16:01 |
4 | [ssh-keygen.c] | 8 | [ssh-keygen.c] |
diff --git a/configure.ac b/configure.ac index a9960a7ba..331fb4572 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.444 2010/03/05 04:04:35 djm Exp $ | 1 | # $Id: configure.ac,v 1.445 2010/03/09 09:42:31 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.444 $) | 18 | AC_REVISION($Revision: 1.445 $) |
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) |
@@ -4128,12 +4128,10 @@ dnl Adding -Werror to CFLAGS early prevents configure tests from running. | |||
4128 | dnl Add now. | 4128 | dnl Add now. |
4129 | CFLAGS="$CFLAGS $werror_flags" | 4129 | CFLAGS="$CFLAGS $werror_flags" |
4130 | 4130 | ||
4131 | if grep "#define BROKEN_GETADDRINFO 1" confdefs.h >/dev/null || \ | 4131 | AC_CHECK_DECL(BROKEN_GETADDRINFO, |
4132 | test "x$ac_cv_func_getaddrinfo" != "xyes" ; then | 4132 | AC_SUBST(TEST_SSH_IPV6, no), |
4133 | AC_SUBST(TEST_SSH_IPV6, no) | ||
4134 | else | ||
4135 | AC_SUBST(TEST_SSH_IPV6, yes) | 4133 | AC_SUBST(TEST_SSH_IPV6, yes) |
4136 | fi | 4134 | ) |
4137 | 4135 | ||
4138 | AC_EXEEXT | 4136 | AC_EXEEXT |
4139 | AC_CONFIG_FILES([Makefile buildpkg.sh opensshd.init openssh.xml \ | 4137 | AC_CONFIG_FILES([Makefile buildpkg.sh opensshd.init openssh.xml \ |