Fix typo. Short form of `--preserve' should be `-e', not `-p'.
[become] / acconfig.h
1 /* -*-c-*-
2 *
3 * $Id: acconfig.h,v 1.7 1998/01/12 16:45:20 mdw Exp $
4 *
5 * Default settings for `become' config.h
6 *
7 * (c) 1998 Mark Wooding
8 */
9
10 /*----- Licensing notice --------------------------------------------------*
11 *
12 * This file is part of `become'
13 *
14 * `Become' is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
18 *
19 * `Become' is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with `become'; if not, write to the Free Software Foundation,
26 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 */
28
29 /*----- Revision history --------------------------------------------------*
30 *
31 * $Log: acconfig.h,v $
32 * Revision 1.7 1998/01/12 16:45:20 mdw
33 * Fix copyright date.
34 *
35 * Revision 1.6 1997/09/17 10:02:07 mdw
36 * Remove `@ signs -- autoconf mangles them too badly.
37 *
38 * Revision 1.5 1997/09/08 13:41:36 mdw
39 * Remove redundant entry for `HAVE_LIBEFENCE'.
40 *
41 * Revision 1.4 1997/09/05 11:45:17 mdw
42 * Add support for different login styles, and environment variable
43 * manipulation in a safe and useful way.
44 *
45 * Revision 1.3 1997/08/07 09:33:05 mdw
46 * Added `ElectricFence' support. Other minor cosmetic things.
47 *
48 * Revision 1.2 1997/08/04 10:24:19 mdw
49 * Sources placed under CVS control.
50 *
51 * Revision 1.1 1997/07/21 13:47:52 mdw
52 * Initial revision
53 *
54 */
55
56 #ifndef CONFIG_H
57 #define CONFIG_H
58
59 /*----- Variables set up by the configuration script ----------------------*/
60 @TOP@
61
62 /* My version number. */
63 #define VERSION "1.2-pre"
64
65 /* The `etcdir' contains configuration and state information. */
66 #define ETCDIR "/etc/become"
67
68 /* Define to be the size of an int. */
69 #define SIZEOF_INT 4
70
71 /* Default login style can be `l_preserve', `l_setuser' or `l_login' */
72 #define DEFAULT_LOGIN_STYLE l_preserve
73
74 /* This is replaced by `/' by `configure' -- leave alone for DOSness. */
75 #define PATHSEP '\\'
76
77 /* Debugging options. */
78 #undef TRACING
79
80 #ifndef TEST_RIG
81 #undef NDEBUG
82 #endif
83
84 /* Define if we have YP support. */
85 #undef HAVE_YP
86
87 /* Define to `int' if nothing defines. */
88 #undef ssize_t
89
90 @BOTTOM@
91
92 /*----- Some light processing on the configuration varaibles --------------*/
93
94 /* --- Important filenames based on the @ETCDIR@ --- */
95
96 #define file_KEY ETCDIR "/become.key"
97 #define file_PID ETCDIR "/become.pid"
98 #define file_RANDSEED ETCDIR "/become.random"
99 #define file_RULES ETCDIR "/become.conf"
100 #define file_SERVER ETCDIR "/become.server"
101
102 /* --- Find a suitable 32-bit type --- */
103
104 #if SIZEOF_INT < 4
105 typedef unsigned long uint_32;
106 #else
107 typedef unsigned int uint_32;
108 #endif
109
110 /* --- Debugging macros --- */
111
112 #ifdef NDEBUG
113 # define D(x) /* empty */
114 #else
115 # define D(x) x
116 #endif
117
118 /*----- That's all, folks -------------------------------------------------*/
119
120 #endif