]> andersk Git - openssh.git/blobdiff - configure.ac
- (dtucker) [Makefile.in configure.ac regress/addrmatch.sh] Skip IPv6
[openssh.git] / configure.ac
index cda2324dcd0d251b95e13296f617e1b79af96e5c..7600765bfa9efd3f3944b6e490556ddc0ca21bf3 100644 (file)
@@ -4068,6 +4068,13 @@ dnl Adding -Werror to CFLAGS early prevents configure tests from running.
 dnl Add now.
 CFLAGS="$CFLAGS $werror_flags"
 
+if grep "#define BROKEN_GETADDRINFO 1" confdefs.h >/dev/null || \
+    test "x$ac_cv_func_getaddrinfo" != "xyes" ; then
+       AC_SUBST(TEST_SSH_IPV6, no)
+else
+       AC_SUBST(TEST_SSH_IPV6, yes)
+fi
+
 AC_EXEEXT
 AC_CONFIG_FILES([Makefile buildpkg.sh opensshd.init openssh.xml \
        openbsd-compat/Makefile openbsd-compat/regress/Makefile \
This page took 0.04312 seconds and 4 git commands to generate.