]> granicus.if.org Git - libevent/commit
Merge branch 'cmake-configure-fixes-v2'
authorAzat Khuzhin <a3at.mail@gmail.com>
Wed, 8 Mar 2017 14:58:26 +0000 (17:58 +0300)
committerAzat Khuzhin <azat@libevent.org>
Sat, 2 Feb 2019 12:13:49 +0000 (15:13 +0300)
commita0bfe2c451bc375c5945c684a6409ac4d7114e61
tree851596684b44b814666bdbf2290edcef6d283de8
parent0864138a8fb731762193ab2adf0032c462b1a47d
Merge branch 'cmake-configure-fixes-v2'

Fixes in cmake, to make it more like configure and support some
cross-compiling.

* cmake-configure-fixes-v2:
  cmake: fix extracting of the version from git (check for number of matches)
  Detect arch4random_addrandom() existence
  Use off_t instead of ev_off_t for sendfile() (fixes android build)
  cmake: detect _GNU_SOURCE not by __GNU_LIBRARY__ only (fallback to _GNU_SOURCE)
  Check for WNOWAIT in waitpid() in runtime (not in cmake/configure)
  cmake: add <pthread.h> into CMAKE_REQUIRED_INCLUDES for sizeof(pthread_t)
  cmake: fix values for #cmakedefine
  cmake: drop duplicates from event-config template
  cmake: add value for the #cmakedefine macros (like autoconf)
  cmake: Fix checking of enum values from sysctl.h

(cherry picked from commit 5aade2d30b6c5eff226cbf7b63fda5a01987ba4f)
CMakeLists.txt
buffer.c
cmake/CheckConstExists.cmake [new file with mode: 0644]
cmake/CheckWaitpidSupportWNOWAIT.cmake [deleted file]
cmake/VersionViaGit.cmake
configure.ac
event-config.h.cmake
evutil_rand.c
include/event2/util.h
test/regress.c