1 /* $FreeBSD: src/lib/libopie/config.h,v 1.4.2.2 2002/07/15 14:17:08 des Exp $ */
2 /* config.h. Generated automatically by configure. */
3 /* config.h.in. Generated automatically from configure.in by autoheader. */
6 System headers sometimes define this.
7 We just want to avoid a redefinition error message. */
9 /* #undef _ALL_SOURCE */
12 /* Define if using alloca.c. */
15 /* Define to empty if the keyword does not work. */
18 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
19 This function is required for alloca.c support on those systems. */
20 /* #undef CRAY_STACKSEG_END */
22 /* Define if you have alloca, as a function or macro. */
25 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
26 /* #undef HAVE_ALLOCA_H */
28 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
29 #define HAVE_SYS_WAIT_H 1
31 /* Define if on MINIX. */
34 /* Define if the system does not provide POSIX.1 features except
36 /* #undef _POSIX_1_SOURCE */
38 /* Define if you need to in order for stat and other things to work. */
39 /* #undef _POSIX_SOURCE */
41 /* Define as the return type of signal handlers (int or void). */
42 #define RETSIGTYPE void
44 /* If using the C implementation of alloca, define if you know the
45 direction of stack growth for your system; otherwise it will be
46 automatically deduced at run-time.
47 STACK_DIRECTION > 0 => grows toward higher addresses
48 STACK_DIRECTION < 0 => grows toward lower addresses
49 STACK_DIRECTION = 0 => direction of growth unknown
51 /* #undef STACK_DIRECTION */
53 /* Define if you want the FTP daemon to support anonymous logins. */
54 /* #undef DOANONYMOUS */
56 /* The default value of the PATH environment variable */
57 #define DEFAULT_PATH "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/pkg/bin"
59 /* Defined if the file /etc/default/login exists
60 (and, presumably, should be looked at by login) */
61 /* #undef HAVE_ETC_DEFAULT_LOGIN */
63 /* Defined to the name of a file that contains a list of files whose
64 permissions and ownerships should be changed on login. */
65 /* #undef HAVE_LOGIN_PERMFILE */
67 /* Defined to the name of a file that contains a list of environment
68 values that should be set on login. */
69 /* #undef HAVE_LOGIN_ENVFILE */
71 /* Defined if the file /etc/securetty exists
72 (and, presumably, should be looked at by login) */
73 /* #undef HAVE_SECURETTY */
75 /* Defined if the file /etc/shadow exists
76 (and, presumably, should be looked at for shadow passwords) */
77 /* #undef HAVE_ETC_SHADOW */
79 /* The path to the access file, if we're going to use it */
80 /* #undef PATH_ACCESS_FILE */
82 /* The path to the mail spool, if we know it */
83 #define PATH_MAIL "/var/mail"
85 /* The path to the utmp file, if we know it */
86 #define PATH_UTMP_AC "/var/run/utmp"
88 /* The path to the wtmp file, if we know it */
89 #define PATH_WTMP_AC "/var/log/wtmp"
91 /* The path to the wtmpx file, if we know it */
92 /* #undef PATH_WTMPX_AC */
94 /* Defined if the system's profile (/etc/profile) displays
96 /* #undef HAVE_MOTD_IN_PROFILE */
98 /* Defined if the system's profile (/etc/profile) informs the
100 /* #undef HAVE_MAILCHECK_IN_PROFILE */
102 /* Define if you have a nonstandard gettimeofday() that takes one argument
104 /* #undef HAVE_ONE_ARG_GETTIMEOFDAY */
106 /* Define if the system has the getenv function */
107 #define HAVE_GETENV 1
109 /* Define if the system has the setenv function */
110 #define HAVE_SETENV 1
112 /* Define if the system has the /var/adm/sulog file */
113 /* #undef HAVE_SULOG */
115 /* Define if the system has the unsetenv function */
116 #define HAVE_UNSETENV 1
118 /* Define if the compiler can handle ANSI-style argument lists */
119 #define HAVE_ANSIDECL 1
121 /* Define if the compiler can handle ANSI-style prototypes */
122 #define HAVE_ANSIPROTO 1
124 /* Define if the system has an ANSI-style printf (returns int instead of char *) */
125 #define HAVE_ANSISPRINTF 1
127 /* Define if the compiler can handle ANSI-style variable argument lists */
128 #define HAVE_ANSISTDARG 1
130 /* Define if the compiler can handle void argument lists to functions */
131 #define HAVE_VOIDARG 1
133 /* Define if the compiler can handle void return "values" from functions */
134 #define HAVE_VOIDRET 1
136 /* Define if the compiler can handle void pointers to our liking */
137 #define HAVE_VOIDPTR 1
139 /* Define if the /bin/ls command seems to support the -g flag */
140 /* #undef HAVE_LS_G_FLAG */
142 /* Define if there is a ut_pid field in struct utmp */
143 /* #undef HAVE_UT_PID */
145 /* Define if there is a ut_type field in struct utmp */
146 /* #undef HAVE_UT_TYPE */
148 /* Define if there is a ut_name field in struct utmp */
149 #define HAVE_UT_NAME 1
151 /* Define if there is a ut_host field in struct utmp */
152 #define HAVE_UT_HOST 1
154 /* Define if the system has getutline() */
155 /* #undef HAVE_GETUTLINE */
157 /* Defined if the system has SunOS C2 security shadow passwords */
158 /* #undef HAVE_SUNOS_C2_SHADOW */
160 /* Defined if you want to disable utmp support */
161 /* #undef DISABLE_UTMP */
163 /* Defined if you want to allow users to override the insecure checks */
164 /* #undef INSECURE_OVERRIDE */
166 /* Defined to the default hash value, always defined */
169 /* Defined if new-style prompts are to be used */
170 #define NEW_PROMPTS 1
172 /* Defined to the path of the OPIE lock directory */
173 #define OPIE_LOCK_DIR "/var/spool/opielocks"
175 /* Defined if users are to be asked to re-type secret pass phrases */
178 /* Defined if su should not switch to disabled accounts */
179 /* #undef SU_STAR_CHECK */
181 /* Don't turn it on! It allows intruder easily disable whole OPIE for user */
182 /* Defined if user locking is to be used */
183 /* #undef USER_LOCKING */
185 /* Define if you have the bcopy function. */
186 /* #undef HAVE_BCOPY */
188 /* Define if you have the bzero function. */
189 /* #undef HAVE_BZERO */
191 /* Define if you have the endspent function. */
192 /* #undef HAVE_ENDSPENT */
194 /* Define if you have the fpurge function. */
195 #define HAVE_FPURGE 1
197 /* Define if you have the getdtablesize function. */
198 /* #undef HAVE_GETDTABLESIZE */
200 /* Define if you have the getgroups function. */
201 #define HAVE_GETGROUPS 1
203 /* Define if you have the gethostname function. */
204 /* #undef HAVE_GETHOSTNAME */
206 /* Define if you have the getspnam function. */
207 /* #undef HAVE_GETSPNAM */
209 /* Define if you have the gettimeofday function. */
210 #define HAVE_GETTIMEOFDAY 1
212 /* Define if you have the getttynam function. */
213 #define HAVE_GETTTYNAM 1
215 /* Define if you have the getusershell function. */
216 #define HAVE_GETUSERSHELL 1
218 /* Define if you have the getutxline function. */
219 #define HAVE_GETUTXLINE 1
221 /* Define if you have the getwd function. */
222 /* #undef HAVE_GETWD */
224 /* Define if you have the index function. */
225 /* #undef HAVE_INDEX */
227 /* Define if you have the lstat function. */
230 /* Define if you have the on_exit function. */
231 /* #undef HAVE_ON_EXIT */
233 /* Define if you have the pututxline function. */
234 #define HAVE_PUTUTXLINE 1
236 /* Define if you have the rindex function. */
237 /* #undef HAVE_RINDEX */
239 /* Define if you have the setgroups function. */
240 #define HAVE_SETGROUPS 1
242 /* Define if you have the setlogin function. */
243 #define HAVE_SETLOGIN 1
245 /* Define if you have the setpriority function. */
246 #define HAVE_SETPRIORITY 1
248 /* Define if you have the setregid function. */
249 /* #undef HAVE_SETREGID */
251 /* Define if you have the setresgid function. */
252 /* #undef HAVE_SETRESGID */
254 /* Define if you have the setresuid function. */
255 /* #undef HAVE_SETRESUID */
257 /* Define if you have the setreuid function. */
258 /* #undef HAVE_SETREUID */
260 /* Define if you have the setvbuf function. */
261 #define HAVE_SETVBUF 1
263 /* Define if you have the sigaddset function. */
264 #define HAVE_SIGADDSET 1
266 /* Define if you have the sigblock function. */
267 /* #undef HAVE_SIGBLOCK */
269 /* Define if you have the sigemptyset function. */
270 #define HAVE_SIGEMPTYSET 1
272 /* Define if you have the sigsetmask function. */
273 /* #undef HAVE_SIGSETMASK */
275 /* Define if you have the socket function. */
276 #define HAVE_SOCKET 1
278 /* Define if you have the strerror function. */
279 #define HAVE_STRERROR 1
281 /* Define if you have the strftime function. */
282 #define HAVE_STRFTIME 1
284 /* Define if you have the strncasecmp function. */
285 #define HAVE_STRNCASECMP 1
287 /* Define if you have the strstr function. */
288 #define HAVE_STRSTR 1
290 /* Define if you have the ttyslot function. */
291 #define HAVE_TTYSLOT 1
293 /* Define if you have the usleep function. */
294 #define HAVE_USLEEP 1
296 /* Define if you have the <crypt.h> header file. */
297 /* #undef HAVE_CRYPT_H */
299 /* Define if you have the <dirent.h> header file. */
300 #define HAVE_DIRENT_H 1
302 /* Define if you have the <fcntl.h> header file. */
303 #define HAVE_FCNTL_H 1
305 /* Define if you have the <lastlog.h> header file. */
306 /* #undef HAVE_LASTLOG_H */
308 /* Define if you have the <limits.h> header file. */
309 #define HAVE_LIMITS_H 1
311 /* Define if you have the <ndir.h> header file. */
312 /* #undef HAVE_NDIR_H */
314 /* Define if you have the <paths.h> header file. */
315 #define HAVE_PATHS_H 1
317 /* Define if you have the <pwd.h> header file. */
320 /* Define if you have the <shadow.h> header file. */
321 /* #undef HAVE_SHADOW_H */
323 /* Define if you have the <signal.h> header file. */
324 #define HAVE_SIGNAL_H 1
326 /* Define if you have the <stdlib.h> header file. */
327 #define HAVE_STDLIB_H 1
329 /* Define if you have the <string.h> header file. */
330 #define HAVE_STRING_H 1
332 /* Define if you have the <sys/dir.h> header file. */
333 /* #undef HAVE_SYS_DIR_H */
335 /* Define if you have the <sys/file.h> header file. */
336 #define HAVE_SYS_FILE_H 1
338 /* Define if you have the <sys/ioctl.h> header file. */
339 #define HAVE_SYS_IOCTL_H 1
341 /* Define if you have the <sys/ndir.h> header file. */
342 /* #undef HAVE_SYS_NDIR_H */
344 /* Define if you have the <sys/param.h> header file. */
345 #define HAVE_SYS_PARAM_H 1
347 /* Define if you have the <sys/select.h> header file. */
348 #define HAVE_SYS_SELECT_H 1
350 /* Define if you have the <sys/signal.h> header file. */
351 #define HAVE_SYS_SIGNAL_H 1
353 /* Define if you have the <sys/time.h> header file. */
354 #define HAVE_SYS_TIME_H 1
356 /* Define if you have the <sys/utsname.h> header file. */
357 #define HAVE_SYS_UTSNAME_H 1
359 /* Define if you have the <syslog.h> header file. */
360 #define HAVE_SYSLOG_H 1
362 /* Define if you have the <termios.h> header file. */
363 #define HAVE_TERMIOS_H 1
365 /* Define if you have the <unistd.h> header file. */
366 #define HAVE_UNISTD_H 1
368 /* Define if you have the <utmpx.h> header file. */
369 #define HAVE_UTMPX_H 1
371 /* Define if you have the crypt library (-lcrypt). */
372 #define HAVE_LIBCRYPT 1
374 /* Define if you have the nsl library (-lnsl). */
375 /* #undef HAVE_LIBNSL */
377 /* Define if you have the posix library (-lposix). */
378 /* #undef HAVE_LIBPOSIX */
380 /* Define if you have the socket library (-lsocket). */
381 /* #undef HAVE_LIBSOCKET */