[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Initial IRIX compatibility fixes: check for inttypes.h; che...



Update of /home/or/cvsroot/tor
In directory moria.mit.edu:/tmp/cvs-serv21467

Modified Files:
	configure.in 
Log Message:
Initial IRIX compatibility fixes: check for inttypes.h; check for platform cell_t.

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -d -r1.168 -r1.169
--- configure.in	15 Feb 2005 19:48:07 -0000	1.168
+++ configure.in	22 Feb 2005 04:26:44 -0000	1.169
@@ -149,13 +149,14 @@
 
 dnl These headers are not essential
 
-AC_CHECK_HEADERS(stdint.h sys/types.h inttypes.h sys/param.h sys/wait.h sys/limits.h netinet/in.h arpa/inet.h machine/limits.h syslog.h sys/time.h sys/resource.h pthread.h stddef.h)
+AC_CHECK_HEADERS(stdint.h sys/types.h inttypes.h sys/param.h sys/wait.h sys/limits.h netinet/in.h arpa/inet.h machine/limits.h syslog.h sys/time.h sys/resource.h pthread.h stddef.h inttypes.h)
 
 AC_CHECK_FUNCS(gettimeofday ftime socketpair uname inet_aton strptime getrlimit setrlimit strlcat strlcpy strtoull getpwnam ftello pthread_create gethostbyname_r getaddrinfo)
 AC_FUNC_FSEEKO
 
 AC_CHECK_MEMBERS([struct timeval.tv_sec])
 
+
 dnl In case we aren't given a working stdint.h, we'll need to grow our own.
 dnl Watch out.
 
@@ -180,6 +181,10 @@
 AC_CHECK_SIZEOF(__int64)
 AC_CHECK_SIZEOF(void *)
 
+# We want to make sure that we _don't_ have a cell_t defined, like IRIX does.
+
+AC_CHECK_SIZEOF(cell_t)
+
 # Now, let's see about alignment requirements.  On some platforms, we override
 # the default.
 case $host in