blob: 9d6008e60d80a765a143dd55cf78af9d2ec2c693 [file] [log] [blame]
Damien Miller35276252003-06-03 10:14:28 +10001/* $Id: acconfig.h,v 1.155 2003/06/03 00:14:28 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
Damien Miller35276252003-06-03 10:14:28 +100014#undef SPT_PADCHAR
Kevin Steves8848b242000-10-18 13:11:44 +000015
Ben Lindstrom837461b2002-06-12 16:57:14 +000016/* setgroups() NOOP allowed */
17#undef SETGROUPS_NOOP
18
Damien Miller78315eb2000-09-29 23:01:36 +110019/* SCO workaround */
20#undef BROKEN_SYS_TERMIO_H
21
Kevin Steves0ea1d9d2002-04-25 18:17:04 +000022/* Define if you have SecureWare-based protected password database */
23#undef HAVE_SECUREWARE
Damien Miller78315eb2000-09-29 23:01:36 +110024
Damien Millerad833b32000-08-23 10:46:23 +100025/* If your header files don't define LOGIN_PROGRAM, then use this (detected) */
26/* from environment and PATH */
27#undef LOGIN_PROGRAM_FALLBACK
28
29/* Define if your password has a pw_class field */
30#undef HAVE_PW_CLASS_IN_PASSWD
31
Kevin Steves82456952001-06-22 21:14:18 +000032/* Define if your password has a pw_expire field */
33#undef HAVE_PW_EXPIRE_IN_PASSWD
34
35/* Define if your password has a pw_change field */
36#undef HAVE_PW_CHANGE_IN_PASSWD
37
Kevin Steves939c9db2002-03-22 17:23:25 +000038/* Define if your system uses access rights style file descriptor passing */
39#undef HAVE_ACCRIGHTS_IN_MSGHDR
40
Kevin Stevesa44e0352002-04-07 16:18:03 +000041/* Define if your system uses ancillary data style file descriptor passing */
42#undef HAVE_CONTROL_IN_MSGHDR
43
Damien Miller11fa2cc2000-08-16 10:35:58 +100044/* Define if you system's inet_ntoa is busted (e.g. Irix gcc issue) */
45#undef BROKEN_INET_NTOA
46
Damien Millerecbb26d2000-07-15 14:59:14 +100047/* Define if your system defines sys_errlist[] */
48#undef HAVE_SYS_ERRLIST
49
Damien Miller11fa2cc2000-08-16 10:35:58 +100050/* Define if your system defines sys_nerr */
51#undef HAVE_SYS_NERR
52
Damien Miller2ae714f2000-07-11 09:29:50 +100053/* Define if your system choked on IP TOS setting */
54#undef IP_TOS_IS_BROKEN
55
Damien Miller5fc85652000-07-09 23:53:07 +100056/* Define if you have the getuserattr function. */
57#undef HAVE_GETUSERATTR
58
Damien Miller4e997202000-07-09 21:21:52 +100059/* Work around problematic Linux PAM modules handling of PAM_TTY */
60#undef PAM_TTY_KLUDGE
61
Damien Millerfe668e42000-07-08 10:44:13 +100062/* Use PIPES instead of a socketpair() */
63#undef USE_PIPES
64
Damien Millercb170cb2000-07-01 16:52:55 +100065/* Define if your snprintf is busted */
66#undef BROKEN_SNPRINTF
67
Damien Millerbac2d8a2000-09-05 16:13:06 +110068/* Define if you are on Cygwin */
69#undef HAVE_CYGWIN
70
Ben Lindstromb4df15d2000-10-15 00:17:36 +000071/* Define if you have a broken realpath. */
72#undef BROKEN_REALPATH
73
Damien Miller0f91b4e2000-06-18 15:43:25 +100074/* Define if you are on NeXT */
75#undef HAVE_NEXT
76
Ben Lindstromb5628642000-10-18 00:02:25 +000077/* Define if you are on NEWS-OS */
78#undef HAVE_NEWS4
79
Damien Millera64b57a2001-01-17 10:44:13 +110080/* Define if you want to enable PAM support */
81#undef USE_PAM
Damien Millerbeb4ba51999-12-28 15:09:35 +110082
Damien Millerd2c208a2000-05-17 22:00:02 +100083/* Define if you want to enable AIX4's authenticate function */
Damien Miller1fa154b2000-01-23 10:32:03 +110084#undef WITH_AIXAUTHENTICATE
85
Damien Miller91606b12000-06-28 08:22:29 +100086/* Define if you have/want arrays (cluster-wide session managment, not C arrays) */
87#undef WITH_IRIX_ARRAY
88
89/* Define if you want IRIX project management */
90#undef WITH_IRIX_PROJECT
91
92/* Define if you want IRIX audit trails */
93#undef WITH_IRIX_AUDIT
94
Ben Lindstrom980754c2000-11-12 00:04:24 +000095/* Define if you want IRIX kernel jobs */
96#undef WITH_IRIX_JOBS
97
Damien Millerd0ccb982001-03-04 00:29:20 +110098/* Location of PRNGD/EGD random number socket */
99#undef PRNGD_SOCKET
100
101/* Port number of PRNGD/EGD random number socket */
102#undef PRNGD_PORT
Damien Miller1fa154b2000-01-23 10:32:03 +1100103
Damien Miller4018c192000-04-30 09:30:44 +1000104/* Builtin PRNG command timeout */
105#undef ENTROPY_TIMEOUT_MSEC
106
Kevin Steves7ff91122002-04-07 19:22:54 +0000107/* non-privileged user for privilege separation */
108#undef SSH_PRIVSEP_USER
109
Damien Miller670a4b82000-01-22 13:53:11 +1100110/* Define if you want to install preformatted manpages.*/
111#undef MANTYPE
112
Damien Miller7f6ea021999-10-28 13:25:17 +1000113/* Define if your ssl headers are included with #include <openssl/header.h> */
114#undef HAVE_OPENSSL
Damien Millerab18c411999-11-11 10:40:23 +1100115
Damien Millerd00d1611999-12-29 10:17:09 +1100116/* Define if you are linking against RSAref. Used only to print the right
117 * message at run-time. */
118#undef RSAREF
119
Ben Lindstrom42202bc2001-01-15 02:34:37 +0000120/* struct timeval */
121#undef HAVE_STRUCT_TIMEVAL
122
Damien Miller34132e52000-01-14 15:45:46 +1100123/* struct utmp and struct utmpx fields */
Damien Millerab18c411999-11-11 10:40:23 +1100124#undef HAVE_HOST_IN_UTMP
Damien Millerbf1c9b21999-12-09 10:16:54 +1100125#undef HAVE_HOST_IN_UTMPX
Damien Miller3131d8b1999-12-31 09:42:24 +1100126#undef HAVE_ADDR_IN_UTMP
Damien Miller3131d8b1999-12-31 09:42:24 +1100127#undef HAVE_ADDR_IN_UTMPX
Damien Miller34132e52000-01-14 15:45:46 +1100128#undef HAVE_ADDR_V6_IN_UTMP
129#undef HAVE_ADDR_V6_IN_UTMPX
Damien Miller2e1b0821999-12-25 10:11:29 +1100130#undef HAVE_SYSLEN_IN_UTMPX
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100131#undef HAVE_PID_IN_UTMP
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100132#undef HAVE_TYPE_IN_UTMP
Damien Millerad1bc5f2000-05-20 14:53:09 +1000133#undef HAVE_TYPE_IN_UTMPX
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100134#undef HAVE_TV_IN_UTMP
andre2ff7b5d2000-06-03 14:57:40 +0000135#undef HAVE_TV_IN_UTMPX
Damien Miller9550a761999-12-29 02:32:22 +1100136#undef HAVE_ID_IN_UTMP
Damien Miller8e81ed32000-07-01 13:17:42 +1000137#undef HAVE_ID_IN_UTMPX
andre2ff7b5d2000-06-03 14:57:40 +0000138#undef HAVE_EXIT_IN_UTMP
139#undef HAVE_TIME_IN_UTMP
140#undef HAVE_TIME_IN_UTMPX
Damien Miller9550a761999-12-29 02:32:22 +1100141
andre2ff7b5d2000-06-03 14:57:40 +0000142/* Define if you don't want to use your system's login() call */
143#undef DISABLE_LOGIN
144
145/* Define if you don't want to use pututline() etc. to write [uw]tmp */
146#undef DISABLE_PUTUTLINE
147
148/* Define if you don't want to use pututxline() etc. to write [uw]tmpx */
149#undef DISABLE_PUTUTXLINE
150
151/* Define if you don't want to use lastlog */
152#undef DISABLE_LASTLOG
153
Tim Rice81ed5182002-09-25 17:38:46 -0700154/* Define if you don't want to use lastlog in session.c */
155#undef NO_SSH_LASTLOG
156
andre2ff7b5d2000-06-03 14:57:40 +0000157/* Define if you don't want to use utmp */
158#undef DISABLE_UTMP
159
160/* Define if you don't want to use utmpx */
161#undef DISABLE_UTMPX
162
163/* Define if you don't want to use wtmp */
164#undef DISABLE_WTMP
165
166/* Define if you don't want to use wtmpx */
167#undef DISABLE_WTMPX
168
Ben Lindstrom97c677d2001-05-08 20:33:05 +0000169/* Some systems need a utmpx entry for /bin/login to work */
170#undef LOGIN_NEEDS_UTMPX
171
172/* Some versions of /bin/login need the TERM supplied on the commandline */
173#undef LOGIN_NEEDS_TERM
174
Kevin Steves5feaaef2002-04-23 20:45:55 +0000175/* Define if your login program cannot handle end of options ("--") */
176#undef LOGIN_NO_ENDOPT
177
andre2ff7b5d2000-06-03 14:57:40 +0000178/* Define if you want to specify the path to your lastlog file */
179#undef CONF_LASTLOG_FILE
180
181/* Define if you want to specify the path to your utmp file */
182#undef CONF_UTMP_FILE
183
184/* Define if you want to specify the path to your wtmp file */
185#undef CONF_WTMP_FILE
186
187/* Define if you want to specify the path to your utmpx file */
188#undef CONF_UTMPX_FILE
189
190/* Define if you want to specify the path to your wtmpx file */
191#undef CONF_WTMPX_FILE
Damien Miller368cf641999-12-21 09:51:36 +1100192
Damien Miller3f905871999-11-15 17:10:57 +1100193/* Define if you want external askpass support */
Damien Millerd05a2471999-11-15 14:25:30 +1100194#undef USE_EXTERNAL_ASKPASS
Damien Miller5ce662a1999-11-11 17:57:39 +1100195
Damien Miller3f905871999-11-15 17:10:57 +1100196/* Define if libc defines __progname */
197#undef HAVE___PROGNAME
198
Kevin Steves4846f4a2002-03-22 18:19:53 +0000199/* Define if compiler implements __FUNCTION__ */
200#undef HAVE___FUNCTION__
201
202/* Define if compiler implements __func__ */
203#undef HAVE___func__
204
Damien Millerfd4c9ee2002-04-13 11:04:40 +1000205/* Define if you want Kerberos 5 support */
206#undef KRB5
207
208/* Define this if you are using the Heimdal version of Kerberos V5 */
209#undef HEIMDAL
210
Damien Miller80297751999-11-19 13:03:25 +1100211/* Define if you want Kerberos 4 support */
212#undef KRB4
213
214/* Define if you want AFS support */
215#undef AFS
216
217/* Define if you want S/Key support */
218#undef SKEY
219
220/* Define if you want TCP Wrappers support */
221#undef LIBWRAP
222
Damien Miller04f80141999-11-19 15:32:34 +1100223/* Define if your libraries define login() */
224#undef HAVE_LOGIN
225
226/* Define if your libraries define daemon() */
227#undef HAVE_DAEMON
228
Damien Miller9fb07e42000-03-05 16:22:59 +1100229/* Define if your libraries define getpagesize() */
230#undef HAVE_GETPAGESIZE
231
Damien Miller76112de1999-12-21 11:18:08 +1100232/* Define if xauth is found in your path */
233#undef XAUTH_PATH
234
Damien Millerdd1c7ba1999-11-19 15:53:20 +1100235/* Define if you want to allow MD5 passwords */
236#undef HAVE_MD5_PASSWORDS
237
Damien Miller76112de1999-12-21 11:18:08 +1100238/* Define if you want to disable shadow passwords */
239#undef DISABLE_SHADOW
240
Damien Miller1f335fb2000-06-26 11:31:33 +1000241/* Define if you want to use shadow password expire field */
242#undef HAS_SHADOW_EXPIRE
243
Damien Millerb8c656e2000-06-28 15:22:41 +1000244/* Define if you have Digital Unix Security Integration Architecture */
245#undef HAVE_OSF_SIA
246
Damien Millerdfc83f42000-05-20 15:02:59 +1000247/* Define if you have getpwanam(3) [SunOS 4.x] */
248#undef HAVE_GETPWANAM
249
Damien Miller859cec01999-11-22 14:27:24 +1100250/* Define if you have an old version of PAM which takes only one argument */
251/* to pam_strerror */
252#undef HAVE_OLD_PAM
253
Damien Miller82cf0ce2000-12-20 13:34:48 +1100254/* Define if you are using Solaris-derived PAM which passes pam_messages */
255/* to the conversation function with an extra level of indirection */
256#undef PAM_SUN_CODEBASE
Kevin Stevesef4eea92001-02-05 12:42:17 +0000257
Damien Miller2e1b0821999-12-25 10:11:29 +1100258/* Set this to your mail directory if you don't have maillock.h */
259#undef MAIL_DIRECTORY
260
Damien Millerc6398ef1999-11-20 12:18:40 +1100261/* Data types */
Damien Millercaf6dd62000-08-29 11:33:50 +1100262#undef HAVE_U_INT
Damien Millerc6398ef1999-11-20 12:18:40 +1100263#undef HAVE_INTXX_T
264#undef HAVE_U_INTXX_T
265#undef HAVE_UINTXX_T
Damien Miller578783e2000-09-23 14:12:24 +1100266#undef HAVE_INT64_T
267#undef HAVE_U_INT64_T
Damien Miller58be7382001-09-15 21:31:54 +1000268#undef HAVE_U_CHAR
Damien Miller95058511999-12-29 10:36:45 +1100269#undef HAVE_SIZE_T
Damien Miller615f9392000-05-17 22:53:33 +1000270#undef HAVE_SSIZE_T
Ben Lindstrom0d5af602001-01-09 00:50:29 +0000271#undef HAVE_CLOCK_T
Damien Miller0f91b4e2000-06-18 15:43:25 +1000272#undef HAVE_MODE_T
273#undef HAVE_PID_T
Damien Millerb54b40e2000-06-23 08:23:34 +1000274#undef HAVE_SA_FAMILY_T
Damien Miller34132e52000-01-14 15:45:46 +1100275#undef HAVE_STRUCT_SOCKADDR_STORAGE
276#undef HAVE_STRUCT_ADDRINFO
277#undef HAVE_STRUCT_IN6_ADDR
278#undef HAVE_STRUCT_SOCKADDR_IN6
279
280/* Fields in struct sockaddr_storage */
281#undef HAVE_SS_FAMILY_IN_SS
282#undef HAVE___SS_FAMILY_IN_SS
Damien Millerc6398ef1999-11-20 12:18:40 +1100283
Damien Miller037a0dc1999-12-07 15:38:31 +1100284/* Define if you have /dev/ptmx */
285#undef HAVE_DEV_PTMX
286
287/* Define if you have /dev/ptc */
288#undef HAVE_DEV_PTS_AND_PTC
289
Damien Miller76112de1999-12-21 11:18:08 +1100290/* Define if you need to use IP address instead of hostname in $DISPLAY */
291#undef IPADDR_IN_DISPLAY
Damien Millerc6b3bbe1999-12-13 08:27:33 +1100292
Damien Miller5a3e6831999-12-27 09:48:56 +1100293/* Specify default $PATH */
294#undef USER_PATH
295
Damien Miller5eed6a22000-01-16 12:05:18 +1100296/* Specify location of ssh.pid */
Ben Lindstrom226cfa02001-01-22 05:34:40 +0000297#undef _PATH_SSH_PIDDIR
Damien Miller5eed6a22000-01-16 12:05:18 +1100298
Damien Millereca71f82000-01-20 22:38:27 +1100299/* getaddrinfo is broken (if present) */
300#undef BROKEN_GETADDRINFO
301
Damien Miller8b1204d2000-03-13 15:41:24 +1100302/* Workaround more Linux IPv6 quirks */
Damien Miller7bcb0892000-03-11 20:45:40 +1100303#undef DONT_TRY_OTHER_AF
304
305/* Detect IPv4 in IPv6 mapped addresses and treat as IPv4 */
306#undef IPV4_IN_IPV6
307
Damien Miller60396b02001-02-18 17:01:00 +1100308/* Define if you have BSD auth support */
309#undef BSD_AUTH
310
Ben Lindstrom8697e082001-02-24 21:41:10 +0000311/* Define if X11 doesn't support AF_UNIX sockets on that system */
312#undef NO_X11_UNIX_SOCKETS
313
Ben Lindstrom99a4e142002-07-09 14:06:40 +0000314/* Define if the concept of ports only accessible to superusers isn't known */
315#undef NO_IPPORT_RESERVED_CONCEPT
316
Damien Millerbb7c9762001-02-26 20:49:58 +1100317/* Needed for SCO and NeXT */
Damien Millerfbd884a2001-02-27 08:39:07 +1100318#undef BROKEN_SAVED_UIDS
Damien Millerbb7c9762001-02-26 20:49:58 +1100319
Damien Miller3c027682001-03-14 11:39:45 +1100320/* Define if your system glob() function has the GLOB_ALTDIRFUNC extension */
321#undef GLOB_HAS_ALTDIRFUNC
322
Ben Lindstrom45b14db2001-03-17 01:15:38 +0000323/* Define if your system glob() function has gl_matchc options in glob_t */
324#undef GLOB_HAS_GL_MATCHC
325
Damien Miller18bb4732001-03-28 14:35:30 +1000326/* Define in your struct dirent expects you to allocate extra space for d_name */
327#undef BROKEN_ONE_BYTE_DIRENT_D_NAME
328
Damien Miller4f8e6692001-07-14 13:22:53 +1000329/* Define if your getopt(3) defines and uses optreset */
330#undef HAVE_GETOPT_OPTRESET
331
Ben Lindstrom19d7b8d2001-08-16 00:09:49 +0000332/* Define on *nto-qnx systems */
333#undef MISSING_NFDBITS
334
335/* Define on *nto-qnx systems */
336#undef MISSING_HOWMANY
337
338/* Define on *nto-qnx systems */
339#undef MISSING_FD_MASK
340
Damien Miller85de5802001-09-18 14:01:11 +1000341/* Define if you want smartcard support */
342#undef SMARTCARD
343
Ben Lindstroma42694f2002-04-05 16:11:45 +0000344/* Define if you want smartcard support using sectok */
345#undef USE_SECTOK
346
347/* Define if you want smartcard support using OpenSC */
348#undef USE_OPENSC
349
Damien Miller6c21c512002-01-22 21:57:53 +1100350/* Define if you want to use OpenSSL's internally seeded PRNG only */
351#undef OPENSSL_PRNG_ONLY
352
Damien Millerf1b9d112002-04-23 23:09:19 +1000353/* Define if you shouldn't strip 'tty' from your ttyname in [uw]tmp */
354#undef WITH_ABBREV_NO_TTY
355
Damien Miller80080752002-05-13 10:56:51 +1000356/* Define if you want a different $PATH for the superuser */
357#undef SUPERUSER_PATH
358
Damien Millerf58c6722002-05-13 13:15:42 +1000359/* Path that unprivileged child will chroot() to in privep mode */
360#undef PRIVSEP_PATH
361
Tim Rice9dd30812002-07-07 13:43:36 -0700362/* Define if your platform needs to skip post auth file descriptor passing */
363#undef DISABLE_FD_PASSING
Tim Rice8eff3192002-06-25 15:35:15 -0700364
Damien Millere8328192003-01-07 15:18:32 +1100365/* Silly mkstemp() */
366#undef HAVE_STRICT_MKSTEMP
367
Damien Millercd6853c2003-01-28 11:33:42 +1100368/* Some systems put this outside of libc */
369#undef HAVE_NANOSLEEP
370
Darren Tuckerc437cda2003-05-10 17:05:46 +1000371/* Define if sshd somehow reacquires a controlling TTY after setsid() */
372#undef SSHD_ACQUIRES_CTTY
Damien Miller933cc8f2003-03-10 11:38:10 +1100373
Darren Tucker3c016542003-05-02 20:48:21 +1000374/* Define if cmsg_type is not passed correctly */
375#undef BROKEN_CMSG_TYPE
376
Damien Miller7abe09b2003-05-15 10:53:49 +1000377/* Define if DNS support is to be activated */
378#undef DNS
379
Damien Millerd9ec3702003-05-15 12:27:08 +1000380/* Define if getrrsetbyname() exists */
381#undef HAVE_GETRRSETBYNAME
Damien Miller7abe09b2003-05-15 10:53:49 +1000382
Damien Miller6854f821999-11-13 10:49:55 +1100383@BOTTOM@
384
Damien Miller3d1b22c1999-11-12 15:46:08 +1100385/* ******************* Shouldn't need to edit below this line ************** */
386
Damien Miller9550a242000-01-19 10:41:23 +1100387#endif /* _CONFIG_H */