3 * $Id: acconfig.h,v 1.5 1997/09/08 13:41:36 mdw Exp $
5 * Default settings for `become' config.h
7 * (c) 1997 Mark Wooding
10 /*----- Licensing notice --------------------------------------------------*
12 * This file is part of `become'
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.
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.
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.
29 /*----- Revision history --------------------------------------------------*
31 * $Log: acconfig.h,v $
32 * Revision 1.5 1997/09/08 13:41:36 mdw
33 * Remove redundant entry for `HAVE_LIBEFENCE'.
35 * Revision 1.4 1997/09/05 11:45:17 mdw
36 * Add support for different login styles, and environment variable
37 * manipulation in a safe and useful way.
39 * Revision 1.3 1997/08/07 09:33:05 mdw
40 * Added `ElectricFence' support. Other minor cosmetic things.
42 * Revision 1.2 1997/08/04 10:24:19 mdw
43 * Sources placed under CVS control.
45 * Revision 1.1 1997/07/21 13:47:52 mdw
53 /*----- Variables set up by the configuration script ----------------------*/
56 /* My version number. */
57 #define VERSION "1.2-pre"
59 /* The `etcdir' contains configuration and state information. */
60 #define ETCDIR "/etc/become"
62 /* Define to be the size of an int. */
65 /* Default login style can be @l_preserve@, @l_user@ or @l_login@ */
66 #define DEFAULT_LOGIN_STYLE l_preserve
68 /* This is replaced by `/' by `configure' -- leave alone for DOSness. */
71 /* Debugging options. */
78 /* Define if we have YP support. */
81 /* Define to `int' if nothing defines. */
86 /*----- Some light processing on the configuration varaibles --------------*/
88 /* --- Important filenames based on the @ETCDIR@ --- */
90 #define file_KEY ETCDIR "/become.key"
91 #define file_PID ETCDIR "/become.pid"
92 #define file_RANDSEED ETCDIR "/become.random"
93 #define file_RULES ETCDIR "/become.conf"
94 #define file_SERVER ETCDIR "/become.server"
96 /* --- Find a suitable 32-bit type --- */
99 typedef unsigned long uint_32
;
101 typedef unsigned int uint_32
;
104 /* --- Debugging macros --- */
107 # define D(x) /* empty */
112 /*----- That's all, folks -------------------------------------------------*/