blob: caf30149f14acbc68530d15cb841e125b2c6e09e [file] [log] [blame]
Damien Miller6c21c512002-01-22 21:57:53 +11001/* $Id: acconfig.h,v 1.121 2002/01/22 10:57:54 djm Exp $ */
Damien Millere9cf3572001-02-09 12:55:35 +11002
Damien Miller6b85a7f2000-01-02 11:45:33 +11003#ifndef _CONFIG_H
4#define _CONFIG_H
5
Damien Miller5a3e6831999-12-27 09:48:56 +11006/* Generated automatically from acconfig.h by autoheader. */
7/* Please make your changes there */
8
9@TOP@
Damien Miller7f6ea021999-10-28 13:25:17 +100010
Kevin Steves8848b242000-10-18 13:11:44 +000011/* Define to a Set Process Title type if your system is */
12/* supported by bsd-setproctitle.c */
13#undef SPT_TYPE
14
Damien Miller78315eb2000-09-29 23:01:36 +110015/* SCO workaround */
16#undef BROKEN_SYS_TERMIO_H
Ben Lindstrom42717bf2000-12-28 15:46:20 +000017#undef HAVE_BOGUS_SYS_QUEUE_H
Damien Miller78315eb2000-09-29 23:01:36 +110018
19/* Define if you have SCO protected password database */
20#undef HAVE_SCO_PROTECTED_PW
21
Damien Millerad833b32000-08-23 10:46:23 +100022/* If your header files don't define LOGIN_PROGRAM, then use this (detected) */
23/* from environment and PATH */
24#undef LOGIN_PROGRAM_FALLBACK
25
26/* Define if your password has a pw_class field */
27#undef HAVE_PW_CLASS_IN_PASSWD
28
Kevin Steves82456952001-06-22 21:14:18 +000029/* Define if your password has a pw_expire field */
30#undef HAVE_PW_EXPIRE_IN_PASSWD
31
32/* Define if your password has a pw_change field */
33#undef HAVE_PW_CHANGE_IN_PASSWD
34
Damien Miller11fa2cc2000-08-16 10:35:58 +100035/* Define if you system's inet_ntoa is busted (e.g. Irix gcc issue) */
36#undef BROKEN_INET_NTOA
37
Damien Millerecbb26d2000-07-15 14:59:14 +100038/* Define if your system defines sys_errlist[] */
39#undef HAVE_SYS_ERRLIST
40
Damien Miller11fa2cc2000-08-16 10:35:58 +100041/* Define if your system defines sys_nerr */
42#undef HAVE_SYS_NERR
43
Damien Miller2ae714f2000-07-11 09:29:50 +100044/* Define if your system choked on IP TOS setting */
45#undef IP_TOS_IS_BROKEN
46
Damien Miller5fc85652000-07-09 23:53:07 +100047/* Define if you have the getuserattr function. */
48#undef HAVE_GETUSERATTR
49
Damien Miller4e997202000-07-09 21:21:52 +100050/* Work around problematic Linux PAM modules handling of PAM_TTY */
51#undef PAM_TTY_KLUDGE
52
Damien Millerfe668e42000-07-08 10:44:13 +100053/* Use PIPES instead of a socketpair() */
54#undef USE_PIPES
55
Damien Millercb170cb2000-07-01 16:52:55 +100056/* Define if your snprintf is busted */
57#undef BROKEN_SNPRINTF
58
Damien Millerbac2d8a2000-09-05 16:13:06 +110059/* Define if you are on Cygwin */
60#undef HAVE_CYGWIN
61
Ben Lindstromb4df15d2000-10-15 00:17:36 +000062/* Define if you have a broken realpath. */
63#undef BROKEN_REALPATH
64
Damien Miller0f91b4e2000-06-18 15:43:25 +100065/* Define if you are on NeXT */
66#undef HAVE_NEXT
67
Ben Lindstromb5628642000-10-18 00:02:25 +000068/* Define if you are on NEWS-OS */
69#undef HAVE_NEWS4
70
Damien Millera64b57a2001-01-17 10:44:13 +110071/* Define if you want to enable PAM support */
72#undef USE_PAM
Damien Millerbeb4ba51999-12-28 15:09:35 +110073
Damien Millerd2c208a2000-05-17 22:00:02 +100074/* Define if you want to enable AIX4's authenticate function */
Damien Miller1fa154b2000-01-23 10:32:03 +110075#undef WITH_AIXAUTHENTICATE
76
Damien Miller91606b12000-06-28 08:22:29 +100077/* Define if you have/want arrays (cluster-wide session managment, not C arrays) */
78#undef WITH_IRIX_ARRAY
79
80/* Define if you want IRIX project management */
81#undef WITH_IRIX_PROJECT
82
83/* Define if you want IRIX audit trails */
84#undef WITH_IRIX_AUDIT
85
Ben Lindstrom980754c2000-11-12 00:04:24 +000086/* Define if you want IRIX kernel jobs */
87#undef WITH_IRIX_JOBS
88
Damien Millerd0ccb982001-03-04 00:29:20 +110089/* Location of PRNGD/EGD random number socket */
90#undef PRNGD_SOCKET
91
92/* Port number of PRNGD/EGD random number socket */
93#undef PRNGD_PORT
Damien Miller1fa154b2000-01-23 10:32:03 +110094
Damien Miller4018c192000-04-30 09:30:44 +100095/* Builtin PRNG command timeout */
96#undef ENTROPY_TIMEOUT_MSEC
97
Damien Miller670a4b82000-01-22 13:53:11 +110098/* Define if you want to install preformatted manpages.*/
99#undef MANTYPE
100
Damien Miller7f6ea021999-10-28 13:25:17 +1000101/* Define if your ssl headers are included with #include <openssl/header.h> */
102#undef HAVE_OPENSSL
Damien Millerab18c411999-11-11 10:40:23 +1100103
Damien Millerd00d1611999-12-29 10:17:09 +1100104/* Define if you are linking against RSAref. Used only to print the right
105 * message at run-time. */
106#undef RSAREF
107
Ben Lindstrom42202bc2001-01-15 02:34:37 +0000108/* struct timeval */
109#undef HAVE_STRUCT_TIMEVAL
110
Damien Miller34132e52000-01-14 15:45:46 +1100111/* struct utmp and struct utmpx fields */
Damien Millerab18c411999-11-11 10:40:23 +1100112#undef HAVE_HOST_IN_UTMP
Damien Millerbf1c9b21999-12-09 10:16:54 +1100113#undef HAVE_HOST_IN_UTMPX
Damien Miller3131d8b1999-12-31 09:42:24 +1100114#undef HAVE_ADDR_IN_UTMP
Damien Miller3131d8b1999-12-31 09:42:24 +1100115#undef HAVE_ADDR_IN_UTMPX
Damien Miller34132e52000-01-14 15:45:46 +1100116#undef HAVE_ADDR_V6_IN_UTMP
117#undef HAVE_ADDR_V6_IN_UTMPX
Damien Miller2e1b0821999-12-25 10:11:29 +1100118#undef HAVE_SYSLEN_IN_UTMPX
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100119#undef HAVE_PID_IN_UTMP
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100120#undef HAVE_TYPE_IN_UTMP
Damien Millerad1bc5f2000-05-20 14:53:09 +1000121#undef HAVE_TYPE_IN_UTMPX
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100122#undef HAVE_TV_IN_UTMP
andre2ff7b5d2000-06-03 14:57:40 +0000123#undef HAVE_TV_IN_UTMPX
Damien Miller9550a761999-12-29 02:32:22 +1100124#undef HAVE_ID_IN_UTMP
Damien Miller8e81ed32000-07-01 13:17:42 +1000125#undef HAVE_ID_IN_UTMPX
andre2ff7b5d2000-06-03 14:57:40 +0000126#undef HAVE_EXIT_IN_UTMP
127#undef HAVE_TIME_IN_UTMP
128#undef HAVE_TIME_IN_UTMPX
Damien Miller9550a761999-12-29 02:32:22 +1100129
andre2ff7b5d2000-06-03 14:57:40 +0000130/* Define if you don't want to use your system's login() call */
131#undef DISABLE_LOGIN
132
133/* Define if you don't want to use pututline() etc. to write [uw]tmp */
134#undef DISABLE_PUTUTLINE
135
136/* Define if you don't want to use pututxline() etc. to write [uw]tmpx */
137#undef DISABLE_PUTUTXLINE
138
139/* Define if you don't want to use lastlog */
140#undef DISABLE_LASTLOG
141
142/* Define if you don't want to use utmp */
143#undef DISABLE_UTMP
144
145/* Define if you don't want to use utmpx */
146#undef DISABLE_UTMPX
147
148/* Define if you don't want to use wtmp */
149#undef DISABLE_WTMP
150
151/* Define if you don't want to use wtmpx */
152#undef DISABLE_WTMPX
153
Ben Lindstrom97c677d2001-05-08 20:33:05 +0000154/* Some systems need a utmpx entry for /bin/login to work */
155#undef LOGIN_NEEDS_UTMPX
156
157/* Some versions of /bin/login need the TERM supplied on the commandline */
158#undef LOGIN_NEEDS_TERM
159
andre2ff7b5d2000-06-03 14:57:40 +0000160/* Define if you want to specify the path to your lastlog file */
161#undef CONF_LASTLOG_FILE
162
163/* Define if you want to specify the path to your utmp file */
164#undef CONF_UTMP_FILE
165
166/* Define if you want to specify the path to your wtmp file */
167#undef CONF_WTMP_FILE
168
169/* Define if you want to specify the path to your utmpx file */
170#undef CONF_UTMPX_FILE
171
172/* Define if you want to specify the path to your wtmpx file */
173#undef CONF_WTMPX_FILE
Damien Miller368cf641999-12-21 09:51:36 +1100174
Damien Miller3f905871999-11-15 17:10:57 +1100175/* Define if you want external askpass support */
Damien Millerd05a2471999-11-15 14:25:30 +1100176#undef USE_EXTERNAL_ASKPASS
Damien Miller5ce662a1999-11-11 17:57:39 +1100177
Damien Miller3f905871999-11-15 17:10:57 +1100178/* Define if libc defines __progname */
179#undef HAVE___PROGNAME
180
Damien Miller80297751999-11-19 13:03:25 +1100181/* Define if you want Kerberos 4 support */
182#undef KRB4
183
184/* Define if you want AFS support */
185#undef AFS
186
187/* Define if you want S/Key support */
188#undef SKEY
189
190/* Define if you want TCP Wrappers support */
191#undef LIBWRAP
192
Damien Miller04f80141999-11-19 15:32:34 +1100193/* Define if your libraries define login() */
194#undef HAVE_LOGIN
195
196/* Define if your libraries define daemon() */
197#undef HAVE_DAEMON
198
Damien Miller9fb07e42000-03-05 16:22:59 +1100199/* Define if your libraries define getpagesize() */
200#undef HAVE_GETPAGESIZE
201
Damien Miller76112de1999-12-21 11:18:08 +1100202/* Define if xauth is found in your path */
203#undef XAUTH_PATH
204
Damien Miller2e1b0821999-12-25 10:11:29 +1100205/* Define if rsh is found in your path */
206#undef RSH_PATH
207
Damien Millerdd1c7ba1999-11-19 15:53:20 +1100208/* Define if you want to allow MD5 passwords */
209#undef HAVE_MD5_PASSWORDS
210
Damien Miller76112de1999-12-21 11:18:08 +1100211/* Define if you want to disable shadow passwords */
212#undef DISABLE_SHADOW
213
Damien Miller1f335fb2000-06-26 11:31:33 +1000214/* Define if you want to use shadow password expire field */
215#undef HAS_SHADOW_EXPIRE
216
Damien Millerb8c656e2000-06-28 15:22:41 +1000217/* Define if you have Digital Unix Security Integration Architecture */
218#undef HAVE_OSF_SIA
219
Damien Millerdfc83f42000-05-20 15:02:59 +1000220/* Define if you have getpwanam(3) [SunOS 4.x] */
221#undef HAVE_GETPWANAM
222
Damien Miller4018c192000-04-30 09:30:44 +1000223/* Defined if in_systm.h needs to be included with netinet/ip.h (HPUX - <sigh/>) */
224#undef NEED_IN_SYSTM_H
225
Damien Miller859cec01999-11-22 14:27:24 +1100226/* Define if you have an old version of PAM which takes only one argument */
227/* to pam_strerror */
228#undef HAVE_OLD_PAM
229
Damien Miller82cf0ce2000-12-20 13:34:48 +1100230/* Define if you are using Solaris-derived PAM which passes pam_messages */
231/* to the conversation function with an extra level of indirection */
232#undef PAM_SUN_CODEBASE
Kevin Stevesef4eea92001-02-05 12:42:17 +0000233
Damien Miller2e1b0821999-12-25 10:11:29 +1100234/* Set this to your mail directory if you don't have maillock.h */
235#undef MAIL_DIRECTORY
236
Damien Millerc6398ef1999-11-20 12:18:40 +1100237/* Data types */
Damien Millercaf6dd62000-08-29 11:33:50 +1100238#undef HAVE_U_INT
Damien Millerc6398ef1999-11-20 12:18:40 +1100239#undef HAVE_INTXX_T
240#undef HAVE_U_INTXX_T
241#undef HAVE_UINTXX_T
Damien Miller578783e2000-09-23 14:12:24 +1100242#undef HAVE_INT64_T
243#undef HAVE_U_INT64_T
Damien Miller58be7382001-09-15 21:31:54 +1000244#undef HAVE_U_CHAR
Damien Miller95058511999-12-29 10:36:45 +1100245#undef HAVE_SIZE_T
Damien Miller615f9392000-05-17 22:53:33 +1000246#undef HAVE_SSIZE_T
Ben Lindstrom0d5af602001-01-09 00:50:29 +0000247#undef HAVE_CLOCK_T
Damien Miller0f91b4e2000-06-18 15:43:25 +1000248#undef HAVE_MODE_T
249#undef HAVE_PID_T
Damien Millerb54b40e2000-06-23 08:23:34 +1000250#undef HAVE_SA_FAMILY_T
Damien Miller34132e52000-01-14 15:45:46 +1100251#undef HAVE_STRUCT_SOCKADDR_STORAGE
252#undef HAVE_STRUCT_ADDRINFO
253#undef HAVE_STRUCT_IN6_ADDR
254#undef HAVE_STRUCT_SOCKADDR_IN6
255
256/* Fields in struct sockaddr_storage */
257#undef HAVE_SS_FAMILY_IN_SS
258#undef HAVE___SS_FAMILY_IN_SS
Damien Millerc6398ef1999-11-20 12:18:40 +1100259
Ben Lindstrom401d58f2001-01-19 17:11:43 +0000260/* Define if you have a regcomp() function */
261#undef HAVE_REGCOMP
262
Damien Miller037a0dc1999-12-07 15:38:31 +1100263/* Define if you have /dev/ptmx */
264#undef HAVE_DEV_PTMX
265
266/* Define if you have /dev/ptc */
267#undef HAVE_DEV_PTS_AND_PTC
268
Damien Miller76112de1999-12-21 11:18:08 +1100269/* Define if you need to use IP address instead of hostname in $DISPLAY */
270#undef IPADDR_IN_DISPLAY
Damien Millerc6b3bbe1999-12-13 08:27:33 +1100271
Damien Miller5a3e6831999-12-27 09:48:56 +1100272/* Specify default $PATH */
273#undef USER_PATH
274
Damien Miller5eed6a22000-01-16 12:05:18 +1100275/* Specify location of ssh.pid */
Ben Lindstrom226cfa02001-01-22 05:34:40 +0000276#undef _PATH_SSH_PIDDIR
Damien Miller5eed6a22000-01-16 12:05:18 +1100277
Damien Miller7d80e342000-01-19 14:36:49 +1100278/* Use IPv4 for connection by default, IPv6 can still if explicity asked */
279#undef IPV4_DEFAULT
280
Ben Lindstromb5628642000-10-18 00:02:25 +0000281/* If you have no atexit() but xatexit(), and want to use xatexit() */
282#undef HAVE_XATEXIT
283
Damien Millereca71f82000-01-20 22:38:27 +1100284/* getaddrinfo is broken (if present) */
285#undef BROKEN_GETADDRINFO
286
Damien Miller8b1204d2000-03-13 15:41:24 +1100287/* Workaround more Linux IPv6 quirks */
Damien Miller7bcb0892000-03-11 20:45:40 +1100288#undef DONT_TRY_OTHER_AF
289
290/* Detect IPv4 in IPv6 mapped addresses and treat as IPv4 */
291#undef IPV4_IN_IPV6
292
Damien Miller60396b02001-02-18 17:01:00 +1100293/* Define if you have BSD auth support */
294#undef BSD_AUTH
295
Ben Lindstrom8697e082001-02-24 21:41:10 +0000296/* Define if X11 doesn't support AF_UNIX sockets on that system */
297#undef NO_X11_UNIX_SOCKETS
298
Damien Millerbb7c9762001-02-26 20:49:58 +1100299/* Needed for SCO and NeXT */
Damien Millerfbd884a2001-02-27 08:39:07 +1100300#undef BROKEN_SAVED_UIDS
Damien Millerbb7c9762001-02-26 20:49:58 +1100301
Damien Miller3c027682001-03-14 11:39:45 +1100302/* Define if your system glob() function has the GLOB_ALTDIRFUNC extension */
303#undef GLOB_HAS_ALTDIRFUNC
304
Ben Lindstrom45b14db2001-03-17 01:15:38 +0000305/* Define if your system glob() function has gl_matchc options in glob_t */
306#undef GLOB_HAS_GL_MATCHC
307
Damien Miller18bb4732001-03-28 14:35:30 +1000308/* Define in your struct dirent expects you to allocate extra space for d_name */
309#undef BROKEN_ONE_BYTE_DIRENT_D_NAME
310
Damien Miller4f8e6692001-07-14 13:22:53 +1000311/* Define if your getopt(3) defines and uses optreset */
312#undef HAVE_GETOPT_OPTRESET
313
Ben Lindstrom19d7b8d2001-08-16 00:09:49 +0000314/* Define on *nto-qnx systems */
315#undef MISSING_NFDBITS
316
317/* Define on *nto-qnx systems */
318#undef MISSING_HOWMANY
319
320/* Define on *nto-qnx systems */
321#undef MISSING_FD_MASK
322
Damien Miller85de5802001-09-18 14:01:11 +1000323/* Define if you want smartcard support */
324#undef SMARTCARD
325
Damien Miller6c21c512002-01-22 21:57:53 +1100326/* Define if you want to use OpenSSL's internally seeded PRNG only */
327#undef OPENSSL_PRNG_ONLY
328
Damien Miller6854f821999-11-13 10:49:55 +1100329@BOTTOM@
330
Damien Miller3d1b22c1999-11-12 15:46:08 +1100331/* ******************* Shouldn't need to edit below this line ************** */
332
Damien Miller5a3e6831999-12-27 09:48:56 +1100333#include "defines.h"
Damien Miller6b85a7f2000-01-02 11:45:33 +1100334
Damien Miller9550a242000-01-19 10:41:23 +1100335#endif /* _CONFIG_H */