[or-cvs] Stop solaris from warning about localtime_r and friends. AF...

Nick Mathewson nickm at seul.org
Wed Aug 24 02:11:35 UTC 2005


Update of /home/or/cvsroot/tor
In directory moria:/tmp/cvs-serv29156

Modified Files:
	configure.in 
Log Message:
Stop solaris from warning about localtime_r and friends. AFAICT, no other platforms want this.

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.229
retrieving revision 1.230
diff -u -d -r1.229 -r1.230
--- configure.in	23 Aug 2005 10:01:06 -0000	1.229
+++ configure.in	24 Aug 2005 02:11:33 -0000	1.230
@@ -44,6 +44,12 @@
   AC_DEFINE(ENABLE_THREADS, 1, [Defined if we will try to use multithreading])
 fi
 
+case $host in
+   *-*-solaris* )
+     AC_DEFINE(_REENTRANT, 1, [Define on some platforms to activate x_r() functions in time.h])
+     ;;
+esac
+
 AC_PROG_CC
 AC_PROG_MAKE_SET
 AC_PROG_RANLIB



More information about the tor-commits mailing list