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

[or-cvs] resume building on irix64



Update of /home2/or/cvsroot/tor
In directory moria:/home/arma/work/onion/cvs/tor

Modified Files:
	configure.in 
Log Message:
resume building on irix64


Index: configure.in
===================================================================
RCS file: /home2/or/cvsroot/tor/configure.in,v
retrieving revision 1.276
retrieving revision 1.277
diff -u -p -d -r1.276 -r1.277
--- configure.in	19 Mar 2006 04:43:33 -0000	1.276
+++ configure.in	19 Mar 2006 20:36:26 -0000	1.277
@@ -132,8 +132,9 @@ AC_CACHE_CHECK([for libevent directory],
       fi
     fi
     # Can I compile and link it?
-    AC_TRY_LINK([struct timeval { long tv_sec; long tv_usec; };
-typedef unsigned char u_char; typedef unsigned long size_t;
+    AC_TRY_LINK([typedef unsigned char u_char; typedef unsigned long size_t;
+#include <sys/time.h>
+#include <sys/types.h>
 #include <event.h>], [ event_init(); ],
        [ libevent_linked=yes ], [ libevent_linked=no ])
     if test $libevent_linked = yes; then