#!/bin/sh
#
# Settings for the Avalon MUDlib
# Change: 22.02.2002 Alwin@avalon enabled mysql part
#
# configure will strip this part from the script.

export EXTRA_CFLAGS="-march=native"
exec ./configure --prefix=/home/mud --libdir=/home/mud/mudlib --libexecdir=/home/mud/erq --enable-erq=xerq --with-setting=avalon $*
exit 1

# --- The actual settings ---

with_portno=7777
with_udp_port=4246
with_max_players=200
enable_access_control=no

with_max_cost=1000000
with_catch_reserved_cost=10000
with_master_reserved_cost=0x800
enable_dynamic_costs=no

# needs to be at least 10 lager than with_max_user_trace
with_max_trace=72

with_time_to_clean_up=5400
#new: time_to_clean_up < time_to_swap. lets try this out:
#with_time_to_swap=1800
#with_time_to_swap_variables=3600
with_time_to_swap=25200
with_time_to_swap_variables=39600
with_time_to_reset=2400

enable_compat_mode=no
enable_strict_euids=yes

enable_supply_parse_command=no
enable_share_variables=no

enable_malloc_trace=yes
enable_malloc_lpc_trace=yes
enable_malloc_sbrk_trace=yes
enable_eval_cost_trace=yes

enable_use_mysql=/usr/lib/mysql

with_htable_size=65536
with_otable_size=8192

#with_hard_malloc_limit=0x23000000
with_hard_malloc_limit=0x7fffffff
#with_hard_malloc_limit= 0xfffffffe

with_max_array_size=10000
with_max_mapping_keys=40000
with_max_mapping_size=120000
with_max_byte_transfer=100000
with_read_file_max_size=200000

with_optmize=medium

enable_use_mccp=yes
enable_use_pcre=yes
enable_use_tls=gnu
enable_use_xml=yes
enable_use_json=yes

with_tls_trustdirectory=no

