chiark / gitweb /
Expunge revision histories in files.
[become] / acconfig.h
1 /* -*-c-*-
2  *
3  * $Id: acconfig.h,v 1.12 2004/04/08 01:36: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 #ifndef CONFIG_H
30 #define CONFIG_H
31
32 /*----- Variables set up by the configuration script ----------------------*/
33 @TOP@
34
35 /* My package name.  */
36 #define PACKAGE "become"
37
38 /* My version number.  */
39 #define VERSION "1.2-pre"
40
41 /* The `etcdir' contains configuration and state information.  */
42 #define ETCDIR "/etc/become"
43
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
48 /* Default login style can be `l_preserve', `l_setuser' or `l_login'.  */
49 #define DEFAULT_LOGIN_STYLE l_preserve
50
51 /* This is replaced by `/' by `configure' -- leave alone for DOSness.  */
52 #define PATHSEP '\\'
53
54 /* Define to turn off networking support.  */
55 #undef NONETWORK
56
57 /* Debugging options. */
58 #undef NTRACE
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
72 /*----- Some light processing on the configuration variables --------------*/
73
74 /* --- Important filenames based on the @ETCDIR@ --- */
75
76 #define file_KEY ETCDIR "/become.key"
77 #define file_PUBKEY ETCDIR "/become.pubkey"
78 #define file_RULES ETCDIR "/become.conf"
79 #define file_SERVER ETCDIR "/become.server"
80
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