diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 15 |
2 files changed, 13 insertions, 6 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20100410 | ||
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 | |||
1 | 20100409 | 5 | 20100409 |
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 | ||
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.448 $) | 18 | AC_REVISION($Revision: 1.449 $) |
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) |
@@ -4123,10 +4123,13 @@ dnl Adding -Werror to CFLAGS early prevents configure tests from running. | |||
4123 | dnl Add now. | 4123 | dnl Add now. |
4124 | CFLAGS="$CFLAGS $werror_flags" | 4124 | CFLAGS="$CFLAGS $werror_flags" |
4125 | 4125 | ||
4126 | AC_CHECK_DECL(BROKEN_GETADDRINFO, | 4126 | if 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) | 4128 | else |
4129 | ) | 4129 | TEST_SSH_IPV6=yes |
4130 | fi | ||
4131 | AC_CHECK_DECL(BROKEN_GETADDRINFO, TEST_SSH_IPV6=no) | ||
4132 | AC_SUBST(TEST_SSH_IPV6, $TEST_SSH_IPV6) | ||
4130 | 4133 | ||
4131 | AC_EXEEXT | 4134 | AC_EXEEXT |
4132 | AC_CONFIG_FILES([Makefile buildpkg.sh opensshd.init openssh.xml \ | 4135 | AC_CONFIG_FILES([Makefile buildpkg.sh opensshd.init openssh.xml \ |