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

[or-cvs] Use getaddrinfo and gethostbyname_r where available. Note ...



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

Modified Files:
	configure.in 
Log Message:
Use getaddrinfo and gethostbyname_r where available.  Note that these are not necessarily threadsafe: this needs more thinking. Perhaps we should back down on this multithreading idea.

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- configure.in	3 Feb 2005 07:29:52 -0000	1.164
+++ configure.in	3 Feb 2005 21:31:04 -0000	1.165
@@ -149,7 +149,7 @@
 
 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)
 
-AC_CHECK_FUNCS(gettimeofday ftime socketpair uname inet_aton strptime getrlimit setrlimit strlcat strlcpy strtoull getpwnam ftello pthread_create)
+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])