ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-7.2/configure.ac
(Generate patch)

Comparing ircd-hybrid-7.2/configure.ac (file contents):
Revision 924 by michael, Mon Nov 12 20:31:07 2007 UTC vs.
Revision 925 by michael, Mon Nov 12 20:59:02 2007 UTC

# Line 89 | Line 89 | else
89   fi
90  
91  
92 < AC_SEARCH_LIBS(crypt, [crypt descrypt], ,)
92 > AC_SEARCH_LIBS(crypt, [crypt descrypt],,)
93   AM_CONDITIONAL([HAVE_CRYPT], [test "$ac_cv_search_crypt" = "none required"])
94  
95  
# Line 179 | Line 179 | AM_CONDITIONAL(ENABLE_SSL, [test "$cf_en
179   AC_ARG_ENABLE(assert, AC_HELP_STRING([--enable-assert], [Enable assert() statements]),
180    [assert=$enableval], [assert=no])
181   if test "$assert" = no; then
182 <  AC_DEFINE(NDEBUG, 1, [Define to disable assert() statements.]))
182 >  AC_DEFINE(NDEBUG, 1, [Define to disable assert() statements.])
183   fi
184  
185  
186 + AC_ARG_ENABLE(small-net,
187 + AC_HELP_STRING([--enable-small-net],[Enable small network support.]),
188 + [small_net=$enableval], [small_net=no])
189 +
190 + if test "$small_net" = yes; then
191 +  AC_DEFINE([NICKNAMEHISTORYLENGTH], 1500, [Size of the WHOWAS array.])
192 +  AC_DEFINE([CHANNEL_HEAP_SIZE], 256, [Size of the channel heap.])
193 +  AC_DEFINE([BAN_HEAP_SIZE], 128, [Size of the ban heap.])
194 +  AC_DEFINE([CLIENT_HEAP_SIZE], 256, [Size of the client heap.])
195 +  AC_DEFINE([LCLIENT_HEAP_SIZE], 128, [Size of the local client heap.])
196 +  AC_DEFINE([DNODE_HEAP_SIZE], 256, [Size of the dlink_node heap.])
197 +  AC_DEFINE([TOPIC_HEAP_SIZE], 256, [Size of the topic heap.])
198 +  AC_DEFINE([DBUF_HEAP_SIZE], 64, [Size of the dbuf heap.])
199 + else
200 +  AC_DEFINE([NICKNAMEHISTORYLENGTH], 15000, [Size of the WHOWAS array.])
201 +  AC_DEFINE([CHANNEL_HEAP_SIZE], 1024, [Size of the channel heap.])
202 +  AC_DEFINE([BAN_HEAP_SIZE], 1024, [Size of the ban heap.])
203 +  AC_DEFINE([CLIENT_HEAP_SIZE], 1024, [Size of the client heap.])
204 +  AC_DEFINE([LCLIENT_HEAP_SIZE], 512, [Size of the local client heap.])
205 +  AC_DEFINE([DNODE_HEAP_SIZE], 1024, [Size of the dlink_node heap.])
206 +  AC_DEFINE([TOPIC_HEAP_SIZE], 1024, [Size of the topic heap.])
207 +  AC_DEFINE([DBUF_HEAP_SIZE], 512, [Size of the dbuf heap.])
208 + fi
209 +
210   # Argument processing.
211   AX_ARG_ENABLE_IOLOOP_MECHANISM
212   AX_ARG_WITH_NICKLEN
213   AX_ARG_WITH_TOPICLEN
190 AX_ARG_WITH_LCLIENT_HEAP_SIZE
191 AX_ARG_WITH_CLIENT_HEAP_SIZE
192 AX_ARG_WITH_CHANNEL_HEAP_SIZE
193 AX_ARG_WITH_DBUF_HEAP_SIZE
194 AX_ARG_WITH_DNODE_HEAP_SIZE
195 AX_ARG_WITH_BAN_HEAP_SIZE
196 AX_ARG_WITH_TOPIC_HEAP_SIZE
197 AX_ARG_WITH_NICKNAME_HISTORY_LENGTH
214   AX_ARG_WITH_SYSLOG
215   AX_ARG_ENABLE_EFNET
216   AX_ARG_ENABLE_HALFOPS

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines