>>>> "MS" == Michael Sperber
<sperber(a)informatik.uni-tuebingen.de> writes:
MS> This patch:
MS> 2000-01-27 URA Hiroshi <ura(a)hiru.aoba.yokohama.jp>
MS> * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
MS> * sysdep.c: In init_system_name(), add code to use getaddrinfo()
MS> instead of gethostbyname()
MS> * process-unix.c: In unix_canonicalize_host_name() and
MS> unix_open_network_stream(), add code to use getaddrinfo()
MS> instead of gethostbyname().
MS> breaks networking on AIX 4.3. This shows up in the IBM APARs as
MS> IY04165, but there's not PTF for the problem (yet?) which makes
MS> patching the OS a lengthy and impractical operation.
MS> What's the PC way to tell XEmacs getaddrinfo is broken on a specific
MS> platform?
There's no real approved way currently, but you can always
configure;
remove
#define HAVE_GETADDRINFO 1
from the generated config.h and
make
The s&m way to do it is to put
#undef HAVE_GETADDRINFO
into s/aix4.h
The configure way is to do something like
case "$opsys" in aix*) : ;; *) AC_CHECK_FUNCS(getaddrinfo) ;; esac
Martin