/*
* local_options.h: compile-time configuration of the driver
*/
/****************************************************************************
* EVERY time you change ANYTHING in this file, RECOMPILE from scratch. *
* (type "make clean" then "make" on a UNIX system) Failure to do so may *
* cause the driver to behave oddly. *
****************************************************************************/
/* NOTES: Many of the configurable options are now set in the runtime config.
*
* This file only contain a list of default settings, for quick diffing .
* See detailed explaination from 'local_options.README'
*/
#ifndef _LOCAL_OPTIONS_H_
#define _LOCAL_OPTIONS_H_
/****************************************************************************
* COMPAT *
****************************************************************************/
#undef COMPAT_32
#undef NO_ADD_ACTION
#undef NO_SNOOP
#undef NO_ENVIRONMENT
#undef NO_WIZARDS
#undef NO_SHADOWS
#define NO_LIGHT
#undef PRIVS
#undef SENSIBLE_MODIFIERS
/****************************************************************************
* BEHAVIOR *
****************************************************************************/
#define OLD_ED
#undef ED_INDENT_CASE
#define ED_INDENT_SPACES 4
#undef RECEIVE_ED
#define RESTRICTED_ED
#define DEFAULT_PRAGMAS PRAGMA_WARNINGS + PRAGMA_SAVE_TYPES + PRAGMA_ERROR_CONTEXT + PRAGMA_OPTIMIZE
#define SAVE_EXTENSION ".o"
#define SAVE_GZ_EXTENSION ".o.gz"
#undef USE_ICONV
#undef IPV6
#undef DTRACE
/****************************************************************************
* PACKAGES *
****************************************************************************/
#undef CUSTOM_CRYPT
#define PACKAGE_ASYNC
#define PACKAGE_COMPRESS
#define PACKAGE_CONTRIB
#define PACKAGE_CORE
#undef PACKAGE_CRYPTO
#undef PACKAGE_DB
#ifdef PACKAGE_DB
#define USE_MYSQL 1
#undef USE_POSTGRES
#undef USE_SQLITE3
#endif
#define PACKAGE_DEVELOP
#undef PACKAGE_DWLIB
#define PACKAGE_EXTERNAL
#define PACKAGE_MATH
#undef PACKAGE_MATRIX
#define PACKAGE_MUDLIB_STATS
#define PACKAGE_OPS
#undef PACKAGE_PARSER
#define PACKAGE_PCRE
#define PACKAGE_SHA1
#define PACKAGE_SOCKETS
#define PACKAGE_TRIM
#undef PACKAGE_THREAD
#define PACKAGE_UIDS
#ifdef PACKAGE_UIDS
#define AUTO_SETEUID
#undef AUTO_TRUST_BACKBONE
#endif
#endif /* _LOCAL_OPTIONS_H_ */
发表评论:
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。