]> granicus.if.org Git - libevent/commit
Fix some autoconf issues on OpenBSD
authorNick Mathewson <nickm@torproject.org>
Sun, 9 May 2010 03:29:29 +0000 (23:29 -0400)
committerNick Mathewson <nickm@torproject.org>
Sun, 9 May 2010 03:31:35 +0000 (23:31 -0400)
commit7c519dfd4fc62493d4ed07f77f9aa4a7bb472cd6
tree255174f985c134f2d2006c69f586622bdb725dff
parentc1cd32a156b75fa692471def021261126df33f88
Fix some autoconf issues on OpenBSD

Issue 1: autoconf gets accept when a header works properly with cpp
but not with cc.  This was true of the sys/sysctl.h header on
openbsd.  The fix: include sys/param.h (if present) when testing for
sys/sysctl.h

Issue 2: Somehow, autoconf's macro generation code is messed up on
some versions of openbsd (including mine, and other people's too) so
that instead of SIZEOF_VOID_P, it makes SIZEOF_VOID__.
evutil/util.h now works around that.
configure.in
include/event2/util.h