mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-29 16:46:37 +02:00
6d3a98653e
The new question in ./Config now defaults to 'auto' (both for new installs and for upgrades). You can still specify a manual limit but it is no longer recommended. A MAXCONNECTIONS of 'auto' means - at present - that UnrealIRCd will try to set a limit of 8192. This is quite a bump from the original 1024. On systems where this is not possible we will simply use the highest amount possible, such as 4096 on many systems, or 1024. In fact, we now no longer error when MAXCONNECTIONS is higher than the 'ulimit -n' limit but will adjust ourselves to the limit. Only if the effective limit is below 100 we will print out a fatal error since running in such a scenario is highly discouraged. The reason for this change is that nowadays with drone attacks we may need to be able to handle more concurrent sockets. Also, many Linux distro's have a default setting of unlimited or 4096 nowadays, out of the box. For people packaging UnrealIRCd (not end-users): The ./configure --with-fd-setsize=xx option was removed and the optional(!!) --with-maxconnections=xx option has been added. We recommend you NOT to pass this option. Not passing it means that the previously mentioned 'auto' mode will be used, which is likely best for most users. Module coders: Although it is unlikely you accessed the 'MAXCLIENTS' variable, if you did, it is now called 'maxclients' (lowercase) since it is adjusted at runtime and no longer a macro.
434 lines
11 KiB
C
434 lines
11 KiB
C
/* include/setup.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Define the directory where the unrealircd binary is located */
|
|
#undef BINDIR
|
|
|
|
/* Define if you have BSD signals */
|
|
#undef BSD_RELIABLE_SIGNALS
|
|
|
|
/* Define the location of the cached remote include files */
|
|
#undef CACHEDIR
|
|
|
|
/* Define the location of the configuration files */
|
|
#undef CONFDIR
|
|
|
|
/* Define the location of permanent data files */
|
|
#undef DATADIR
|
|
|
|
/* The default permissions for configuration files. Set to 0 to prevent
|
|
unrealircd from calling chmod() on the files. */
|
|
#undef DEFAULT_PERMISSIONS
|
|
|
|
/* Define to disable extended ban stacking (~q:~c:\#chan, etc) */
|
|
#undef DISABLE_STACKED_EXTBANS
|
|
|
|
/* Define if you want to disable /set* and /chg* */
|
|
#undef DISABLE_USERMOD
|
|
|
|
/* Define the location of the documentation */
|
|
#undef DOCDIR
|
|
|
|
/* Define if you have getrusage */
|
|
#undef GETRUSAGE_2
|
|
|
|
/* Define if you have gettimeofday */
|
|
#undef GETTIMEOFDAY
|
|
|
|
/* Define if you have the <glob.h> header file. */
|
|
#undef GLOBH
|
|
|
|
/* Define if you have strcasecmp */
|
|
#undef GOT_STRCASECMP
|
|
|
|
/* Define if ssl library has SSL_CTX_set1_curves_list */
|
|
#undef HAS_SSL_CTX_SET1_CURVES_LIST
|
|
|
|
/* Define to 1 if you have the `bcmp' function. */
|
|
#undef HAVE_BCMP
|
|
|
|
/* Define to 1 if you have the `bcopy' function. */
|
|
#undef HAVE_BCOPY
|
|
|
|
/* Define to 1 if you have the `bzero' function. */
|
|
#undef HAVE_BZERO
|
|
|
|
/* Define if you have a compiler with C99 variable length array support */
|
|
#undef HAVE_C99_VARLEN_ARRAY
|
|
|
|
/* Define if you have crypt */
|
|
#undef HAVE_CRYPT
|
|
|
|
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
|
#undef HAVE_DOPRNT
|
|
|
|
/* Define if you have epoll */
|
|
#undef HAVE_EPOLL
|
|
|
|
/* Define to 1 if you have the `epoll_create' function. */
|
|
#undef HAVE_EPOLL_CREATE
|
|
|
|
/* Define to 1 if you have the `epoll_ctl' function. */
|
|
#undef HAVE_EPOLL_CTL
|
|
|
|
/* Define to 1 if you have the `epoll_wait' function. */
|
|
#undef HAVE_EPOLL_WAIT
|
|
|
|
/* Define to 1 if you have the `getrusage' function. */
|
|
#undef HAVE_GETRUSAGE
|
|
|
|
/* Define to 1 if you have the `gettimeofday' function. */
|
|
#undef HAVE_GETTIMEOFDAY
|
|
|
|
/* Define to 1 if you have the `index' function. */
|
|
#undef HAVE_INDEX
|
|
|
|
/* Define to 1 if you have the `inet_addr' function. */
|
|
#undef HAVE_INET_ADDR
|
|
|
|
/* Define to 1 if you have the `inet_ntoa' function. */
|
|
#undef HAVE_INET_NTOA
|
|
|
|
/* Define to 1 if you have the `inet_ntop' function. */
|
|
#undef HAVE_INET_NTOP
|
|
|
|
/* Define to 1 if you have the `inet_pton' function. */
|
|
#undef HAVE_INET_PTON
|
|
|
|
/* Define to 1 if the system has the type `intptr_t'. */
|
|
#undef HAVE_INTPTR_T
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define to 1 if you have the `kevent' function. */
|
|
#undef HAVE_KEVENT
|
|
|
|
/* Define to 1 if you have the `kqueue' function. */
|
|
#undef HAVE_KQUEUE
|
|
|
|
/* Define to 1 if you have the `lrand48' function. */
|
|
#undef HAVE_LRAND48
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#undef HAVE_MEMORY_H
|
|
|
|
/* Define to 1 if you have the `poll' function. */
|
|
#undef HAVE_POLL
|
|
|
|
/* Define if you have PS_STRINGS */
|
|
#undef HAVE_PSSTRINGS
|
|
|
|
/* Define if you have pstat */
|
|
#undef HAVE_PSTAT
|
|
|
|
/* Define if you have POSIX threads libraries and header files. */
|
|
#undef HAVE_PTHREAD
|
|
|
|
/* Have PTHREAD_PRIO_INHERIT. */
|
|
#undef HAVE_PTHREAD_PRIO_INHERIT
|
|
|
|
/* Define if the libcrypto has RAND_egd */
|
|
#undef HAVE_RAND_EGD
|
|
|
|
/* Define if you have setproctitle */
|
|
#undef HAVE_SETPROCTITLE
|
|
|
|
/* Define to 1 if you have the `setrlimit' function. */
|
|
#undef HAVE_SETRLIMIT
|
|
|
|
/* Define to 1 if you have the `snprintf' function. */
|
|
#undef HAVE_SNPRINTF
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#undef HAVE_STDLIB_H
|
|
|
|
/* Define to 1 if you have the `strcasecmp' function. */
|
|
#undef HAVE_STRCASECMP
|
|
|
|
/* Define to 1 if you have the `strerror' function. */
|
|
#undef HAVE_STRERROR
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#undef HAVE_STRING_H
|
|
|
|
/* Define to 1 if you have the `strlcat' function. */
|
|
#undef HAVE_STRLCAT
|
|
|
|
/* Define to 1 if you have the `strlcpy' function. */
|
|
#undef HAVE_STRLCPY
|
|
|
|
/* Define to 1 if you have the `strlncat' function. */
|
|
#undef HAVE_STRLNCAT
|
|
|
|
/* Define to 1 if you have the `strtok' function. */
|
|
#undef HAVE_STRTOK
|
|
|
|
/* Define to 1 if you have the `strtoken' function. */
|
|
#undef HAVE_STRTOKEN
|
|
|
|
/* Define to 1 if you have the `strtoul' function. */
|
|
#undef HAVE_STRTOUL
|
|
|
|
/* Define to 1 if you have the `syslog' function. */
|
|
#undef HAVE_SYSLOG
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
|
|
#undef HAVE_SYS_WAIT_H
|
|
|
|
/* Define to 1 if you have the `times' function. */
|
|
#undef HAVE_TIMES
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define to 1 if you have the `vprintf' function. */
|
|
#undef HAVE_VPRINTF
|
|
|
|
/* Define to 1 if you have the `vsnprintf' function. */
|
|
#undef HAVE_VSNPRINTF
|
|
|
|
/* Define if you want modes shown in /list */
|
|
#undef LIST_SHOW_MODES
|
|
|
|
/* Define the location of the log files */
|
|
#undef LOGDIR
|
|
|
|
/* Define if rlim_t is long long */
|
|
#undef LONG_LONG_RLIM_T
|
|
|
|
/* Define if you have lrand48 */
|
|
#undef LRADN48
|
|
|
|
/* Define to <malloc.h> you need malloc.h. */
|
|
#undef MALLOCH
|
|
|
|
/* Set to the maximum number of connections you want */
|
|
#undef MAXCONNECTIONS_REQUEST
|
|
|
|
/* Set to the max sendq you want */
|
|
#undef MAXSENDQLENGTH
|
|
|
|
/* Define the location of the modules */
|
|
#undef MODULESDIR
|
|
|
|
/* Define if you have O_NDELAY */
|
|
#undef NBLOCK_BSD
|
|
|
|
/* Define if you have O_NONBLOCK */
|
|
#undef NBLOCK_POSIX
|
|
|
|
/* Define if you have FIONBIO */
|
|
#undef NBLOCK_SYSV
|
|
|
|
/* Define if you don't have bcmp */
|
|
#undef NEED_BCMP
|
|
|
|
/* Define if you don't have bcopy */
|
|
#undef NEED_BCOPY
|
|
|
|
/* Define if you need bzero */
|
|
#undef NEED_BZERO
|
|
|
|
/* Define if you need inet_addr */
|
|
#undef NEED_INET_ADDR
|
|
|
|
/* Define if you need inet_ntoa */
|
|
#undef NEED_INET_NTOA
|
|
|
|
/* Define if you need the strerror function. */
|
|
#undef NEED_STRERROR
|
|
|
|
/* Define if you need the strtok function. */
|
|
#undef NEED_STRTOK
|
|
|
|
/* Define if you need the strtoken function. */
|
|
#undef NEED_STRTOKEN
|
|
|
|
/* Set to the nickname history length you want */
|
|
#undef NICKNAMEHISTORYLENGTH
|
|
|
|
/* Define if you do not have the index function. */
|
|
#undef NOINDEX
|
|
|
|
/* Define if you want OperOverride disabled */
|
|
#undef NO_OPEROVERRIDE
|
|
|
|
/* Define if you want opers to have to use /invite to join +s/+p channels */
|
|
#undef OPEROVERRIDE_VERIFY
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
/* Define to the full name of this package. */
|
|
#undef PACKAGE_NAME
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#undef PACKAGE_STRING
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#undef PACKAGE_TARNAME
|
|
|
|
/* Define to the home page for this package. */
|
|
#undef PACKAGE_URL
|
|
|
|
/* Define to the version of this package. */
|
|
#undef PACKAGE_VERSION
|
|
|
|
/* Define if you have the <sys/param.h> header file. */
|
|
#undef PARAMH
|
|
|
|
/* Define the location of permanent data files */
|
|
#undef PERMDATADIR
|
|
|
|
/* Define the path of the pid file */
|
|
#undef PIDFILE
|
|
|
|
/* Define if you have POSIX signals */
|
|
#undef POSIX_SIGNALS
|
|
|
|
/* Define if you want +a/+q prefixes */
|
|
#undef PREFIX_AQ
|
|
|
|
/* Define the location of private libraries */
|
|
#undef PRIVATELIBDIR
|
|
|
|
/* Define to necessary symbol if this constant uses a non-standard name on
|
|
your system. */
|
|
#undef PTHREAD_CREATE_JOINABLE
|
|
|
|
/* Define if you have the <sys/rusage.h> header file. */
|
|
#undef RUSAGEH
|
|
|
|
/* Define the directory where the unrealircd start stop scripts is located */
|
|
#undef SCRIPTDIR
|
|
|
|
/* Define to 1 if the `setpgrp' function takes no argument. */
|
|
#undef SETPGRP_VOID
|
|
|
|
/* Define if you want users to be notified when their shun is removed */
|
|
#undef SHUN_NOTICES
|
|
|
|
/* The size of `int', as computed by sizeof. */
|
|
#undef SIZEOF_INT
|
|
|
|
/* The size of `long', as computed by sizeof. */
|
|
#undef SIZEOF_LONG
|
|
|
|
/* The size of `rlim_t', as computed by sizeof. */
|
|
#undef SIZEOF_RLIM_T
|
|
|
|
/* The size of `short', as computed by sizeof. */
|
|
#undef SIZEOF_SHORT
|
|
|
|
/* Link... statically(?) (defining this macro will probably cause the build
|
|
tofail) */
|
|
#undef STATIC_LINKING
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Define if you have the <stddef.h> header file. */
|
|
#undef STDDEFH
|
|
|
|
/* Define if you have the <stdlib.h> header file. */
|
|
#undef STDLIBH
|
|
|
|
/* Define if you have the <string.h> header file. */
|
|
#undef STRINGH
|
|
|
|
/* Define if you have the <strings.h> header file. */
|
|
#undef STRINGSH
|
|
|
|
/* Define if you have the <sys/syslog.h> header file. */
|
|
#undef SYSSYSLOGH
|
|
|
|
/* Define if you have SYSV signals */
|
|
#undef SYSV_UNRELIABLE_SIGNALS
|
|
|
|
/* Define if you have times */
|
|
#undef TIMES_2
|
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
#undef TIME_WITH_SYS_TIME
|
|
|
|
/* Define the location of private temporary files */
|
|
#undef TMPDIR
|
|
|
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
|
#undef TM_IN_SYS_TIME
|
|
|
|
/* Define if your system prepends an underscore to symbols */
|
|
#undef UNDERSCORE
|
|
|
|
/* Define if you have the <unistd.h> header file. */
|
|
#undef UNISTDH
|
|
|
|
/* Generation version number (e.g.: X for X.Y.Z) */
|
|
#undef UNREAL_VERSION_GENERATION
|
|
|
|
/* Major version number (e.g.: Y for X.Y.Z) */
|
|
#undef UNREAL_VERSION_MAJOR
|
|
|
|
/* Minor version number (e.g.: Z for X.Y.Z) */
|
|
#undef UNREAL_VERSION_MINOR
|
|
|
|
/* Version suffix such as a beta marker or release candidate marker. (e.g.:
|
|
-rcX for unrealircd-3.2.9-rcX) */
|
|
#undef UNREAL_VERSION_SUFFIX
|
|
|
|
/* Define if you have libcurl installed to get remote includes and MOTD
|
|
support */
|
|
#undef USE_LIBCURL
|
|
|
|
/* Define if you are compiling unrealircd on Sun's (or Oracle's?) Solaris */
|
|
#undef _SOLARIS
|
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
#undef const
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
#undef gid_t
|
|
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
#ifndef __cplusplus
|
|
#undef inline
|
|
#endif
|
|
|
|
/* Define to `short' if <sys/types.h> does not define. */
|
|
#undef int16_t
|
|
|
|
/* Define to `long' if <sys/types.h> does not define. */
|
|
#undef int32_t
|
|
|
|
/* Define to the type of a signed integer type wide enough to hold a pointer,
|
|
if such a type exists, and if the system does not define it. */
|
|
#undef intptr_t
|
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
#undef mode_t
|
|
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
|
#undef size_t
|
|
|
|
/* Define to `unsigned short' if <sys/types.h> does not define. */
|
|
#undef u_int16_t
|
|
|
|
/* Define to `unsigned long' if <sys/types.h> does not define. */
|
|
#undef u_int32_t
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
#undef uid_t
|