diff options
author | Damien Miller <djm@mindrot.org> | 2000-01-19 14:36:49 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-01-19 14:36:49 +1100 |
commit | 7d80e3484b5a41249bee4d43b4c9a58d6ebe90a6 (patch) | |
tree | 80f2ae37acdadd0c5b409e63b454083e5367c6ab /configure.in | |
parent | eaf9994f7e5fdddb7ded0cd9d757921ed8a9dc67 (diff) |
- Linux/glibc-2.1.2 takes a *long* time to look up names for AF_UNSPEC
addresses using getaddrinfo(). Added a configure switch to make the
default lookup mode AF_INET
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index d11c519df..45df18f6d 100644 --- a/configure.in +++ b/configure.in | |||
@@ -662,6 +662,15 @@ AC_ARG_WITH(default-path, | |||
662 | ] | 662 | ] |
663 | ) | 663 | ) |
664 | 664 | ||
665 | AC_ARG_WITH(ipv4-default, | ||
666 | [ --with-ipv4-default Use IPv4 by connections unless '-6' specified], | ||
667 | [ | ||
668 | if test "x$withval" != "xno" ; then | ||
669 | AC_DEFINE(IPV4_DEFAULT) | ||
670 | fi | ||
671 | ] | ||
672 | ) | ||
673 | |||
665 | piddir=/var/run | 674 | piddir=/var/run |
666 | AC_ARG_WITH(pid-dir, | 675 | AC_ARG_WITH(pid-dir, |
667 | [ --with-pid-dir=PATH Specify location of ssh.pid file], | 676 | [ --with-pid-dir=PATH Specify location of ssh.pid file], |