Fix an issue where the random number generator's random event injector
[dragonfly.git] / lib / libopie / config.h
blob5befe8cc17c07ec65bb3249b5390aa43de861f69
1 /* $FreeBSD: src/lib/libopie/config.h,v 1.4.2.2 2002/07/15 14:17:08 des Exp $ */
2 /* $DragonFly: src/lib/libopie/config.h,v 1.3 2007/03/25 11:35:11 swildner Exp $ */
3 /* config.h. Generated automatically by configure. */
4 /* config.h.in. Generated automatically from configure.in by autoheader. */
6 /* Define if on AIX 3.
7 System headers sometimes define this.
8 We just want to avoid a redefinition error message. */
9 #ifndef _ALL_SOURCE
10 /* #undef _ALL_SOURCE */
11 #endif
13 /* Define if using alloca.c. */
14 /* #undef C_ALLOCA */
16 /* Define to empty if the keyword does not work. */
17 /* #undef const */
19 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
20 This function is required for alloca.c support on those systems. */
21 /* #undef CRAY_STACKSEG_END */
23 /* Define if you have alloca, as a function or macro. */
24 #define HAVE_ALLOCA 1
26 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
27 /* #undef HAVE_ALLOCA_H */
29 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
30 #define HAVE_SYS_WAIT_H 1
32 /* Define if on MINIX. */
33 /* #undef _MINIX */
35 /* Define if the system does not provide POSIX.1 features except
36 with this defined. */
37 /* #undef _POSIX_1_SOURCE */
39 /* Define if you need to in order for stat and other things to work. */
40 /* #undef _POSIX_SOURCE */
42 /* Define as the return type of signal handlers (int or void). */
43 #define RETSIGTYPE void
45 /* If using the C implementation of alloca, define if you know the
46 direction of stack growth for your system; otherwise it will be
47 automatically deduced at run-time.
48 STACK_DIRECTION > 0 => grows toward higher addresses
49 STACK_DIRECTION < 0 => grows toward lower addresses
50 STACK_DIRECTION = 0 => direction of growth unknown
52 /* #undef STACK_DIRECTION */
54 /* Define if you want the FTP daemon to support anonymous logins. */
55 /* #undef DOANONYMOUS */
57 /* The default value of the PATH environment variable */
58 #define DEFAULT_PATH "/usr/bin:/bin:/usr/sbin:/sbin:/usr/pkg/xorg/bin:/usr/X11R6/bin"
60 /* Defined if the file /etc/default/login exists
61 (and, presumably, should be looked at by login) */
62 /* #undef HAVE_ETC_DEFAULT_LOGIN */
64 /* Defined to the name of a file that contains a list of files whose
65 permissions and ownerships should be changed on login. */
66 /* #undef HAVE_LOGIN_PERMFILE */
68 /* Defined to the name of a file that contains a list of environment
69 values that should be set on login. */
70 /* #undef HAVE_LOGIN_ENVFILE */
72 /* Defined if the file /etc/securetty exists
73 (and, presumably, should be looked at by login) */
74 /* #undef HAVE_SECURETTY */
76 /* Defined if the file /etc/shadow exists
77 (and, presumably, should be looked at for shadow passwords) */
78 /* #undef HAVE_ETC_SHADOW */
80 /* The path to the access file, if we're going to use it */
81 /* #undef PATH_ACCESS_FILE */
83 /* The path to the mail spool, if we know it */
84 #define PATH_MAIL "/var/mail"
86 /* The path to the utmp file, if we know it */
87 #define PATH_UTMP_AC "/var/run/utmp"
89 /* The path to the wtmp file, if we know it */
90 #define PATH_WTMP_AC "/var/log/wtmp"
92 /* The path to the wtmpx file, if we know it */
93 /* #undef PATH_WTMPX_AC */
95 /* Defined if the system's profile (/etc/profile) displays
96 the motd file */
97 /* #undef HAVE_MOTD_IN_PROFILE */
99 /* Defined if the system's profile (/etc/profile) informs the
100 user of new mail */
101 /* #undef HAVE_MAILCHECK_IN_PROFILE */
103 /* Define if you have a nonstandard gettimeofday() that takes one argument
104 instead of two. */
105 /* #undef HAVE_ONE_ARG_GETTIMEOFDAY */
107 /* Define if the system has the getenv function */
108 #define HAVE_GETENV 1
110 /* Define if the system has the setenv function */
111 #define HAVE_SETENV 1
113 /* Define if the system has the /var/adm/sulog file */
114 /* #undef HAVE_SULOG */
116 /* Define if the system has the unsetenv function */
117 #define HAVE_UNSETENV 1
119 /* Define if the compiler can handle ANSI-style argument lists */
120 #define HAVE_ANSIDECL 1
122 /* Define if the compiler can handle ANSI-style prototypes */
123 #define HAVE_ANSIPROTO 1
125 /* Define if the system has an ANSI-style printf (returns int instead of char *) */
126 #define HAVE_ANSISPRINTF 1
128 /* Define if the compiler can handle ANSI-style variable argument lists */
129 #define HAVE_ANSISTDARG 1
131 /* Define if the compiler can handle void argument lists to functions */
132 #define HAVE_VOIDARG 1
134 /* Define if the compiler can handle void return "values" from functions */
135 #define HAVE_VOIDRET 1
137 /* Define if the compiler can handle void pointers to our liking */
138 #define HAVE_VOIDPTR 1
140 /* Define if the /bin/ls command seems to support the -g flag */
141 /* #undef HAVE_LS_G_FLAG */
143 /* Define if there is a ut_pid field in struct utmp */
144 /* #undef HAVE_UT_PID */
146 /* Define if there is a ut_type field in struct utmp */
147 /* #undef HAVE_UT_TYPE */
149 /* Define if there is a ut_name field in struct utmp */
150 #define HAVE_UT_NAME 1
152 /* Define if there is a ut_host field in struct utmp */
153 #define HAVE_UT_HOST 1
155 /* Define if the system has getutline() */
156 /* #undef HAVE_GETUTLINE */
158 /* Defined if the system has SunOS C2 security shadow passwords */
159 /* #undef HAVE_SUNOS_C2_SHADOW */
161 /* Defined if you want to disable utmp support */
162 /* #undef DISABLE_UTMP */
164 /* Defined if you want to allow users to override the insecure checks */
165 /* #undef INSECURE_OVERRIDE */
167 /* Defined to the default hash value, always defined */
168 #define MDX 5
170 /* Defined if new-style prompts are to be used */
171 #define NEW_PROMPTS 1
173 /* Defined to the path of the OPIE lock directory */
174 #define OPIE_LOCK_DIR "/var/spool/opielocks"
176 /* Defined if users are to be asked to re-type secret pass phrases */
177 /* #undef RETYPE */
179 /* Defined if su should not switch to disabled accounts */
180 /* #undef SU_STAR_CHECK */
182 /* Don't turn it on! It allows intruder easily disable whole OPIE for user */
183 /* Defined if user locking is to be used */
184 /* #undef USER_LOCKING */
186 /* Define if you have the bcopy function. */
187 /* #undef HAVE_BCOPY */
189 /* Define if you have the bzero function. */
190 /* #undef HAVE_BZERO */
192 /* Define if you have the endspent function. */
193 /* #undef HAVE_ENDSPENT */
195 /* Define if you have the fpurge function. */
196 #define HAVE_FPURGE 1
198 /* Define if you have the getdtablesize function. */
199 /* #undef HAVE_GETDTABLESIZE */
201 /* Define if you have the getgroups function. */
202 #define HAVE_GETGROUPS 1
204 /* Define if you have the gethostname function. */
205 /* #undef HAVE_GETHOSTNAME */
207 /* Define if you have the getspnam function. */
208 /* #undef HAVE_GETSPNAM */
210 /* Define if you have the gettimeofday function. */
211 #define HAVE_GETTIMEOFDAY 1
213 /* Define if you have the getttynam function. */
214 #define HAVE_GETTTYNAM 1
216 /* Define if you have the getusershell function. */
217 #define HAVE_GETUSERSHELL 1
219 /* Define if you have the getutxline function. */
220 /* #undef HAVE_GETUTXLINE */
222 /* Define if you have the getwd function. */
223 /* #undef HAVE_GETWD */
225 /* Define if you have the index function. */
226 /* #undef HAVE_INDEX */
228 /* Define if you have the lstat function. */
229 #define HAVE_LSTAT 1
231 /* Define if you have the on_exit function. */
232 /* #undef HAVE_ON_EXIT */
234 /* Define if you have the pututxline function. */
235 /* #undef HAVE_PUTUTXLINE */
237 /* Define if you have the rindex function. */
238 /* #undef HAVE_RINDEX */
240 /* Define if you have the setgroups function. */
241 #define HAVE_SETGROUPS 1
243 /* Define if you have the setlogin function. */
244 #define HAVE_SETLOGIN 1
246 /* Define if you have the setpriority function. */
247 #define HAVE_SETPRIORITY 1
249 /* Define if you have the setregid function. */
250 /* #undef HAVE_SETREGID */
252 /* Define if you have the setresgid function. */
253 /* #undef HAVE_SETRESGID */
255 /* Define if you have the setresuid function. */
256 /* #undef HAVE_SETRESUID */
258 /* Define if you have the setreuid function. */
259 /* #undef HAVE_SETREUID */
261 /* Define if you have the setvbuf function. */
262 #define HAVE_SETVBUF 1
264 /* Define if you have the sigaddset function. */
265 #define HAVE_SIGADDSET 1
267 /* Define if you have the sigblock function. */
268 /* #undef HAVE_SIGBLOCK */
270 /* Define if you have the sigemptyset function. */
271 #define HAVE_SIGEMPTYSET 1
273 /* Define if you have the sigsetmask function. */
274 /* #undef HAVE_SIGSETMASK */
276 /* Define if you have the socket function. */
277 #define HAVE_SOCKET 1
279 /* Define if you have the strerror function. */
280 #define HAVE_STRERROR 1
282 /* Define if you have the strftime function. */
283 #define HAVE_STRFTIME 1
285 /* Define if you have the strncasecmp function. */
286 #define HAVE_STRNCASECMP 1
288 /* Define if you have the strstr function. */
289 #define HAVE_STRSTR 1
291 /* Define if you have the ttyslot function. */
292 #define HAVE_TTYSLOT 1
294 /* Define if you have the usleep function. */
295 #define HAVE_USLEEP 1
297 /* Define if you have the <crypt.h> header file. */
298 /* #undef HAVE_CRYPT_H */
300 /* Define if you have the <dirent.h> header file. */
301 #define HAVE_DIRENT_H 1
303 /* Define if you have the <fcntl.h> header file. */
304 #define HAVE_FCNTL_H 1
306 /* Define if you have the <lastlog.h> header file. */
307 /* #undef HAVE_LASTLOG_H */
309 /* Define if you have the <limits.h> header file. */
310 #define HAVE_LIMITS_H 1
312 /* Define if you have the <ndir.h> header file. */
313 /* #undef HAVE_NDIR_H */
315 /* Define if you have the <paths.h> header file. */
316 #define HAVE_PATHS_H 1
318 /* Define if you have the <pwd.h> header file. */
319 #define HAVE_PWD_H 1
321 /* Define if you have the <shadow.h> header file. */
322 /* #undef HAVE_SHADOW_H */
324 /* Define if you have the <signal.h> header file. */
325 #define HAVE_SIGNAL_H 1
327 /* Define if you have the <stdlib.h> header file. */
328 #define HAVE_STDLIB_H 1
330 /* Define if you have the <string.h> header file. */
331 #define HAVE_STRING_H 1
333 /* Define if you have the <sys/dir.h> header file. */
334 /* #undef HAVE_SYS_DIR_H */
336 /* Define if you have the <sys/file.h> header file. */
337 #define HAVE_SYS_FILE_H 1
339 /* Define if you have the <sys/ioctl.h> header file. */
340 #define HAVE_SYS_IOCTL_H 1
342 /* Define if you have the <sys/ndir.h> header file. */
343 /* #undef HAVE_SYS_NDIR_H */
345 /* Define if you have the <sys/param.h> header file. */
346 #define HAVE_SYS_PARAM_H 1
348 /* Define if you have the <sys/select.h> header file. */
349 #define HAVE_SYS_SELECT_H 1
351 /* Define if you have the <sys/signal.h> header file. */
352 #define HAVE_SYS_SIGNAL_H 1
354 /* Define if you have the <sys/time.h> header file. */
355 #define HAVE_SYS_TIME_H 1
357 /* Define if you have the <sys/utsname.h> header file. */
358 #define HAVE_SYS_UTSNAME_H 1
360 /* Define if you have the <syslog.h> header file. */
361 #define HAVE_SYSLOG_H 1
363 /* Define if you have the <termios.h> header file. */
364 #define HAVE_TERMIOS_H 1
366 /* Define if you have the <unistd.h> header file. */
367 #define HAVE_UNISTD_H 1
369 /* Define if you have the <utmpx.h> header file. */
370 /* #undef HAVE_UTMPX_H */
372 /* Define if you have the crypt library (-lcrypt). */
373 #define HAVE_LIBCRYPT 1
375 /* Define if you have the nsl library (-lnsl). */
376 /* #undef HAVE_LIBNSL */
378 /* Define if you have the posix library (-lposix). */
379 /* #undef HAVE_LIBPOSIX */
381 /* Define if you have the socket library (-lsocket). */
382 /* #undef HAVE_LIBSOCKET */