[or-cvs] r14641: More muddling around to get configure.in to recognize recent (tor/trunk)

nickm at seul.org nickm at seul.org
Fri May 16 20:13:10 UTC 2008


Author: nickm
Date: 2008-05-16 16:13:10 -0400 (Fri, 16 May 2008)
New Revision: 14641

Modified:
   tor/trunk/configure.in
Log:
More muddling around to get configure.in to recognize recent libevents.  Really, libevent should be fixed too so that the next poor sucker doesn't have to do this.

Modified: tor/trunk/configure.in
===================================================================
--- tor/trunk/configure.in	2008-05-16 19:44:57 UTC (rev 14640)
+++ tor/trunk/configure.in	2008-05-16 20:13:10 UTC (rev 14641)
@@ -238,10 +238,14 @@
 #include <stdlib.h>
 #include <sys/time.h>
 #include <sys/types.h>
-#include <event.h>], [void exit(int); void *event_init(void);],
+#include <event.h>], [
+#ifdef WIN32
+#include <winsock2.h>
+#endif
+void exit(int); void *event_init(void);],
     [
 #ifdef WIN32
-{WSAData d; WSAStartup(0x101,&d); }
+{WSADATA d; WSAStartup(0x101,&d); }
 #endif
 event_init(); exit(0);
 ], [--with-libevent-dir], [/opt/libevent])



More information about the tor-commits mailing list