resume building on irix64

svn:r6198
This commit is contained in:
Roger Dingledine 2006-03-19 20:36:26 +00:00
parent 88b67d48f0
commit ed82152ab7
1 changed files with 3 additions and 2 deletions

View File

@ -132,8 +132,9 @@ AC_CACHE_CHECK([for libevent directory], ac_cv_libevent_dir, [
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