From d2f456e5b1ac2b69d27595225cbca3202312341a Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 14 Dec 2016 23:56:02 +0900 Subject: [PATCH] Remove tiny-nghttpd from cmake build system --- CMakeLists.txt | 8 -------- examples/CMakeLists.txt | 4 ---- 2 files changed, 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ad8b561..034a60bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -313,7 +313,6 @@ include(CheckFunctionExists) check_function_exists(_Exit HAVE__EXIT) check_function_exists(accept4 HAVE_ACCEPT4) -# timerfd_create was added in linux kernel 2.6.25 include(CheckSymbolExists) # XXX does this correctly detect initgroups (un)availability on cygwin? check_symbol_exists(initgroups grp.h HAVE_DECL_INITGROUPS) @@ -325,13 +324,6 @@ if(NOT HAVE_DECL_INITGROUPS AND HAVE_UNISTD_H) endif() endif() -check_function_exists(timerfd_create HAVE_TIMERFD_CREATE) -# Checks for epoll availability, primarily for examples/tiny-nghttpd -check_symbol_exists(epoll_create sys/epoll.h HAVE_EPOLL) -if(HAVE_EPOLL AND HAVE_TIMERFD_CREATE) - set(ENABLE_TINY_NGHTTPD 1) -endif() - set(WARNCFLAGS) set(WARNCXXFLAGS) if(CMAKE_C_COMPILER_ID MATCHES "MSVC") diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index b4926575..962066aa 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -29,10 +29,6 @@ if(ENABLE_EXAMPLES) add_executable(libevent-server libevent-server.c $) add_executable(deflate deflate.c $) - if(ENABLE_TINY_NGHTTPD) - add_executable(tiny-nghttpd tiny-nghttpd.c $) - endif() - if(ENABLE_ASIO_LIB) foreach(name asio-sv asio-sv2 asio-cl asio-cl2) add_executable(${name} ${name}.cc $)