summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac15
2 files changed, 13 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index eca278f2f..39e0ba45d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120100410
2 - (dtucker) [configure.ac] Put the check for the existence of getaddrinfo
3 back so we disable the IPv6 tests if we don't have it.
4
120100409 520100409
2 - (dtucker) [contrib/cygwin/Makefile] Don't overwrite files with the wrong 6 - (dtucker) [contrib/cygwin/Makefile] Don't overwrite files with the wrong
3 ones. Based on a patch from Roumen Petrov. 7 ones. Based on a patch from Roumen Petrov.
diff --git a/configure.ac b/configure.ac
index a564c1340..0a0e2ea15 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.448 2010/04/09 08:13:27 dtucker Exp $ 1# $Id: configure.ac,v 1.449 2010/04/10 12:58:01 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
17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) 17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
18AC_REVISION($Revision: 1.448 $) 18AC_REVISION($Revision: 1.449 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20 20
21AC_CONFIG_HEADER(config.h) 21AC_CONFIG_HEADER(config.h)
@@ -4123,10 +4123,13 @@ dnl Adding -Werror to CFLAGS early prevents configure tests from running.
4123dnl Add now. 4123dnl Add now.
4124CFLAGS="$CFLAGS $werror_flags" 4124CFLAGS="$CFLAGS $werror_flags"
4125 4125
4126AC_CHECK_DECL(BROKEN_GETADDRINFO, 4126if test "x$ac_cv_func_getaddrinfo" != "xyes" ; then
4127 AC_SUBST(TEST_SSH_IPV6, no), 4127 TEST_SSH_IPV6=no
4128 AC_SUBST(TEST_SSH_IPV6, yes) 4128else
4129) 4129 TEST_SSH_IPV6=yes
4130fi
4131AC_CHECK_DECL(BROKEN_GETADDRINFO, TEST_SSH_IPV6=no)
4132AC_SUBST(TEST_SSH_IPV6, $TEST_SSH_IPV6)
4130 4133
4131AC_EXEEXT 4134AC_EXEEXT
4132AC_CONFIG_FILES([Makefile buildpkg.sh opensshd.init openssh.xml \ 4135AC_CONFIG_FILES([Makefile buildpkg.sh opensshd.init openssh.xml \