| 2 |
|
|
| 3 |
|
$Id$ |
| 4 |
|
|
| 5 |
< |
Copyright (c) 1997-2005 IRCD-Hybrid Development Team |
| 5 |
> |
Copyright (c) 1997-2007 IRCD-Hybrid Development Team |
| 6 |
|
|
| 7 |
|
---------------------------------------------------------------------- |
| 8 |
|
|
| 33 |
|
Config script. You must run ./configure before you can (sanely) build |
| 34 |
|
ircd-hybrid. |
| 35 |
|
|
| 36 |
< |
1. Read the RELNOTES file to find out about the exciting new features in |
| 36 |
> |
1. Read the NEWS file to find out about the exciting new features in |
| 37 |
|
this version. Other good reads are doc/whats-new.txt, BUGS, |
| 38 |
|
etc/example.conf, and README.FIRST. |
| 39 |
|
|
| 40 |
|
An example.conf for EFnet is in etc/ with the values "approved" as of |
| 41 |
|
October 12th, 2003 called example.efnet.conf. |
| 42 |
|
|
| 43 |
< |
2. Run the configure script. It will create include/setup.h and the |
| 43 |
> |
2. Run the configure script. It will create config.h and the |
| 44 |
|
Makefiles to match your system. In hybrid-7, the paths are now handled |
| 45 |
|
with the --prefix option to configure. |
| 46 |
|
/usr/local/ircd is the default if no prefix is specified. |
| 52 |
|
undefined results: |
| 53 |
|
|
| 54 |
|
* --enable-kqueue - Use the superior kqueue(2) system call as |
| 55 |
< |
opposed to the default poll(2). This is currently only available |
| 55 |
> |
opposed to the default poll(2). This is currently only available |
| 56 |
|
on FreeBSD 4.1 or higher. |
| 57 |
|
|
| 58 |
|
* --enable-devpoll - Enable the superior /dev/poll support on |
| 59 |
< |
Solaris. Linux /dev/poll is broken and will not work with this |
| 59 |
> |
Solaris. Linux /dev/poll is broken and will not work with this |
| 60 |
|
option. |
| 61 |
|
|
| 62 |
+ |
* --enable-epoll - Enables epoll(4) Signal I/O system. This is |
| 63 |
+ |
currently only available on 2.5.44 Linux kernel versions or |
| 64 |
+ |
later. |
| 65 |
+ |
|
| 66 |
|
* --enable-rtsigio - Enable the superior Linux RealTime Signal I/O |
| 67 |
< |
system. This is currently only available on 2.4 Linux kernel |
| 67 |
> |
system. This is currently only available on 2.4 Linux kernel |
| 68 |
|
versions or later. |
| 69 |
|
|
| 70 |
|
* --enable-poll - Use POSIX poll(2). |
| 71 |
|
|
| 72 |
|
* --enable-select - Use POSIX select(2). |
| 73 |
|
|
| 70 |
– |
* --enable-clobber - Don't preserve the old binaries on make install |
| 71 |
– |
|
| 74 |
|
Incidentally, the order of listing above is the order of auto- |
| 75 |
< |
detection in configure. So if you do have kqueue but wish to |
| 75 |
> |
detection in configure. So if you do have kqueue but wish to |
| 76 |
|
enable select(2) instead (bad idea), you must use --enable-select. |
| 77 |
|
|
| 78 |
|
* --enable-openssl - Enable the openssl dependent crypto functions. |
| 79 |
|
This will allow CHALLENGE to work and encrypted links. On systems |
| 80 |
|
where the configure script can automatically detect OpenSSL, this |
| 81 |
< |
option is not necessary. If configure cannot find OpenSSL, you |
| 81 |
> |
option is not necessary. If configure cannot find OpenSSL, you |
| 82 |
|
must specify a path with this option |
| 83 |
|
(--enable-openssl=/path/to/openssl) |
| 84 |
|
|
| 85 |
|
These are optional or have default values that may be overridden: |
| 86 |
|
|
| 87 |
< |
* --disable-shared-modules - Disable module support. This option is |
| 87 |
> |
* --disable-shared-modules - Disable module support. This option is |
| 88 |
|
more secure, but reduces a lot of the flexibility in hybrid-7. |
| 89 |
|
This may need to be used on some systems without a working |
| 90 |
|
dlopen/dlsym. |
| 91 |
|
|
| 92 |
< |
* --enable-assert - Enable use of numerous debugging checks. This |
| 92 |
> |
* --enable-assert - Enable use of numerous debugging checks. This |
| 93 |
|
should not be used on any production servers for maximum speed |
| 94 |
|
so as to prevent cores from things that shouldn't normally happen. |
| 95 |
|
|
| 94 |
– |
* --enable-efence - Enable ElectricFence which is a memory debugger. |
| 95 |
– |
|
| 96 |
– |
* --enable-profile - Enable profiling support in ircd-hybrid. |
| 97 |
– |
|
| 98 |
– |
* --disable-block-alloc - Disable block allocations (only works with |
| 99 |
– |
ElectricFence). |
| 100 |
– |
|
| 96 |
|
* --enable-halfops - Enable halfops (%, mode +h) usage. Halfops |
| 97 |
|
are similar to plain ops, but can't kick/deop plain ops. Halfops |
| 98 |
|
may or may not kick/deop other halfops depending on if (+p) is |
| 116 |
|
maximum TOPIC length. Note that this must be consistent across your |
| 117 |
|
entire network. Defaults are 9 and 120, respectively. |
| 118 |
|
|
| 124 |
– |
* --with-maxconn - Sets the maximum number of connections the ircd |
| 125 |
– |
can support. Note that this also twiddles the HARD_FDLIMIT. |
| 126 |
– |
If HARD_FDLIMIT ends up being larger that FD_SETSIZE when using |
| 127 |
– |
select() for your I/O loop, s_bsd_select.c will refuse to compile |
| 128 |
– |
(and tell you to use poll instead). Take this error's advice and |
| 129 |
– |
use --enable-poll or something a bit more efficient. You'll be |
| 130 |
– |
happier at the end of the day for it. |
| 131 |
– |
|
| 119 |
|
* --disable-zlib - Build the ircd without ziplinks support. |
| 120 |
|
|
| 121 |
|
* --disable-gline-voting - This is good for small networks or where |