blob: e6f5ebbbd83e45e1806c8369da9c4ff06733b934 [file] [log] [blame]
Damien Milleraf639512003-06-11 22:51:32 +10001/* $Id: acconfig.h,v 1.157 2003/06/11 12:51:32 djm Exp $ */
2
3/*
4 * Copyright (c) 1999-2003 Damien Miller. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
Damien Millere9cf3572001-02-09 12:55:35 +110026
Damien Miller6b85a7f2000-01-02 11:45:33 +110027#ifndef _CONFIG_H
28#define _CONFIG_H
29
Damien Miller5a3e6831999-12-27 09:48:56 +110030/* Generated automatically from acconfig.h by autoheader. */
31/* Please make your changes there */
32
33@TOP@
Damien Miller7f6ea021999-10-28 13:25:17 +100034
Damien Miller5fe46a42003-06-05 09:53:31 +100035/* Define if your platform breaks doing a seteuid before a setuid */
36#undef SETEUID_BREAKS_SETUID
37
Kevin Steves8848b242000-10-18 13:11:44 +000038/* Define to a Set Process Title type if your system is */
39/* supported by bsd-setproctitle.c */
40#undef SPT_TYPE
Damien Miller35276252003-06-03 10:14:28 +100041#undef SPT_PADCHAR
Kevin Steves8848b242000-10-18 13:11:44 +000042
Ben Lindstrom837461b2002-06-12 16:57:14 +000043/* setgroups() NOOP allowed */
44#undef SETGROUPS_NOOP
45
Damien Miller78315eb2000-09-29 23:01:36 +110046/* SCO workaround */
47#undef BROKEN_SYS_TERMIO_H
48
Kevin Steves0ea1d9d2002-04-25 18:17:04 +000049/* Define if you have SecureWare-based protected password database */
50#undef HAVE_SECUREWARE
Damien Miller78315eb2000-09-29 23:01:36 +110051
Damien Millerad833b32000-08-23 10:46:23 +100052/* If your header files don't define LOGIN_PROGRAM, then use this (detected) */
53/* from environment and PATH */
54#undef LOGIN_PROGRAM_FALLBACK
55
56/* Define if your password has a pw_class field */
57#undef HAVE_PW_CLASS_IN_PASSWD
58
Kevin Steves82456952001-06-22 21:14:18 +000059/* Define if your password has a pw_expire field */
60#undef HAVE_PW_EXPIRE_IN_PASSWD
61
62/* Define if your password has a pw_change field */
63#undef HAVE_PW_CHANGE_IN_PASSWD
64
Kevin Steves939c9db2002-03-22 17:23:25 +000065/* Define if your system uses access rights style file descriptor passing */
66#undef HAVE_ACCRIGHTS_IN_MSGHDR
67
Kevin Stevesa44e0352002-04-07 16:18:03 +000068/* Define if your system uses ancillary data style file descriptor passing */
69#undef HAVE_CONTROL_IN_MSGHDR
70
Damien Miller11fa2cc2000-08-16 10:35:58 +100071/* Define if you system's inet_ntoa is busted (e.g. Irix gcc issue) */
72#undef BROKEN_INET_NTOA
73
Damien Millerecbb26d2000-07-15 14:59:14 +100074/* Define if your system defines sys_errlist[] */
75#undef HAVE_SYS_ERRLIST
76
Damien Miller11fa2cc2000-08-16 10:35:58 +100077/* Define if your system defines sys_nerr */
78#undef HAVE_SYS_NERR
79
Damien Miller2ae714f2000-07-11 09:29:50 +100080/* Define if your system choked on IP TOS setting */
81#undef IP_TOS_IS_BROKEN
82
Damien Miller5fc85652000-07-09 23:53:07 +100083/* Define if you have the getuserattr function. */
84#undef HAVE_GETUSERATTR
85
Damien Miller4e997202000-07-09 21:21:52 +100086/* Work around problematic Linux PAM modules handling of PAM_TTY */
87#undef PAM_TTY_KLUDGE
88
Damien Millerfe668e42000-07-08 10:44:13 +100089/* Use PIPES instead of a socketpair() */
90#undef USE_PIPES
91
Damien Millercb170cb2000-07-01 16:52:55 +100092/* Define if your snprintf is busted */
93#undef BROKEN_SNPRINTF
94
Damien Millerbac2d8a2000-09-05 16:13:06 +110095/* Define if you are on Cygwin */
96#undef HAVE_CYGWIN
97
Ben Lindstromb4df15d2000-10-15 00:17:36 +000098/* Define if you have a broken realpath. */
99#undef BROKEN_REALPATH
100
Damien Miller0f91b4e2000-06-18 15:43:25 +1000101/* Define if you are on NeXT */
102#undef HAVE_NEXT
103
Ben Lindstromb5628642000-10-18 00:02:25 +0000104/* Define if you are on NEWS-OS */
105#undef HAVE_NEWS4
106
Damien Millera64b57a2001-01-17 10:44:13 +1100107/* Define if you want to enable PAM support */
108#undef USE_PAM
Damien Millerbeb4ba51999-12-28 15:09:35 +1100109
Damien Millerd2c208a2000-05-17 22:00:02 +1000110/* Define if you want to enable AIX4's authenticate function */
Damien Miller1fa154b2000-01-23 10:32:03 +1100111#undef WITH_AIXAUTHENTICATE
112
Damien Miller91606b12000-06-28 08:22:29 +1000113/* Define if you have/want arrays (cluster-wide session managment, not C arrays) */
114#undef WITH_IRIX_ARRAY
115
116/* Define if you want IRIX project management */
117#undef WITH_IRIX_PROJECT
118
119/* Define if you want IRIX audit trails */
120#undef WITH_IRIX_AUDIT
121
Ben Lindstrom980754c2000-11-12 00:04:24 +0000122/* Define if you want IRIX kernel jobs */
123#undef WITH_IRIX_JOBS
124
Damien Millerd0ccb982001-03-04 00:29:20 +1100125/* Location of PRNGD/EGD random number socket */
126#undef PRNGD_SOCKET
127
128/* Port number of PRNGD/EGD random number socket */
129#undef PRNGD_PORT
Damien Miller1fa154b2000-01-23 10:32:03 +1100130
Damien Miller4018c192000-04-30 09:30:44 +1000131/* Builtin PRNG command timeout */
132#undef ENTROPY_TIMEOUT_MSEC
133
Kevin Steves7ff91122002-04-07 19:22:54 +0000134/* non-privileged user for privilege separation */
135#undef SSH_PRIVSEP_USER
136
Damien Miller670a4b82000-01-22 13:53:11 +1100137/* Define if you want to install preformatted manpages.*/
138#undef MANTYPE
139
Damien Miller7f6ea021999-10-28 13:25:17 +1000140/* Define if your ssl headers are included with #include <openssl/header.h> */
141#undef HAVE_OPENSSL
Damien Millerab18c411999-11-11 10:40:23 +1100142
Damien Millerd00d1611999-12-29 10:17:09 +1100143/* Define if you are linking against RSAref. Used only to print the right
144 * message at run-time. */
145#undef RSAREF
146
Ben Lindstrom42202bc2001-01-15 02:34:37 +0000147/* struct timeval */
148#undef HAVE_STRUCT_TIMEVAL
149
Damien Miller34132e52000-01-14 15:45:46 +1100150/* struct utmp and struct utmpx fields */
Damien Millerab18c411999-11-11 10:40:23 +1100151#undef HAVE_HOST_IN_UTMP
Damien Millerbf1c9b21999-12-09 10:16:54 +1100152#undef HAVE_HOST_IN_UTMPX
Damien Miller3131d8b1999-12-31 09:42:24 +1100153#undef HAVE_ADDR_IN_UTMP
Damien Miller3131d8b1999-12-31 09:42:24 +1100154#undef HAVE_ADDR_IN_UTMPX
Damien Miller34132e52000-01-14 15:45:46 +1100155#undef HAVE_ADDR_V6_IN_UTMP
156#undef HAVE_ADDR_V6_IN_UTMPX
Damien Miller2e1b0821999-12-25 10:11:29 +1100157#undef HAVE_SYSLEN_IN_UTMPX
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100158#undef HAVE_PID_IN_UTMP
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100159#undef HAVE_TYPE_IN_UTMP
Damien Millerad1bc5f2000-05-20 14:53:09 +1000160#undef HAVE_TYPE_IN_UTMPX
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100161#undef HAVE_TV_IN_UTMP
andre2ff7b5d2000-06-03 14:57:40 +0000162#undef HAVE_TV_IN_UTMPX
Damien Miller9550a761999-12-29 02:32:22 +1100163#undef HAVE_ID_IN_UTMP
Damien Miller8e81ed32000-07-01 13:17:42 +1000164#undef HAVE_ID_IN_UTMPX
andre2ff7b5d2000-06-03 14:57:40 +0000165#undef HAVE_EXIT_IN_UTMP
166#undef HAVE_TIME_IN_UTMP
167#undef HAVE_TIME_IN_UTMPX
Damien Miller9550a761999-12-29 02:32:22 +1100168
andre2ff7b5d2000-06-03 14:57:40 +0000169/* Define if you don't want to use your system's login() call */
170#undef DISABLE_LOGIN
171
172/* Define if you don't want to use pututline() etc. to write [uw]tmp */
173#undef DISABLE_PUTUTLINE
174
175/* Define if you don't want to use pututxline() etc. to write [uw]tmpx */
176#undef DISABLE_PUTUTXLINE
177
178/* Define if you don't want to use lastlog */
179#undef DISABLE_LASTLOG
180
Tim Rice81ed5182002-09-25 17:38:46 -0700181/* Define if you don't want to use lastlog in session.c */
182#undef NO_SSH_LASTLOG
183
andre2ff7b5d2000-06-03 14:57:40 +0000184/* Define if you don't want to use utmp */
185#undef DISABLE_UTMP
186
187/* Define if you don't want to use utmpx */
188#undef DISABLE_UTMPX
189
190/* Define if you don't want to use wtmp */
191#undef DISABLE_WTMP
192
193/* Define if you don't want to use wtmpx */
194#undef DISABLE_WTMPX
195
Ben Lindstrom97c677d2001-05-08 20:33:05 +0000196/* Some systems need a utmpx entry for /bin/login to work */
197#undef LOGIN_NEEDS_UTMPX
198
199/* Some versions of /bin/login need the TERM supplied on the commandline */
200#undef LOGIN_NEEDS_TERM
201
Kevin Steves5feaaef2002-04-23 20:45:55 +0000202/* Define if your login program cannot handle end of options ("--") */
203#undef LOGIN_NO_ENDOPT
204
andre2ff7b5d2000-06-03 14:57:40 +0000205/* Define if you want to specify the path to your lastlog file */
206#undef CONF_LASTLOG_FILE
207
208/* Define if you want to specify the path to your utmp file */
209#undef CONF_UTMP_FILE
210
211/* Define if you want to specify the path to your wtmp file */
212#undef CONF_WTMP_FILE
213
214/* Define if you want to specify the path to your utmpx file */
215#undef CONF_UTMPX_FILE
216
217/* Define if you want to specify the path to your wtmpx file */
218#undef CONF_WTMPX_FILE
Damien Miller368cf641999-12-21 09:51:36 +1100219
Damien Miller3f905871999-11-15 17:10:57 +1100220/* Define if you want external askpass support */
Damien Millerd05a2471999-11-15 14:25:30 +1100221#undef USE_EXTERNAL_ASKPASS
Damien Miller5ce662a1999-11-11 17:57:39 +1100222
Damien Miller3f905871999-11-15 17:10:57 +1100223/* Define if libc defines __progname */
224#undef HAVE___PROGNAME
225
Kevin Steves4846f4a2002-03-22 18:19:53 +0000226/* Define if compiler implements __FUNCTION__ */
227#undef HAVE___FUNCTION__
228
229/* Define if compiler implements __func__ */
230#undef HAVE___func__
231
Damien Millerfd4c9ee2002-04-13 11:04:40 +1000232/* Define if you want Kerberos 5 support */
233#undef KRB5
234
235/* Define this if you are using the Heimdal version of Kerberos V5 */
236#undef HEIMDAL
237
Damien Miller80297751999-11-19 13:03:25 +1100238/* Define if you want Kerberos 4 support */
239#undef KRB4
240
241/* Define if you want AFS support */
242#undef AFS
243
244/* Define if you want S/Key support */
245#undef SKEY
246
247/* Define if you want TCP Wrappers support */
248#undef LIBWRAP
249
Damien Miller04f80141999-11-19 15:32:34 +1100250/* Define if your libraries define login() */
251#undef HAVE_LOGIN
252
253/* Define if your libraries define daemon() */
254#undef HAVE_DAEMON
255
Damien Miller9fb07e42000-03-05 16:22:59 +1100256/* Define if your libraries define getpagesize() */
257#undef HAVE_GETPAGESIZE
258
Damien Miller76112de1999-12-21 11:18:08 +1100259/* Define if xauth is found in your path */
260#undef XAUTH_PATH
261
Damien Millerdd1c7ba1999-11-19 15:53:20 +1100262/* Define if you want to allow MD5 passwords */
263#undef HAVE_MD5_PASSWORDS
264
Damien Miller76112de1999-12-21 11:18:08 +1100265/* Define if you want to disable shadow passwords */
266#undef DISABLE_SHADOW
267
Damien Miller1f335fb2000-06-26 11:31:33 +1000268/* Define if you want to use shadow password expire field */
269#undef HAS_SHADOW_EXPIRE
270
Damien Millerb8c656e2000-06-28 15:22:41 +1000271/* Define if you have Digital Unix Security Integration Architecture */
272#undef HAVE_OSF_SIA
273
Damien Millerdfc83f42000-05-20 15:02:59 +1000274/* Define if you have getpwanam(3) [SunOS 4.x] */
275#undef HAVE_GETPWANAM
276
Damien Miller859cec01999-11-22 14:27:24 +1100277/* Define if you have an old version of PAM which takes only one argument */
278/* to pam_strerror */
279#undef HAVE_OLD_PAM
280
Damien Miller82cf0ce2000-12-20 13:34:48 +1100281/* Define if you are using Solaris-derived PAM which passes pam_messages */
282/* to the conversation function with an extra level of indirection */
283#undef PAM_SUN_CODEBASE
Kevin Stevesef4eea92001-02-05 12:42:17 +0000284
Damien Miller2e1b0821999-12-25 10:11:29 +1100285/* Set this to your mail directory if you don't have maillock.h */
286#undef MAIL_DIRECTORY
287
Damien Millerc6398ef1999-11-20 12:18:40 +1100288/* Data types */
Damien Millercaf6dd62000-08-29 11:33:50 +1100289#undef HAVE_U_INT
Damien Millerc6398ef1999-11-20 12:18:40 +1100290#undef HAVE_INTXX_T
291#undef HAVE_U_INTXX_T
292#undef HAVE_UINTXX_T
Damien Miller578783e2000-09-23 14:12:24 +1100293#undef HAVE_INT64_T
294#undef HAVE_U_INT64_T
Damien Miller58be7382001-09-15 21:31:54 +1000295#undef HAVE_U_CHAR
Damien Miller95058511999-12-29 10:36:45 +1100296#undef HAVE_SIZE_T
Damien Miller615f9392000-05-17 22:53:33 +1000297#undef HAVE_SSIZE_T
Ben Lindstrom0d5af602001-01-09 00:50:29 +0000298#undef HAVE_CLOCK_T
Damien Miller0f91b4e2000-06-18 15:43:25 +1000299#undef HAVE_MODE_T
300#undef HAVE_PID_T
Damien Millerb54b40e2000-06-23 08:23:34 +1000301#undef HAVE_SA_FAMILY_T
Damien Miller34132e52000-01-14 15:45:46 +1100302#undef HAVE_STRUCT_SOCKADDR_STORAGE
303#undef HAVE_STRUCT_ADDRINFO
304#undef HAVE_STRUCT_IN6_ADDR
305#undef HAVE_STRUCT_SOCKADDR_IN6
306
307/* Fields in struct sockaddr_storage */
308#undef HAVE_SS_FAMILY_IN_SS
309#undef HAVE___SS_FAMILY_IN_SS
Damien Millerc6398ef1999-11-20 12:18:40 +1100310
Damien Miller037a0dc1999-12-07 15:38:31 +1100311/* Define if you have /dev/ptmx */
312#undef HAVE_DEV_PTMX
313
314/* Define if you have /dev/ptc */
315#undef HAVE_DEV_PTS_AND_PTC
316
Damien Miller76112de1999-12-21 11:18:08 +1100317/* Define if you need to use IP address instead of hostname in $DISPLAY */
318#undef IPADDR_IN_DISPLAY
Damien Millerc6b3bbe1999-12-13 08:27:33 +1100319
Damien Miller5a3e6831999-12-27 09:48:56 +1100320/* Specify default $PATH */
321#undef USER_PATH
322
Damien Miller5eed6a22000-01-16 12:05:18 +1100323/* Specify location of ssh.pid */
Ben Lindstrom226cfa02001-01-22 05:34:40 +0000324#undef _PATH_SSH_PIDDIR
Damien Miller5eed6a22000-01-16 12:05:18 +1100325
Damien Millereca71f82000-01-20 22:38:27 +1100326/* getaddrinfo is broken (if present) */
327#undef BROKEN_GETADDRINFO
328
Damien Miller8b1204d2000-03-13 15:41:24 +1100329/* Workaround more Linux IPv6 quirks */
Damien Miller7bcb0892000-03-11 20:45:40 +1100330#undef DONT_TRY_OTHER_AF
331
332/* Detect IPv4 in IPv6 mapped addresses and treat as IPv4 */
333#undef IPV4_IN_IPV6
334
Damien Miller60396b02001-02-18 17:01:00 +1100335/* Define if you have BSD auth support */
336#undef BSD_AUTH
337
Ben Lindstrom8697e082001-02-24 21:41:10 +0000338/* Define if X11 doesn't support AF_UNIX sockets on that system */
339#undef NO_X11_UNIX_SOCKETS
340
Ben Lindstrom99a4e142002-07-09 14:06:40 +0000341/* Define if the concept of ports only accessible to superusers isn't known */
342#undef NO_IPPORT_RESERVED_CONCEPT
343
Damien Millerbb7c9762001-02-26 20:49:58 +1100344/* Needed for SCO and NeXT */
Damien Millerfbd884a2001-02-27 08:39:07 +1100345#undef BROKEN_SAVED_UIDS
Damien Millerbb7c9762001-02-26 20:49:58 +1100346
Damien Miller3c027682001-03-14 11:39:45 +1100347/* Define if your system glob() function has the GLOB_ALTDIRFUNC extension */
348#undef GLOB_HAS_ALTDIRFUNC
349
Ben Lindstrom45b14db2001-03-17 01:15:38 +0000350/* Define if your system glob() function has gl_matchc options in glob_t */
351#undef GLOB_HAS_GL_MATCHC
352
Damien Miller18bb4732001-03-28 14:35:30 +1000353/* Define in your struct dirent expects you to allocate extra space for d_name */
354#undef BROKEN_ONE_BYTE_DIRENT_D_NAME
355
Damien Miller4f8e6692001-07-14 13:22:53 +1000356/* Define if your getopt(3) defines and uses optreset */
357#undef HAVE_GETOPT_OPTRESET
358
Ben Lindstrom19d7b8d2001-08-16 00:09:49 +0000359/* Define on *nto-qnx systems */
360#undef MISSING_NFDBITS
361
362/* Define on *nto-qnx systems */
363#undef MISSING_HOWMANY
364
365/* Define on *nto-qnx systems */
366#undef MISSING_FD_MASK
367
Damien Miller85de5802001-09-18 14:01:11 +1000368/* Define if you want smartcard support */
369#undef SMARTCARD
370
Ben Lindstroma42694f2002-04-05 16:11:45 +0000371/* Define if you want smartcard support using sectok */
372#undef USE_SECTOK
373
374/* Define if you want smartcard support using OpenSC */
375#undef USE_OPENSC
376
Damien Miller6c21c512002-01-22 21:57:53 +1100377/* Define if you want to use OpenSSL's internally seeded PRNG only */
378#undef OPENSSL_PRNG_ONLY
379
Damien Millerf1b9d112002-04-23 23:09:19 +1000380/* Define if you shouldn't strip 'tty' from your ttyname in [uw]tmp */
381#undef WITH_ABBREV_NO_TTY
382
Damien Miller80080752002-05-13 10:56:51 +1000383/* Define if you want a different $PATH for the superuser */
384#undef SUPERUSER_PATH
385
Damien Millerf58c6722002-05-13 13:15:42 +1000386/* Path that unprivileged child will chroot() to in privep mode */
387#undef PRIVSEP_PATH
388
Tim Rice9dd30812002-07-07 13:43:36 -0700389/* Define if your platform needs to skip post auth file descriptor passing */
390#undef DISABLE_FD_PASSING
Tim Rice8eff3192002-06-25 15:35:15 -0700391
Damien Millere8328192003-01-07 15:18:32 +1100392/* Silly mkstemp() */
393#undef HAVE_STRICT_MKSTEMP
394
Damien Millercd6853c2003-01-28 11:33:42 +1100395/* Some systems put this outside of libc */
396#undef HAVE_NANOSLEEP
397
Darren Tuckerc437cda2003-05-10 17:05:46 +1000398/* Define if sshd somehow reacquires a controlling TTY after setsid() */
399#undef SSHD_ACQUIRES_CTTY
Damien Miller933cc8f2003-03-10 11:38:10 +1100400
Darren Tucker3c016542003-05-02 20:48:21 +1000401/* Define if cmsg_type is not passed correctly */
402#undef BROKEN_CMSG_TYPE
403
Damien Miller7abe09b2003-05-15 10:53:49 +1000404/* Define if DNS support is to be activated */
405#undef DNS
406
Damien Millerd9ec3702003-05-15 12:27:08 +1000407/* Define if getrrsetbyname() exists */
408#undef HAVE_GETRRSETBYNAME
Damien Miller7abe09b2003-05-15 10:53:49 +1000409
Damien Miller6854f821999-11-13 10:49:55 +1100410@BOTTOM@
411
Damien Miller3d1b22c1999-11-12 15:46:08 +1100412/* ******************* Shouldn't need to edit below this line ************** */
413
Damien Miller9550a242000-01-19 10:41:23 +1100414#endif /* _CONFIG_H */