Kaynağa Gözat

Remove invalid references to gethostname/getipnodebyname

Bryan Drewery 14 yıl önce
ebeveyn
işleme
9f317e1988

+ 1 - 1
build/autotools/configure.ac

@@ -203,7 +203,7 @@ AC_CHECK_FUNCS([strcasecmp strncasecmp vsnprintf])
 
 #autoscan suggested this....
 #These are recommended by autoscan, but no code supports it currently
-#AC_CHECK_FUNCS([alarm bzero dup2 getcwd gethostbyaddr gethostbyname gethostname getpass gettimeofday mbrlen
+#AC_CHECK_FUNCS([alarm bzero dup2 getcwd gethostbyaddr gethostname getpass gettimeofday mbrlen
 #mkdir munmap realpath select setlocale socket strchr strerror strpbrk strrchr strstr strtol tzset])
 
 EGG_CHECK_FUNC_VSPRINTF

+ 0 - 2
build/autotools/includes/acinclude.m4

@@ -407,8 +407,6 @@ AC_DEFUN([EGG_CHECK_LIBS],
   AC_CHECK_LIB(socket, socket)
 #  AC_CHECK_LIB(nsl, connect)
   AC_CHECK_LIB(dl, dlopen)
-#  AC_CHECK_LIB(nsl, gethostbyname)
-#  AC_CHECK_LIB(dns, gethostbyname)
 
 #  AC_CHECK_LIB(z, gzopen, ZLIB="-lz")
   # This is needed for Tcl libraries compiled with thread support

+ 1 - 3
configure

@@ -4710,8 +4710,6 @@ _ACEOF
 
 fi
 
-#  AC_CHECK_LIB(nsl, gethostbyname)
-#  AC_CHECK_LIB(dns, gethostbyname)
 
 #  AC_CHECK_LIB(z, gzopen, ZLIB="-lz")
   # This is needed for Tcl libraries compiled with thread support
@@ -8380,7 +8378,7 @@ done
 
 #autoscan suggested this....
 #These are recommended by autoscan, but no code supports it currently
-#AC_CHECK_FUNCS([alarm bzero dup2 getcwd gethostbyaddr gethostbyname gethostname getpass gettimeofday mbrlen
+#AC_CHECK_FUNCS([alarm bzero dup2 getcwd gethostbyaddr gethostname getpass gettimeofday mbrlen
 #mkdir munmap realpath select setlocale socket strchr strerror strpbrk strrchr strstr strtol tzset])
 
 

+ 0 - 5
src/config-sanity.h

@@ -25,11 +25,6 @@
 #  ifndef HAVE_IPV6
 #    undef USE_IPV6
 #  endif
-#  ifndef HAVE_GETHOSTBYNAME2
-#    ifndef HAVE_GETIPNODEBYNAME
-#      undef USE_IPV6
-#    endif
-#  endif
 #endif
 
 /* TCL sanity check */