-AC_ARG_ENABLE(balloc,
-AC_HELP_STRING([--disable-balloc],[Disable the block allocator.]),
-[balloc=$enableval], [balloc=yes])
-
-if test "$balloc" = no; then
- AC_DEFINE([NOBALLOC], 1, [Define to 1 if you wish to disable the block allocator.])
-fi
-
-AC_ARG_ENABLE(small-net,
-AC_HELP_STRING([--enable-small-net],[Enable small network support.]),
-[small_net=$enableval], [small_net=no])
-
-if test "$small_net" = yes; then
-dnl AC_DEFINE([HASHSIZE], 4096, [Max number of buckets in hash tables.])
- AC_DEFINE([NICKNAMEHISTORYLENGTH], 1500, [Size of the WHOWAS array.])
- AC_DEFINE([CHANNEL_HEAP_SIZE], 256, [Size of the channel heap.])
- AC_DEFINE([BAN_HEAP_SIZE], 128, [Size of the ban heap.])
- AC_DEFINE([CLIENT_HEAP_SIZE], 256, [Size of the client heap.])
- AC_DEFINE([LCLIENT_HEAP_SIZE], 128, [Size of the local client heap.])
- AC_DEFINE([PCLIENT_HEAP_SIZE], 32, [Size of the pre-client heap.])
- AC_DEFINE([USER_HEAP_SIZE], 128, [Size of the user heap.])
- AC_DEFINE([DNODE_HEAP_SIZE], 256, [Size of the dlink_node heap.])
- AC_DEFINE([TOPIC_HEAP_SIZE], 256, [Size of the topic heap.])
- AC_DEFINE([LINEBUF_HEAP_SIZE], 128, [Size of the linebuf heap.])
- AC_DEFINE([MEMBER_HEAP_SIZE], 256, [Sizeof member heap.])
- AC_DEFINE([ND_HEAP_SIZE], 128, [Size of the nick delay heap.])
- AC_DEFINE([CONFITEM_HEAP_SIZE], 128, [Size of the confitem heap.])
- AC_DEFINE([MONITOR_HEAP_SIZE], 128, [Size of the monitor heap.])
- AC_DEFINE([FD_HEAP_SIZE], 128, [Size of fd heap.])
- AC_DEFINE([AWAY_HEAP_SIZE], 128, [Size of away heap.])
-else
-dnl These settings are for a large network like efnet..they will use lots of memory
-dnl so enable small net unless you really need this much support
- AC_DEFINE([NICKNAMEHISTORYLENGTH], 15000, [Size of the WHOWAS array.])
- AC_DEFINE([CHANNEL_HEAP_SIZE], 8192, [Size of the channel heap.])
- AC_DEFINE([BAN_HEAP_SIZE], 4096, [Size of the ban heap.])
- AC_DEFINE([CLIENT_HEAP_SIZE], 8192, [Size of the client heap.])
- AC_DEFINE([LCLIENT_HEAP_SIZE], 1024, [Size of the local client heap.])
- AC_DEFINE([PCLIENT_HEAP_SIZE], 256, [Size of the pre-client heap.])
- AC_DEFINE([USER_HEAP_SIZE], 8192, [Size of the user heap.])
- AC_DEFINE([DNODE_HEAP_SIZE], 8192, [Size of the dlink_node heap.])
- AC_DEFINE([TOPIC_HEAP_SIZE], 4096, [Size of the topic heap.])
- AC_DEFINE([LINEBUF_HEAP_SIZE], 2048, [Size of the linebuf heap.])
- AC_DEFINE([MEMBER_HEAP_SIZE], 32768, [Sizeof member heap.])
- AC_DEFINE([ND_HEAP_SIZE], 512, [Size of the nick delay heap.])
- AC_DEFINE([CONFITEM_HEAP_SIZE], 256, [Size of the confitem heap.])
- AC_DEFINE([MONITOR_HEAP_SIZE], 1024, [Size of the monitor heap.])
- AC_DEFINE([FD_HEAP_SIZE], 1024, [Size of fd heap.])
- AC_DEFINE([AWAY_HEAP_SIZE], 512, [Size of away heap.])
-fi
+AC_DEFINE([NICKNAMEHISTORYLENGTH], 15000, [Size of the WHOWAS array.])
+AC_DEFINE([CHANNEL_HEAP_SIZE], 8192, [Size of the channel heap.])
+AC_DEFINE([BAN_HEAP_SIZE], 4096, [Size of the ban heap.])
+AC_DEFINE([CLIENT_HEAP_SIZE], 8192, [Size of the client heap.])
+AC_DEFINE([LCLIENT_HEAP_SIZE], 1024, [Size of the local client heap.])
+AC_DEFINE([PCLIENT_HEAP_SIZE], 256, [Size of the pre-client heap.])
+AC_DEFINE([USER_HEAP_SIZE], 8192, [Size of the user heap.])
+AC_DEFINE([DNODE_HEAP_SIZE], 8192, [Size of the dlink_node heap.])
+AC_DEFINE([TOPIC_HEAP_SIZE], 4096, [Size of the topic heap.])
+AC_DEFINE([LINEBUF_HEAP_SIZE], 2048, [Size of the linebuf heap.])
+AC_DEFINE([MEMBER_HEAP_SIZE], 32768, [Sizeof member heap.])
+AC_DEFINE([ND_HEAP_SIZE], 512, [Size of the nick delay heap.])
+AC_DEFINE([CONFITEM_HEAP_SIZE], 256, [Size of the confitem heap.])
+AC_DEFINE([MONITOR_HEAP_SIZE], 1024, [Size of the monitor heap.])
+AC_DEFINE([FD_HEAP_SIZE], 1024, [Size of fd heap.])
+AC_DEFINE([AWAY_HEAP_SIZE], 512, [Size of away heap.])