diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-04-13 15:51:08 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-04-13 15:51:08 -0700 |
commit | 13a5993b31ad0fb483272d8269d249d78ed01dd5 (patch) | |
tree | 09985c653ccb64c8ea90c0da0740b329fa10f966 /src/conf_post.h | |
parent | ced78c5a65b64b0e520b03cd3a987374ea4ca7d2 (diff) | |
download | emacs-13a5993b31ad0fb483272d8269d249d78ed01dd5.tar.gz |
Port to IRIX 6.5.
This port requires IRIX cc, as I did not have time to get
undump working with the old GCC on the system I had access to,
but that's better than nothing.
* configure.ac (gl_GCC_VERSION_IFELSE): Remove unused macro
that wouldn't have worked anyway, with IRIX cc.
(emacs_cv_clang, emacs_cv_sanitize_address)
(ns_osx_have_104, ns_osx_have_105):
Don't assume '#error' makes the compiler fail,
as this doesn't work with IRIX cc.
(CFLAGS, LIBS): Don't let the GnuTLS results infect later 'configure'
checks. This runs afoul of an IRIX configuration where GnuTLS is
in an optional library that also contains getdelim, and causes
a later 'configure' to incorrectly think getdelim is supported.
* src/alloc.c (TAGGABLE_NULL): New constant,
for porting to hosts with nontrivial DATA_SEG_BITS settings.
(next_vector, set_next_vector): Use it.
* src/conf_post.h (INET6) [IRIX6_5]: Define.
(HAVE_GETADDRINFO) [IRIX6_5]: Undef.
* src/data.c (BITS_PER_ULL): Don't assume ULLONG_MAX is defined.
* src/lisp.h (lisp_h_XPNTR): Don't OR in bits that aren't masked out,
for consistency with how TAGGABLE_NULL is computed.
Fixes: debbugs:9684
Diffstat (limited to 'src/conf_post.h')
-rw-r--r-- | src/conf_post.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf_post.h b/src/conf_post.h index 80d561090ed..bb3be1bb1ea 100644 --- a/src/conf_post.h +++ b/src/conf_post.h @@ -99,7 +99,8 @@ typedef bool bool_bf; #ifdef emacs char *_getpty(); #endif - +#define INET6 /* Needed for struct sockaddr_in6. */ +#undef HAVE_GETADDRINFO /* IRIX has getaddrinfo but not struct addrinfo. */ #endif /* IRIX6_5 */ #ifdef MSDOS |