File: options.h

package info (click to toggle)
epic5 3.0.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 5,328 kB
  • sloc: ansic: 75,810; makefile: 648; ruby: 227; python: 215; sh: 78; perl: 13
file content (99 lines) | stat: -rw-r--r-- 2,037 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/*
 * What we're doing here is defining a unique string that describes what
 * compile-time options are in use.  The string is then accessible though
 * a special builtin function.  The point is to allow script writers to
 * know what has been enabled/disabled so they don't try to use a
 * feature that in't available.  As such, only #define's that really
 * affect scripting or direct user interaction are included in the
 * string.  Each option is assigned a unique letter, all of which are
 * concatenated together to form a strig that looks like an irc server's
 * version string.  Some of the options are assigned to non-obvious letters
 * since the string has to be case insensitive.
 */
 
/* Letters left: dhjprwy */

const char compile_time_options[] = {
 
#if 1
					'a',
#endif /* WIND_STACK is now the default */

#ifdef NO_BOTS
 					'b',
#endif /* NO_BOTS */
 
#if 1
					'c',
#endif /* COLOR is now the default */

#ifdef EXEC_COMMAND
 					'e',
#endif /* EXEC_COMMAND */
 
#if 0
 					'f',
#endif /* Used to be USE_FLOW_CONTROL, but was off */
 
#if 1
 					'g',
#endif /* INCLUDE_GLOB_FUNCTION is now the default */
 
#ifdef IMPLIED_ON_HOOKS
					'h',
#endif

#ifdef MIRC_BROKEN_DCC_RESUME
					'i',
#endif /* MIRC_BROKEN_DCC_RESUME */

#ifdef HACKED_DCC_WARNING
					'k',
#endif /* HACKED_DCC_WARNING */

#if defined(HAVE_LONG_LONG_INT) || defined(HAVE_INTMAX_T)
					'l',
#endif

#if 1
					'm',
#endif /* Indicate that we have /SET COLOR instead of /SET CONTROL_C_COLOR */

#if 1
 					'n',
#endif /* LONG NICKNAMES are now the default */

#if 0		/* Used to be WITH_THREADED_STDOUT */
					'o',
#endif

#ifdef HAVE_LIBARCHIVE
					'r',
#endif

#if 1
					's',
#endif	/* HAVE_SSL is required now */

#ifdef I_DONT_TRUST_MY_USERS
 					't',
#endif /* I_DONT_TRUST_MY_USERS */

#ifdef UNAME_HACK
 					'u',
#endif /* UNAME_HACK */
 
#ifdef HAVE_ICONV
					'v',
#endif

#if 1
 					'x',
#endif /* EXPERIMENTAL_STACK_HACK is now the default */

#if 1
					'z',
#endif /* ALLOW_STOP_IRC is now the default */

					'\0'
};