1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Remove various entries from sysconf which are never actually used.

This commit is contained in:
Sadie Powell
2022-01-04 14:50:12 +00:00
parent 8eb6a4da71
commit 9befb13ea4
3 changed files with 0 additions and 14 deletions
-4
View File
@@ -143,7 +143,6 @@ endif()
# Include the checking functions used later in this CMakeLists.txt
include(CheckFunctionExists)
include(CheckIncludeFile)
include(CheckTypeSize)
include(CheckLibraryExists)
include(CheckCXXCompilerFlag)
@@ -257,9 +256,6 @@ if(CMAKE_BUILD_TYPE STREQUAL "DEBUG" OR CMAKE_BUILD_TYPE STREQUAL "RELWITHDEBINF
set(DEBUG_BUILD TRUE)
endif()
# Check for the existence of the following include files
check_include_file(strings.h HAVE_STRINGS_H)
# Check for the existence of the following functions
check_function_exists(umask HAVE_UMASK)
check_function_exists(epoll_wait HAVE_EPOLL)
-3
View File
@@ -21,9 +21,6 @@
#include <stdexcept>
#include <string.h>
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#ifndef _WIN32
#include <unistd.h>
-7
View File
@@ -14,21 +14,14 @@
#cmakedefine DEBUG_BUILD
#cmakedefine DEFUMASK @DEFUMASK@
#cmakedefine HAVE_STRINGS_H 1
#cmakedefine HAVE_UMASK 1
#cmakedefine HAVE_EVENTFD 1
#cmakedefine HAVE_EPOLL 1
#cmakedefine HAVE_POLL 1
#cmakedefine GETTEXT_FOUND 1
#ifdef _WIN32
# define popen _popen
# define pclose _pclose
# define ftruncate _chsize
# ifdef MSVCPP
# define PATH_MAX MAX_PATH
# endif
# define MAXPATHLEN MAX_PATH
# define bzero(buf, size) memset(buf, 0, size)
# define sleep(x) Sleep(x * 1000)
#endif