Sources placed under CVS control.
[become] / acconfig.h
1 /* -*-c-*-
2 *
3 * $Id: acconfig.h,v 1.1 1997/08/04 10:22:09 mdw Exp $
4 *
5 * Default settings for `become' config.h
6 *
7 * (c) 1997 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.1 1997/08/04 10:22:09 mdw
33 * Sources placed under CVS control.
34 *
35 * Revision 1.1 1997/07/21 13:47:52 mdw
36 * Initial revision
37 *
38 */
39
40 #ifndef CONFIG_H
41 #define CONFIG_H
42
43 /*----- Variables set up by the configuration script ----------------------*/
44 @TOP@
45
46 /* My version number. */
47 #define VERSION ???
48
49 /* The `etcdir' contains configuration and state information. */
50 #define ETCDIR "/usr/local/etc"
51
52 /* Define to be the size of an int. */
53 #define SIZEOF_INT 4
54
55 /* This is replaced by `/' by `configure' -- leave alone for DOSness. */
56 #define PATHSEP '\\'
57
58 /* Debugging options. */
59 #undef TRACING
60
61 #ifndef TEST_RIG
62 #undef NDEBUG
63 #endif
64
65 /* Define if we have YP support. */
66 #undef HAVE_YP
67
68 /* Define to `int' if nothing defines. */
69 #undef ssize_t
70
71 @BOTTOM@
72
73 /*----- Some light processing on the configuration varaibles --------------*/
74
75 /* --- Important filenames based on the @ETCDIR@ --- */
76
77 #define file_KEY ETCDIR "/become.key"
78 #define file_PID ETCDIR "/become.pid"
79 #define file_RANDSEED ETCDIR "/become.random"
80 #define file_RULES ETCDIR "/become.conf"
81 #define file_SERVER ETCDIR "/become.server"
82
83 /* --- Find a suitable 32-bit type --- */
84
85 #if SIZEOF_INT < 4
86 typedef unsigned long uint_32;
87 #else
88 typedef unsigned int uint_32;
89 #endif
90
91 /* --- Debugging macros --- */
92
93 #ifdef NDEBUG
94 # define D(x) /* empty */
95 #else
96 # define D(x) x
97 #endif
98
99 /*----- That's all, folks -------------------------------------------------*/
100
101 #endif