/*
 * 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 NO_ADD_ACTION
#undef NO_SNOOP
#undef NO_ENVIRONMENT
#undef NO_WIZARDS
#undef NO_LIGHT
#define SENSIBLE_MODIFIERS

/****************************************************************************
 *                           MISCELLANEOUS                                  *
 ****************************************************************************/
#define DEFAULT_PRAGMAS PRAGMA_WARNINGS + PRAGMA_SAVE_TYPES + PRAGMA_ERROR_CONTEXT + PRAGMA_OPTIMIZE
#define SAVE_EXTENSION ".o"
#define PRIVS
#undef NO_SHADOWS
#undef USE_ICONV
#define IPV6

/****************************************************************************
 *                              PACKAGES                                    *
 ****************************************************************************/

// PACKAGES are moved to CMAKE options, please don't try to add #define PACKAGE_* here.

/****************************************************************************
 *                              PACKAGES CONFIGS                            *
 ****************************************************************************/

// configs for PACKAGE_COMPRESS
#define SAVE_GZ_EXTENSION ".o.gz"

// configs for PACKAGE_UIDS
#define AUTO_SETEUID
#undef AUTO_TRUST_BACKBONE

// configs for PACKAGE_PARSE
#define PARSE_DEBUG /* Only take effect in DEBUG build */

#endif /* _LOCAL_OPTIONS_H_ */
