blob: 24c07beedf17e97d9a3540e39c9113ab61973f8b [file] [log] [blame]
Darren Tucker6aaa58c2003-08-02 22:24:49 +10001/* $Id: acconfig.h,v 1.160 2003/08/02 12:24:49 dtucker Exp $ */
Damien Milleraf639512003-06-11 22:51:32 +10002
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
Darren Tucker5c6a91a2003-07-14 16:21:44 +1000113/* Define if your AIX loginfailed() function takes 4 arguments (AIX >= 5.2) */
114#undef AIX_LOGINFAILED_4ARG
Darren Tuckera0c0b632003-07-08 20:52:12 +1000115
Damien Miller91606b12000-06-28 08:22:29 +1000116/* Define if you have/want arrays (cluster-wide session managment, not C arrays) */
117#undef WITH_IRIX_ARRAY
118
119/* Define if you want IRIX project management */
120#undef WITH_IRIX_PROJECT
121
122/* Define if you want IRIX audit trails */
123#undef WITH_IRIX_AUDIT
124
Ben Lindstrom980754c2000-11-12 00:04:24 +0000125/* Define if you want IRIX kernel jobs */
126#undef WITH_IRIX_JOBS
127
Damien Millerd0ccb982001-03-04 00:29:20 +1100128/* Location of PRNGD/EGD random number socket */
129#undef PRNGD_SOCKET
130
131/* Port number of PRNGD/EGD random number socket */
132#undef PRNGD_PORT
Damien Miller1fa154b2000-01-23 10:32:03 +1100133
Damien Miller4018c192000-04-30 09:30:44 +1000134/* Builtin PRNG command timeout */
135#undef ENTROPY_TIMEOUT_MSEC
136
Kevin Steves7ff91122002-04-07 19:22:54 +0000137/* non-privileged user for privilege separation */
138#undef SSH_PRIVSEP_USER
139
Damien Miller670a4b82000-01-22 13:53:11 +1100140/* Define if you want to install preformatted manpages.*/
141#undef MANTYPE
142
Damien Miller7f6ea021999-10-28 13:25:17 +1000143/* Define if your ssl headers are included with #include <openssl/header.h> */
144#undef HAVE_OPENSSL
Damien Millerab18c411999-11-11 10:40:23 +1100145
Damien Millerd00d1611999-12-29 10:17:09 +1100146/* Define if you are linking against RSAref. Used only to print the right
147 * message at run-time. */
148#undef RSAREF
149
Ben Lindstrom42202bc2001-01-15 02:34:37 +0000150/* struct timeval */
151#undef HAVE_STRUCT_TIMEVAL
152
Damien Miller34132e52000-01-14 15:45:46 +1100153/* struct utmp and struct utmpx fields */
Damien Millerab18c411999-11-11 10:40:23 +1100154#undef HAVE_HOST_IN_UTMP
Damien Millerbf1c9b21999-12-09 10:16:54 +1100155#undef HAVE_HOST_IN_UTMPX
Damien Miller3131d8b1999-12-31 09:42:24 +1100156#undef HAVE_ADDR_IN_UTMP
Damien Miller3131d8b1999-12-31 09:42:24 +1100157#undef HAVE_ADDR_IN_UTMPX
Damien Miller34132e52000-01-14 15:45:46 +1100158#undef HAVE_ADDR_V6_IN_UTMP
159#undef HAVE_ADDR_V6_IN_UTMPX
Damien Miller2e1b0821999-12-25 10:11:29 +1100160#undef HAVE_SYSLEN_IN_UTMPX
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100161#undef HAVE_PID_IN_UTMP
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100162#undef HAVE_TYPE_IN_UTMP
Damien Millerad1bc5f2000-05-20 14:53:09 +1000163#undef HAVE_TYPE_IN_UTMPX
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100164#undef HAVE_TV_IN_UTMP
andre2ff7b5d2000-06-03 14:57:40 +0000165#undef HAVE_TV_IN_UTMPX
Damien Miller9550a761999-12-29 02:32:22 +1100166#undef HAVE_ID_IN_UTMP
Damien Miller8e81ed32000-07-01 13:17:42 +1000167#undef HAVE_ID_IN_UTMPX
andre2ff7b5d2000-06-03 14:57:40 +0000168#undef HAVE_EXIT_IN_UTMP
169#undef HAVE_TIME_IN_UTMP
170#undef HAVE_TIME_IN_UTMPX
Damien Miller9550a761999-12-29 02:32:22 +1100171
andre2ff7b5d2000-06-03 14:57:40 +0000172/* Define if you don't want to use your system's login() call */
173#undef DISABLE_LOGIN
174
175/* Define if you don't want to use pututline() etc. to write [uw]tmp */
176#undef DISABLE_PUTUTLINE
177
178/* Define if you don't want to use pututxline() etc. to write [uw]tmpx */
179#undef DISABLE_PUTUTXLINE
180
181/* Define if you don't want to use lastlog */
182#undef DISABLE_LASTLOG
183
Tim Rice81ed5182002-09-25 17:38:46 -0700184/* Define if you don't want to use lastlog in session.c */
185#undef NO_SSH_LASTLOG
186
andre2ff7b5d2000-06-03 14:57:40 +0000187/* Define if you don't want to use utmp */
188#undef DISABLE_UTMP
189
190/* Define if you don't want to use utmpx */
191#undef DISABLE_UTMPX
192
193/* Define if you don't want to use wtmp */
194#undef DISABLE_WTMP
195
196/* Define if you don't want to use wtmpx */
197#undef DISABLE_WTMPX
198
Ben Lindstrom97c677d2001-05-08 20:33:05 +0000199/* Some systems need a utmpx entry for /bin/login to work */
200#undef LOGIN_NEEDS_UTMPX
201
202/* Some versions of /bin/login need the TERM supplied on the commandline */
203#undef LOGIN_NEEDS_TERM
204
Kevin Steves5feaaef2002-04-23 20:45:55 +0000205/* Define if your login program cannot handle end of options ("--") */
206#undef LOGIN_NO_ENDOPT
207
andre2ff7b5d2000-06-03 14:57:40 +0000208/* Define if you want to specify the path to your lastlog file */
209#undef CONF_LASTLOG_FILE
210
211/* Define if you want to specify the path to your utmp file */
212#undef CONF_UTMP_FILE
213
214/* Define if you want to specify the path to your wtmp file */
215#undef CONF_WTMP_FILE
216
217/* Define if you want to specify the path to your utmpx file */
218#undef CONF_UTMPX_FILE
219
220/* Define if you want to specify the path to your wtmpx file */
221#undef CONF_WTMPX_FILE
Damien Miller368cf641999-12-21 09:51:36 +1100222
Damien Miller3f905871999-11-15 17:10:57 +1100223/* Define if you want external askpass support */
Damien Millerd05a2471999-11-15 14:25:30 +1100224#undef USE_EXTERNAL_ASKPASS
Damien Miller5ce662a1999-11-11 17:57:39 +1100225
Damien Miller3f905871999-11-15 17:10:57 +1100226/* Define if libc defines __progname */
227#undef HAVE___PROGNAME
228
Kevin Steves4846f4a2002-03-22 18:19:53 +0000229/* Define if compiler implements __FUNCTION__ */
230#undef HAVE___FUNCTION__
231
232/* Define if compiler implements __func__ */
233#undef HAVE___func__
234
Damien Millerfd4c9ee2002-04-13 11:04:40 +1000235/* Define if you want Kerberos 5 support */
236#undef KRB5
237
238/* Define this if you are using the Heimdal version of Kerberos V5 */
239#undef HEIMDAL
240
Damien Miller80297751999-11-19 13:03:25 +1100241/* Define if you want S/Key support */
242#undef SKEY
243
244/* Define if you want TCP Wrappers support */
245#undef LIBWRAP
246
Damien Miller04f80141999-11-19 15:32:34 +1100247/* Define if your libraries define login() */
248#undef HAVE_LOGIN
249
250/* Define if your libraries define daemon() */
251#undef HAVE_DAEMON
252
Damien Miller9fb07e42000-03-05 16:22:59 +1100253/* Define if your libraries define getpagesize() */
254#undef HAVE_GETPAGESIZE
255
Damien Miller76112de1999-12-21 11:18:08 +1100256/* Define if xauth is found in your path */
257#undef XAUTH_PATH
258
Damien Millerdd1c7ba1999-11-19 15:53:20 +1100259/* Define if you want to allow MD5 passwords */
260#undef HAVE_MD5_PASSWORDS
261
Damien Miller76112de1999-12-21 11:18:08 +1100262/* Define if you want to disable shadow passwords */
263#undef DISABLE_SHADOW
264
Damien Miller1f335fb2000-06-26 11:31:33 +1000265/* Define if you want to use shadow password expire field */
266#undef HAS_SHADOW_EXPIRE
267
Damien Millerb8c656e2000-06-28 15:22:41 +1000268/* Define if you have Digital Unix Security Integration Architecture */
269#undef HAVE_OSF_SIA
270
Damien Millerdfc83f42000-05-20 15:02:59 +1000271/* Define if you have getpwanam(3) [SunOS 4.x] */
272#undef HAVE_GETPWANAM
273
Damien Miller859cec01999-11-22 14:27:24 +1100274/* Define if you have an old version of PAM which takes only one argument */
275/* to pam_strerror */
276#undef HAVE_OLD_PAM
277
Damien Miller82cf0ce2000-12-20 13:34:48 +1100278/* Define if you are using Solaris-derived PAM which passes pam_messages */
279/* to the conversation function with an extra level of indirection */
280#undef PAM_SUN_CODEBASE
Kevin Stevesef4eea92001-02-05 12:42:17 +0000281
Damien Miller2e1b0821999-12-25 10:11:29 +1100282/* Set this to your mail directory if you don't have maillock.h */
283#undef MAIL_DIRECTORY
284
Damien Millerc6398ef1999-11-20 12:18:40 +1100285/* Data types */
Damien Millercaf6dd62000-08-29 11:33:50 +1100286#undef HAVE_U_INT
Damien Millerc6398ef1999-11-20 12:18:40 +1100287#undef HAVE_INTXX_T
288#undef HAVE_U_INTXX_T
289#undef HAVE_UINTXX_T
Damien Miller578783e2000-09-23 14:12:24 +1100290#undef HAVE_INT64_T
291#undef HAVE_U_INT64_T
Damien Miller58be7382001-09-15 21:31:54 +1000292#undef HAVE_U_CHAR
Damien Miller95058511999-12-29 10:36:45 +1100293#undef HAVE_SIZE_T
Damien Miller615f9392000-05-17 22:53:33 +1000294#undef HAVE_SSIZE_T
Ben Lindstrom0d5af602001-01-09 00:50:29 +0000295#undef HAVE_CLOCK_T
Damien Miller0f91b4e2000-06-18 15:43:25 +1000296#undef HAVE_MODE_T
297#undef HAVE_PID_T
Damien Millerb54b40e2000-06-23 08:23:34 +1000298#undef HAVE_SA_FAMILY_T
Damien Miller34132e52000-01-14 15:45:46 +1100299#undef HAVE_STRUCT_SOCKADDR_STORAGE
300#undef HAVE_STRUCT_ADDRINFO
301#undef HAVE_STRUCT_IN6_ADDR
302#undef HAVE_STRUCT_SOCKADDR_IN6
303
304/* Fields in struct sockaddr_storage */
305#undef HAVE_SS_FAMILY_IN_SS
306#undef HAVE___SS_FAMILY_IN_SS
Damien Millerc6398ef1999-11-20 12:18:40 +1100307
Damien Miller037a0dc1999-12-07 15:38:31 +1100308/* Define if you have /dev/ptmx */
309#undef HAVE_DEV_PTMX
310
311/* Define if you have /dev/ptc */
312#undef HAVE_DEV_PTS_AND_PTC
313
Damien Miller76112de1999-12-21 11:18:08 +1100314/* Define if you need to use IP address instead of hostname in $DISPLAY */
315#undef IPADDR_IN_DISPLAY
Damien Millerc6b3bbe1999-12-13 08:27:33 +1100316
Damien Miller5a3e6831999-12-27 09:48:56 +1100317/* Specify default $PATH */
318#undef USER_PATH
319
Damien Miller5eed6a22000-01-16 12:05:18 +1100320/* Specify location of ssh.pid */
Ben Lindstrom226cfa02001-01-22 05:34:40 +0000321#undef _PATH_SSH_PIDDIR
Damien Miller5eed6a22000-01-16 12:05:18 +1100322
Damien Millereca71f82000-01-20 22:38:27 +1100323/* getaddrinfo is broken (if present) */
324#undef BROKEN_GETADDRINFO
325
Damien Miller8b1204d2000-03-13 15:41:24 +1100326/* Workaround more Linux IPv6 quirks */
Damien Miller7bcb0892000-03-11 20:45:40 +1100327#undef DONT_TRY_OTHER_AF
328
329/* Detect IPv4 in IPv6 mapped addresses and treat as IPv4 */
330#undef IPV4_IN_IPV6
331
Damien Miller60396b02001-02-18 17:01:00 +1100332/* Define if you have BSD auth support */
333#undef BSD_AUTH
334
Ben Lindstrom8697e082001-02-24 21:41:10 +0000335/* Define if X11 doesn't support AF_UNIX sockets on that system */
336#undef NO_X11_UNIX_SOCKETS
337
Ben Lindstrom99a4e142002-07-09 14:06:40 +0000338/* Define if the concept of ports only accessible to superusers isn't known */
339#undef NO_IPPORT_RESERVED_CONCEPT
340
Damien Millerbb7c9762001-02-26 20:49:58 +1100341/* Needed for SCO and NeXT */
Damien Millerfbd884a2001-02-27 08:39:07 +1100342#undef BROKEN_SAVED_UIDS
Damien Millerbb7c9762001-02-26 20:49:58 +1100343
Damien Miller3c027682001-03-14 11:39:45 +1100344/* Define if your system glob() function has the GLOB_ALTDIRFUNC extension */
345#undef GLOB_HAS_ALTDIRFUNC
346
Ben Lindstrom45b14db2001-03-17 01:15:38 +0000347/* Define if your system glob() function has gl_matchc options in glob_t */
348#undef GLOB_HAS_GL_MATCHC
349
Damien Miller18bb4732001-03-28 14:35:30 +1000350/* Define in your struct dirent expects you to allocate extra space for d_name */
351#undef BROKEN_ONE_BYTE_DIRENT_D_NAME
352
Damien Miller4f8e6692001-07-14 13:22:53 +1000353/* Define if your getopt(3) defines and uses optreset */
354#undef HAVE_GETOPT_OPTRESET
355
Ben Lindstrom19d7b8d2001-08-16 00:09:49 +0000356/* Define on *nto-qnx systems */
357#undef MISSING_NFDBITS
358
359/* Define on *nto-qnx systems */
360#undef MISSING_HOWMANY
361
362/* Define on *nto-qnx systems */
363#undef MISSING_FD_MASK
364
Damien Miller85de5802001-09-18 14:01:11 +1000365/* Define if you want smartcard support */
366#undef SMARTCARD
367
Ben Lindstroma42694f2002-04-05 16:11:45 +0000368/* Define if you want smartcard support using sectok */
369#undef USE_SECTOK
370
371/* Define if you want smartcard support using OpenSC */
372#undef USE_OPENSC
373
Damien Miller6c21c512002-01-22 21:57:53 +1100374/* Define if you want to use OpenSSL's internally seeded PRNG only */
375#undef OPENSSL_PRNG_ONLY
376
Damien Millerf1b9d112002-04-23 23:09:19 +1000377/* Define if you shouldn't strip 'tty' from your ttyname in [uw]tmp */
378#undef WITH_ABBREV_NO_TTY
379
Damien Miller80080752002-05-13 10:56:51 +1000380/* Define if you want a different $PATH for the superuser */
381#undef SUPERUSER_PATH
382
Damien Millerf58c6722002-05-13 13:15:42 +1000383/* Path that unprivileged child will chroot() to in privep mode */
384#undef PRIVSEP_PATH
385
Tim Rice9dd30812002-07-07 13:43:36 -0700386/* Define if your platform needs to skip post auth file descriptor passing */
387#undef DISABLE_FD_PASSING
Tim Rice8eff3192002-06-25 15:35:15 -0700388
Damien Millere8328192003-01-07 15:18:32 +1100389/* Silly mkstemp() */
390#undef HAVE_STRICT_MKSTEMP
391
Damien Millercd6853c2003-01-28 11:33:42 +1100392/* Some systems put this outside of libc */
393#undef HAVE_NANOSLEEP
394
Darren Tuckerc437cda2003-05-10 17:05:46 +1000395/* Define if sshd somehow reacquires a controlling TTY after setsid() */
396#undef SSHD_ACQUIRES_CTTY
Damien Miller933cc8f2003-03-10 11:38:10 +1100397
Darren Tucker3c016542003-05-02 20:48:21 +1000398/* Define if cmsg_type is not passed correctly */
399#undef BROKEN_CMSG_TYPE
400
Damien Miller7abe09b2003-05-15 10:53:49 +1000401/* Define if DNS support is to be activated */
402#undef DNS
403
Damien Millerd9ec3702003-05-15 12:27:08 +1000404/* Define if getrrsetbyname() exists */
405#undef HAVE_GETRRSETBYNAME
Damien Miller7abe09b2003-05-15 10:53:49 +1000406
Damien Miller6854f821999-11-13 10:49:55 +1100407@BOTTOM@
408
Damien Miller3d1b22c1999-11-12 15:46:08 +1100409/* ******************* Shouldn't need to edit below this line ************** */
410
Damien Miller9550a242000-01-19 10:41:23 +1100411#endif /* _CONFIG_H */