Release bumped to "gts4".
[tac_plus.git] / acconfig.h
1 /*      acconfig.h
2  *
3  *      $Id$
4  */
5
6 #ifndef TAC_PLUS_CONFIG_H
7 #define TAC_PLUS_CONFIG_H 1
8
9 @TOP@
10
11
12 /* --maintainer-mode
13  * Sets "/etc/tacacs/tac_plus.cfg" as default config file
14  */
15 #undef MAINTAINER_MODE
16
17 /* Missing socklen_t in <sys/socket.h>
18  * We don't use 'typedef' to not to yet require <stddef.h> included here.
19  */
20 #undef socklen_t
21
22 /* Define this if you have shadow passwords in /etc/passwd and
23  * /etc/shadow. Note that you usually need to be root to read
24  * /etc/shadow */
25 #undef SHADOW_PASSWORDS
26
27 /* Check for some fields in <pwd.h>/struct passwd and <utmp.h>/struct utmp
28  */
29 #undef HAVE_PASSWD_PW_AGE
30 #undef HAVE_PASSWD_PW_COMMENT
31 #undef HAVE_UTMP_UT_HOST
32
33 /* All OSes detected by configure.in:
34  */
35 #undef LINUX
36 #undef GLIBC
37 #undef SOLARIS
38 #undef FREEBSD
39 #undef HPUX
40 #undef AIX
41 #undef MIPS
42
43 /* --with-pam */
44 #undef USE_PAM
45 /* --with-ldap */
46 #undef USE_LDAP
47 /* --with-db */
48 #undef DB
49 /* --with-db */
50 #undef DB_NULL
51 /* --with-mysql */
52 #undef DB_MYSQL
53 /* --with-pgsql */
54 #undef DB_PGSQL
55 /* --enable-maxsess */
56 #undef MAXSESS
57 /* --with-libwrap */
58 #undef TCPWRAPPER
59 /* --with-skey */
60 #undef SKEY
61 /* --with-mschap[=des] */
62 #undef MSCHAP
63 #undef MSCHAP_DES
64 /* --with-tac[ug]id */
65 #undef TACPLUS_USERID
66 #undef TACPLUS_GROUPID
67 /* --with-tacplus_pid */
68 #undef TACPLUS_PIDFILE
69 /* --with-included-regex */
70 #undef WITH_INCLUDED_REGEX
71
72
73 @BOTTOM@
74
75 /* Keep in sync with configure.in */
76 #define _XOPEN_SOURCE 1                 /* for unistd.h/crypt() */
77 #define _XOPEN_SOURCE_EXTENDED 1        /* for pwd.h/{set,end}pwent(), sys/wait.h/wait3() */
78 #define _BSD_SOURCE 1                   /* for u_{char,short,int} & string.h/bcopy() */
79 #define _OSF_SOURCE 1                   /* for u_{char,short,int} (on Alpha OSF1) */
80 #define __EXTENSIONS__ 1                /* for u_{char,short,int} (on Sparc Solaris) */
81
82 #if SIZEOF_UNSIGNED_SHORT == 4
83 typedef unsigned short tac_uint32;
84 #else
85 #if SIZEOF_UNSIGNED_INT == 4
86 typedef unsigned int tac_uint32;
87 #else
88 #if SIZEOF_UNSIGNED_LONG == 4
89 typedef unsigned long tac_uint32;
90 #else
91 #error "Unable to find 32-bit unsigned int for TAC_UINT32 type"
92 #endif /* SIZEOF_UNSIGNED_LONG */
93 #endif /* SIZEOF_UNSIGNED_INT */
94 #endif /* SIZEOF_UNSIGNED_SHORT */
95
96
97 #endif  /* TAC_PLUS_CONFIG_H */