]> andersk Git - gssapi-openssh.git/commitdiff
Darwin's getaddrinfo()'s handing of AI_NUMERICHOST is broken so
authorjbasney <jbasney>
Sat, 1 May 2004 19:48:30 +0000 (19:48 +0000)
committerjbasney <jbasney>
Sat, 1 May 2004 19:48:30 +0000 (19:48 +0000)
unconditionally AC_DEFINE(BROKEN_GETADDRINFO) so our reverse lookups
for GSI succeed

openssh/configure.ac

index d52da3e32de9743aa7c9e5a5baf1aa85e028d6ae..bcc0c4b41ae83b2df5becf9af50141fa3d0aae55 100644 (file)
@@ -140,16 +140,7 @@ case "$host" in
        AC_DEFINE(BROKEN_SETREGID)
        ;;
 *-*-darwin*)
-       AC_MSG_CHECKING(if we have working getaddrinfo)
-       AC_TRY_RUN([#include <mach-o/dyld.h>
-main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
-               exit(0);
-       else
-               exit(1);
-}], [AC_MSG_RESULT(working)],
-       [AC_MSG_RESULT(buggy)
-       AC_DEFINE(BROKEN_GETADDRINFO)],
-       [AC_MSG_RESULT(assume it is working)])
+       AC_DEFINE(BROKEN_GETADDRINFO)
        AC_DEFINE(SETEUID_BREAKS_SETUID)
        AC_DEFINE(BROKEN_SETREUID)
        AC_DEFINE(BROKEN_SETREGID)
This page took 0.242814 seconds and 5 git commands to generate.