blob: b6e4b37cc2bd342a5d64efca0ce6f666acbc717e [file] [log] [blame]
Damien Miller933cc8f2003-03-10 11:38:10 +11001/* $Id: acconfig.h,v 1.149 2003/03/10 00:38:10 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
Ben Lindstrom837461b2002-06-12 16:57:14 +000015/* setgroups() NOOP allowed */
16#undef SETGROUPS_NOOP
17
Damien Miller78315eb2000-09-29 23:01:36 +110018/* SCO workaround */
19#undef BROKEN_SYS_TERMIO_H
20
Kevin Steves0ea1d9d2002-04-25 18:17:04 +000021/* Define if you have SecureWare-based protected password database */
22#undef HAVE_SECUREWARE
Damien Miller78315eb2000-09-29 23:01:36 +110023
Damien Millerad833b32000-08-23 10:46:23 +100024/* If your header files don't define LOGIN_PROGRAM, then use this (detected) */
25/* from environment and PATH */
26#undef LOGIN_PROGRAM_FALLBACK
27
28/* Define if your password has a pw_class field */
29#undef HAVE_PW_CLASS_IN_PASSWD
30
Kevin Steves82456952001-06-22 21:14:18 +000031/* Define if your password has a pw_expire field */
32#undef HAVE_PW_EXPIRE_IN_PASSWD
33
34/* Define if your password has a pw_change field */
35#undef HAVE_PW_CHANGE_IN_PASSWD
36
Kevin Steves939c9db2002-03-22 17:23:25 +000037/* Define if your system uses access rights style file descriptor passing */
38#undef HAVE_ACCRIGHTS_IN_MSGHDR
39
Kevin Stevesa44e0352002-04-07 16:18:03 +000040/* Define if your system uses ancillary data style file descriptor passing */
41#undef HAVE_CONTROL_IN_MSGHDR
42
Damien Miller11fa2cc2000-08-16 10:35:58 +100043/* Define if you system's inet_ntoa is busted (e.g. Irix gcc issue) */
44#undef BROKEN_INET_NTOA
45
Damien Millerecbb26d2000-07-15 14:59:14 +100046/* Define if your system defines sys_errlist[] */
47#undef HAVE_SYS_ERRLIST
48
Damien Miller11fa2cc2000-08-16 10:35:58 +100049/* Define if your system defines sys_nerr */
50#undef HAVE_SYS_NERR
51
Damien Miller2ae714f2000-07-11 09:29:50 +100052/* Define if your system choked on IP TOS setting */
53#undef IP_TOS_IS_BROKEN
54
Damien Miller5fc85652000-07-09 23:53:07 +100055/* Define if you have the getuserattr function. */
56#undef HAVE_GETUSERATTR
57
Damien Miller4e997202000-07-09 21:21:52 +100058/* Work around problematic Linux PAM modules handling of PAM_TTY */
59#undef PAM_TTY_KLUDGE
60
Damien Millerfe668e42000-07-08 10:44:13 +100061/* Use PIPES instead of a socketpair() */
62#undef USE_PIPES
63
Damien Millercb170cb2000-07-01 16:52:55 +100064/* Define if your snprintf is busted */
65#undef BROKEN_SNPRINTF
66
Damien Millerbac2d8a2000-09-05 16:13:06 +110067/* Define if you are on Cygwin */
68#undef HAVE_CYGWIN
69
Ben Lindstromb4df15d2000-10-15 00:17:36 +000070/* Define if you have a broken realpath. */
71#undef BROKEN_REALPATH
72
Damien Miller0f91b4e2000-06-18 15:43:25 +100073/* Define if you are on NeXT */
74#undef HAVE_NEXT
75
Ben Lindstromb5628642000-10-18 00:02:25 +000076/* Define if you are on NEWS-OS */
77#undef HAVE_NEWS4
78
Damien Millera64b57a2001-01-17 10:44:13 +110079/* Define if you want to enable PAM support */
80#undef USE_PAM
Damien Millerbeb4ba51999-12-28 15:09:35 +110081
Damien Millerd2c208a2000-05-17 22:00:02 +100082/* Define if you want to enable AIX4's authenticate function */
Damien Miller1fa154b2000-01-23 10:32:03 +110083#undef WITH_AIXAUTHENTICATE
84
Damien Miller91606b12000-06-28 08:22:29 +100085/* Define if you have/want arrays (cluster-wide session managment, not C arrays) */
86#undef WITH_IRIX_ARRAY
87
88/* Define if you want IRIX project management */
89#undef WITH_IRIX_PROJECT
90
91/* Define if you want IRIX audit trails */
92#undef WITH_IRIX_AUDIT
93
Ben Lindstrom980754c2000-11-12 00:04:24 +000094/* Define if you want IRIX kernel jobs */
95#undef WITH_IRIX_JOBS
96
Damien Millerd0ccb982001-03-04 00:29:20 +110097/* Location of PRNGD/EGD random number socket */
98#undef PRNGD_SOCKET
99
100/* Port number of PRNGD/EGD random number socket */
101#undef PRNGD_PORT
Damien Miller1fa154b2000-01-23 10:32:03 +1100102
Damien Miller4018c192000-04-30 09:30:44 +1000103/* Builtin PRNG command timeout */
104#undef ENTROPY_TIMEOUT_MSEC
105
Kevin Steves7ff91122002-04-07 19:22:54 +0000106/* non-privileged user for privilege separation */
107#undef SSH_PRIVSEP_USER
108
Damien Miller670a4b82000-01-22 13:53:11 +1100109/* Define if you want to install preformatted manpages.*/
110#undef MANTYPE
111
Damien Miller7f6ea021999-10-28 13:25:17 +1000112/* Define if your ssl headers are included with #include <openssl/header.h> */
113#undef HAVE_OPENSSL
Damien Millerab18c411999-11-11 10:40:23 +1100114
Damien Millerd00d1611999-12-29 10:17:09 +1100115/* Define if you are linking against RSAref. Used only to print the right
116 * message at run-time. */
117#undef RSAREF
118
Ben Lindstrom42202bc2001-01-15 02:34:37 +0000119/* struct timeval */
120#undef HAVE_STRUCT_TIMEVAL
121
Damien Miller34132e52000-01-14 15:45:46 +1100122/* struct utmp and struct utmpx fields */
Damien Millerab18c411999-11-11 10:40:23 +1100123#undef HAVE_HOST_IN_UTMP
Damien Millerbf1c9b21999-12-09 10:16:54 +1100124#undef HAVE_HOST_IN_UTMPX
Damien Miller3131d8b1999-12-31 09:42:24 +1100125#undef HAVE_ADDR_IN_UTMP
Damien Miller3131d8b1999-12-31 09:42:24 +1100126#undef HAVE_ADDR_IN_UTMPX
Damien Miller34132e52000-01-14 15:45:46 +1100127#undef HAVE_ADDR_V6_IN_UTMP
128#undef HAVE_ADDR_V6_IN_UTMPX
Damien Miller2e1b0821999-12-25 10:11:29 +1100129#undef HAVE_SYSLEN_IN_UTMPX
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100130#undef HAVE_PID_IN_UTMP
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100131#undef HAVE_TYPE_IN_UTMP
Damien Millerad1bc5f2000-05-20 14:53:09 +1000132#undef HAVE_TYPE_IN_UTMPX
Damien Miller4ff2b9b1999-12-28 10:41:12 +1100133#undef HAVE_TV_IN_UTMP
andre2ff7b5d2000-06-03 14:57:40 +0000134#undef HAVE_TV_IN_UTMPX
Damien Miller9550a761999-12-29 02:32:22 +1100135#undef HAVE_ID_IN_UTMP
Damien Miller8e81ed32000-07-01 13:17:42 +1000136#undef HAVE_ID_IN_UTMPX
andre2ff7b5d2000-06-03 14:57:40 +0000137#undef HAVE_EXIT_IN_UTMP
138#undef HAVE_TIME_IN_UTMP
139#undef HAVE_TIME_IN_UTMPX
Damien Miller9550a761999-12-29 02:32:22 +1100140
andre2ff7b5d2000-06-03 14:57:40 +0000141/* Define if you don't want to use your system's login() call */
142#undef DISABLE_LOGIN
143
144/* Define if you don't want to use pututline() etc. to write [uw]tmp */
145#undef DISABLE_PUTUTLINE
146
147/* Define if you don't want to use pututxline() etc. to write [uw]tmpx */
148#undef DISABLE_PUTUTXLINE
149
150/* Define if you don't want to use lastlog */
151#undef DISABLE_LASTLOG
152
Tim Rice81ed5182002-09-25 17:38:46 -0700153/* Define if you don't want to use lastlog in session.c */
154#undef NO_SSH_LASTLOG
155
andre2ff7b5d2000-06-03 14:57:40 +0000156/* Define if you don't want to use utmp */
157#undef DISABLE_UTMP
158
159/* Define if you don't want to use utmpx */
160#undef DISABLE_UTMPX
161
162/* Define if you don't want to use wtmp */
163#undef DISABLE_WTMP
164
165/* Define if you don't want to use wtmpx */
166#undef DISABLE_WTMPX
167
Ben Lindstrom97c677d2001-05-08 20:33:05 +0000168/* Some systems need a utmpx entry for /bin/login to work */
169#undef LOGIN_NEEDS_UTMPX
170
171/* Some versions of /bin/login need the TERM supplied on the commandline */
172#undef LOGIN_NEEDS_TERM
173
Kevin Steves5feaaef2002-04-23 20:45:55 +0000174/* Define if your login program cannot handle end of options ("--") */
175#undef LOGIN_NO_ENDOPT
176
andre2ff7b5d2000-06-03 14:57:40 +0000177/* Define if you want to specify the path to your lastlog file */
178#undef CONF_LASTLOG_FILE
179
180/* Define if you want to specify the path to your utmp file */
181#undef CONF_UTMP_FILE
182
183/* Define if you want to specify the path to your wtmp file */
184#undef CONF_WTMP_FILE
185
186/* Define if you want to specify the path to your utmpx file */
187#undef CONF_UTMPX_FILE
188
189/* Define if you want to specify the path to your wtmpx file */
190#undef CONF_WTMPX_FILE
Damien Miller368cf641999-12-21 09:51:36 +1100191
Damien Miller3f905871999-11-15 17:10:57 +1100192/* Define if you want external askpass support */
Damien Millerd05a2471999-11-15 14:25:30 +1100193#undef USE_EXTERNAL_ASKPASS
Damien Miller5ce662a1999-11-11 17:57:39 +1100194
Damien Miller3f905871999-11-15 17:10:57 +1100195/* Define if libc defines __progname */
196#undef HAVE___PROGNAME
197
Kevin Steves4846f4a2002-03-22 18:19:53 +0000198/* Define if compiler implements __FUNCTION__ */
199#undef HAVE___FUNCTION__
200
201/* Define if compiler implements __func__ */
202#undef HAVE___func__
203
Damien Millerfd4c9ee2002-04-13 11:04:40 +1000204/* Define if you want Kerberos 5 support */
205#undef KRB5
206
207/* Define this if you are using the Heimdal version of Kerberos V5 */
208#undef HEIMDAL
209
Damien Miller80297751999-11-19 13:03:25 +1100210/* Define if you want Kerberos 4 support */
211#undef KRB4
212
213/* Define if you want AFS support */
214#undef AFS
215
216/* Define if you want S/Key support */
217#undef SKEY
218
219/* Define if you want TCP Wrappers support */
220#undef LIBWRAP
221
Damien Miller04f80141999-11-19 15:32:34 +1100222/* Define if your libraries define login() */
223#undef HAVE_LOGIN
224
225/* Define if your libraries define daemon() */
226#undef HAVE_DAEMON
227
Damien Miller9fb07e42000-03-05 16:22:59 +1100228/* Define if your libraries define getpagesize() */
229#undef HAVE_GETPAGESIZE
230
Damien Miller76112de1999-12-21 11:18:08 +1100231/* Define if xauth is found in your path */
232#undef XAUTH_PATH
233
Damien Millerdd1c7ba1999-11-19 15:53:20 +1100234/* Define if you want to allow MD5 passwords */
235#undef HAVE_MD5_PASSWORDS
236
Damien Miller76112de1999-12-21 11:18:08 +1100237/* Define if you want to disable shadow passwords */
238#undef DISABLE_SHADOW
239
Damien Miller1f335fb2000-06-26 11:31:33 +1000240/* Define if you want to use shadow password expire field */
241#undef HAS_SHADOW_EXPIRE
242
Damien Millerb8c656e2000-06-28 15:22:41 +1000243/* Define if you have Digital Unix Security Integration Architecture */
244#undef HAVE_OSF_SIA
245
Damien Millerdfc83f42000-05-20 15:02:59 +1000246/* Define if you have getpwanam(3) [SunOS 4.x] */
247#undef HAVE_GETPWANAM
248
Damien Miller859cec01999-11-22 14:27:24 +1100249/* Define if you have an old version of PAM which takes only one argument */
250/* to pam_strerror */
251#undef HAVE_OLD_PAM
252
Damien Miller82cf0ce2000-12-20 13:34:48 +1100253/* Define if you are using Solaris-derived PAM which passes pam_messages */
254/* to the conversation function with an extra level of indirection */
255#undef PAM_SUN_CODEBASE
Kevin Stevesef4eea92001-02-05 12:42:17 +0000256
Damien Miller2e1b0821999-12-25 10:11:29 +1100257/* Set this to your mail directory if you don't have maillock.h */
258#undef MAIL_DIRECTORY
259
Damien Millerc6398ef1999-11-20 12:18:40 +1100260/* Data types */
Damien Millercaf6dd62000-08-29 11:33:50 +1100261#undef HAVE_U_INT
Damien Millerc6398ef1999-11-20 12:18:40 +1100262#undef HAVE_INTXX_T
263#undef HAVE_U_INTXX_T
264#undef HAVE_UINTXX_T
Damien Miller578783e2000-09-23 14:12:24 +1100265#undef HAVE_INT64_T
266#undef HAVE_U_INT64_T
Damien Miller58be7382001-09-15 21:31:54 +1000267#undef HAVE_U_CHAR
Damien Miller95058511999-12-29 10:36:45 +1100268#undef HAVE_SIZE_T
Damien Miller615f9392000-05-17 22:53:33 +1000269#undef HAVE_SSIZE_T
Ben Lindstrom0d5af602001-01-09 00:50:29 +0000270#undef HAVE_CLOCK_T
Damien Miller0f91b4e2000-06-18 15:43:25 +1000271#undef HAVE_MODE_T
272#undef HAVE_PID_T
Damien Millerb54b40e2000-06-23 08:23:34 +1000273#undef HAVE_SA_FAMILY_T
Damien Miller34132e52000-01-14 15:45:46 +1100274#undef HAVE_STRUCT_SOCKADDR_STORAGE
275#undef HAVE_STRUCT_ADDRINFO
276#undef HAVE_STRUCT_IN6_ADDR
277#undef HAVE_STRUCT_SOCKADDR_IN6
278
279/* Fields in struct sockaddr_storage */
280#undef HAVE_SS_FAMILY_IN_SS
281#undef HAVE___SS_FAMILY_IN_SS
Damien Millerc6398ef1999-11-20 12:18:40 +1100282
Damien Miller037a0dc1999-12-07 15:38:31 +1100283/* Define if you have /dev/ptmx */
284#undef HAVE_DEV_PTMX
285
286/* Define if you have /dev/ptc */
287#undef HAVE_DEV_PTS_AND_PTC
288
Damien Miller76112de1999-12-21 11:18:08 +1100289/* Define if you need to use IP address instead of hostname in $DISPLAY */
290#undef IPADDR_IN_DISPLAY
Damien Millerc6b3bbe1999-12-13 08:27:33 +1100291
Damien Miller5a3e6831999-12-27 09:48:56 +1100292/* Specify default $PATH */
293#undef USER_PATH
294
Damien Miller5eed6a22000-01-16 12:05:18 +1100295/* Specify location of ssh.pid */
Ben Lindstrom226cfa02001-01-22 05:34:40 +0000296#undef _PATH_SSH_PIDDIR
Damien Miller5eed6a22000-01-16 12:05:18 +1100297
Damien Miller7d80e342000-01-19 14:36:49 +1100298/* Use IPv4 for connection by default, IPv6 can still if explicity asked */
299#undef IPV4_DEFAULT
300
Damien Millereca71f82000-01-20 22:38:27 +1100301/* getaddrinfo is broken (if present) */
302#undef BROKEN_GETADDRINFO
303
Damien Miller8b1204d2000-03-13 15:41:24 +1100304/* Workaround more Linux IPv6 quirks */
Damien Miller7bcb0892000-03-11 20:45:40 +1100305#undef DONT_TRY_OTHER_AF
306
307/* Detect IPv4 in IPv6 mapped addresses and treat as IPv4 */
308#undef IPV4_IN_IPV6
309
Damien Miller60396b02001-02-18 17:01:00 +1100310/* Define if you have BSD auth support */
311#undef BSD_AUTH
312
Ben Lindstrom8697e082001-02-24 21:41:10 +0000313/* Define if X11 doesn't support AF_UNIX sockets on that system */
314#undef NO_X11_UNIX_SOCKETS
315
Ben Lindstrom99a4e142002-07-09 14:06:40 +0000316/* Define if the concept of ports only accessible to superusers isn't known */
317#undef NO_IPPORT_RESERVED_CONCEPT
318
Damien Millerbb7c9762001-02-26 20:49:58 +1100319/* Needed for SCO and NeXT */
Damien Millerfbd884a2001-02-27 08:39:07 +1100320#undef BROKEN_SAVED_UIDS
Damien Millerbb7c9762001-02-26 20:49:58 +1100321
Damien Miller3c027682001-03-14 11:39:45 +1100322/* Define if your system glob() function has the GLOB_ALTDIRFUNC extension */
323#undef GLOB_HAS_ALTDIRFUNC
324
Ben Lindstrom45b14db2001-03-17 01:15:38 +0000325/* Define if your system glob() function has gl_matchc options in glob_t */
326#undef GLOB_HAS_GL_MATCHC
327
Damien Miller18bb4732001-03-28 14:35:30 +1000328/* Define in your struct dirent expects you to allocate extra space for d_name */
329#undef BROKEN_ONE_BYTE_DIRENT_D_NAME
330
Damien Miller4f8e6692001-07-14 13:22:53 +1000331/* Define if your getopt(3) defines and uses optreset */
332#undef HAVE_GETOPT_OPTRESET
333
Ben Lindstrom19d7b8d2001-08-16 00:09:49 +0000334/* Define on *nto-qnx systems */
335#undef MISSING_NFDBITS
336
337/* Define on *nto-qnx systems */
338#undef MISSING_HOWMANY
339
340/* Define on *nto-qnx systems */
341#undef MISSING_FD_MASK
342
Damien Miller85de5802001-09-18 14:01:11 +1000343/* Define if you want smartcard support */
344#undef SMARTCARD
345
Ben Lindstroma42694f2002-04-05 16:11:45 +0000346/* Define if you want smartcard support using sectok */
347#undef USE_SECTOK
348
349/* Define if you want smartcard support using OpenSC */
350#undef USE_OPENSC
351
Damien Miller6c21c512002-01-22 21:57:53 +1100352/* Define if you want to use OpenSSL's internally seeded PRNG only */
353#undef OPENSSL_PRNG_ONLY
354
Damien Millerf1b9d112002-04-23 23:09:19 +1000355/* Define if you shouldn't strip 'tty' from your ttyname in [uw]tmp */
356#undef WITH_ABBREV_NO_TTY
357
Damien Miller80080752002-05-13 10:56:51 +1000358/* Define if you want a different $PATH for the superuser */
359#undef SUPERUSER_PATH
360
Damien Millerf58c6722002-05-13 13:15:42 +1000361/* Path that unprivileged child will chroot() to in privep mode */
362#undef PRIVSEP_PATH
363
Tim Rice9dd30812002-07-07 13:43:36 -0700364/* Define if your platform needs to skip post auth file descriptor passing */
365#undef DISABLE_FD_PASSING
Tim Rice8eff3192002-06-25 15:35:15 -0700366
Damien Millere8328192003-01-07 15:18:32 +1100367/* Silly mkstemp() */
368#undef HAVE_STRICT_MKSTEMP
369
Damien Millerec201962003-01-13 10:04:58 +1100370/* Setproctitle emulation */
371#undef SETPROCTITLE_STRATEGY
372#undef SETPROCTITLE_PS_PADDING
373
Damien Millercd6853c2003-01-28 11:33:42 +1100374/* Some systems put this outside of libc */
375#undef HAVE_NANOSLEEP
376
Damien Miller933cc8f2003-03-10 11:38:10 +1100377/* Pushing STREAMS modules incorrectly acquires a controlling TTY */
378#undef STREAMS_PUSH_ACQUIRES_CTTY
379
Damien Miller6854f821999-11-13 10:49:55 +1100380@BOTTOM@
381
Damien Miller3d1b22c1999-11-12 15:46:08 +1100382/* ******************* Shouldn't need to edit below this line ************** */
383
Damien Miller9550a242000-01-19 10:41:23 +1100384#endif /* _CONFIG_H */