8ddbfc62 |
1 | /* -*-c-*- |
2 | * |
af4f4d6a |
3 | * $Id: acconfig.h,v 1.12 2004/04/08 01:36:20 mdw Exp $ |
8ddbfc62 |
4 | * |
5 | * Default settings for `become' config.h |
6 | * |
c758e654 |
7 | * (c) 1998 Mark Wooding |
8ddbfc62 |
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 | |
8ddbfc62 |
29 | #ifndef CONFIG_H |
30 | #define CONFIG_H |
31 | |
32 | /*----- Variables set up by the configuration script ----------------------*/ |
33 | @TOP@ |
34 | |
b6ea915c |
35 | /* My package name. */ |
36 | #define PACKAGE "become" |
37 | |
8ddbfc62 |
38 | /* My version number. */ |
c1d1774a |
39 | #define VERSION "1.2-pre" |
8ddbfc62 |
40 | |
41 | /* The `etcdir' contains configuration and state information. */ |
c1d1774a |
42 | #define ETCDIR "/etc/become" |
8ddbfc62 |
43 | |
b0f66028 |
44 | /* The `pidfile' is where Become puts its process id if it runs as a |
45 | * daemon. */ |
46 | #define file_PID "/etc/become/become.pid" |
47 | |
66872778 |
48 | /* Default login style can be `l_preserve', `l_setuser' or `l_login'. */ |
387501ae |
49 | #define DEFAULT_LOGIN_STYLE l_preserve |
50 | |
8ddbfc62 |
51 | /* This is replaced by `/' by `configure' -- leave alone for DOSness. */ |
52 | #define PATHSEP '\\' |
53 | |
66872778 |
54 | /* Define to turn off networking support. */ |
55 | #undef NONETWORK |
56 | |
8ddbfc62 |
57 | /* Debugging options. */ |
f60a3434 |
58 | #undef NTRACE |
8ddbfc62 |
59 | |
60 | #ifndef TEST_RIG |
61 | #undef NDEBUG |
62 | #endif |
63 | |
64 | /* Define if we have YP support. */ |
65 | #undef HAVE_YP |
66 | |
67 | /* Define to `int' if nothing defines. */ |
68 | #undef ssize_t |
69 | |
70 | @BOTTOM@ |
71 | |
f60a3434 |
72 | /*----- Some light processing on the configuration variables --------------*/ |
8ddbfc62 |
73 | |
74 | /* --- Important filenames based on the @ETCDIR@ --- */ |
75 | |
76 | #define file_KEY ETCDIR "/become.key" |
f60a3434 |
77 | #define file_PUBKEY ETCDIR "/become.pubkey" |
8ddbfc62 |
78 | #define file_RULES ETCDIR "/become.conf" |
79 | #define file_SERVER ETCDIR "/become.server" |
80 | |
8ddbfc62 |
81 | /* --- Debugging macros --- */ |
82 | |
83 | #ifdef NDEBUG |
84 | # define D(x) /* empty */ |
85 | #else |
86 | # define D(x) x |
87 | #endif |
88 | |
89 | /*----- That's all, folks -------------------------------------------------*/ |
90 | |
91 | #endif |