File: options

package info (click to toggle)
epic4 1%3A2.2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,600 kB
  • ctags: 5,377
  • sloc: ansic: 55,723; makefile: 656; sh: 158; perl: 30
file content (97 lines) | stat: -rw-r--r-- 2,118 bytes parent folder | download | duplicates (10)
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
/*
 * 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 */
 
#ifdef USE_FLOW_CONTROL
 					'f',
#endif /* USE_FLOW_CONTROL */
 
#if 1
 					'g',
#endif /* INCLUDE_GLOB_FUNCTION is now the default */
 
#ifdef MIRC_BROKEN_DCC_RESUME
					'i',
#endif /* MIRC_BROKEN_DCC_RESUME */

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

#ifdef HAVE_LONG_LONG
#if defined(HAVE_STRTOLL) || defined(HAVE_ATOQ)
					'l',
#endif
#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 */

#ifdef ENFORCE_STRICTER_PROTOCOL
 					'o',
#endif /* ENFORCE_STRICTER_PROTOCOL */
 
#ifdef QUIT_ON_OPERATOR_KILL
 					'q',
#endif /* QUIT_ON_OPERATOR_KILL */

#ifdef STRIP_EXTRANEOUS_SPACES
					's',
#endif /* STRIP_EXTRANEOUS_SPACES */

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

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

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

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

					'\0'
};