summaryrefslogtreecommitdiff
path: root/event-config.h.cmake
diff options
context:
space:
mode:
authorPierce Lopez <pierce.lopez@gmail.com>2017-03-02 21:09:32 -0500
committerAzat Khuzhin <a3at.mail@gmail.com>2017-03-06 01:39:29 +0300
commit5d18d87916728df67640bd225967c6d6df4a54f8 (patch)
tree57f0c347f8900343121ca193161501d246983252 /event-config.h.cmake
parent8df81546f3f25ac83888eca31843484703232492 (diff)
downloadlibevent-5d18d87916728df67640bd225967c6d6df4a54f8.tar.gz
Do not check for ERR_remove_thread_state() (do not link ssl into every library)
This reverts commit c4e9d9bd662de7f575f2172c160795d452ebe709 ("sample/https-client: check for ERR_remove_thread_state() existence"). Calling AC_SEARCH_LIBS() modifies LIBS - -lcrypto incorrectly ends up in LIBS, and thus linked to by libevent_core.so. Checking for ERR_remove_thread_state should no longer be needed because it was introduced in openssl 1.0.0, and the previous line 0.9.8 had support discontinued at the end of 2015. Fixes: #473
Diffstat (limited to 'event-config.h.cmake')
-rw-r--r--event-config.h.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/event-config.h.cmake b/event-config.h.cmake
index faa159b7..472ffe17 100644
--- a/event-config.h.cmake
+++ b/event-config.h.cmake
@@ -526,9 +526,6 @@
#cmakedefine EVENT__NEED_DLLIMPORT
-/* Define to 1 if you have ERR_remove_thread_stat(). */
-#cmakedefine EVENT__HAVE_ERR_REMOVE_THREAD_STATE
-
/* Define if waitpid() supports WNOWAIT */
#cmakedefine EVENT__HAVE_WAITPID_WITH_WNOWAIT