1 /* include/portable.h.in. Generated automatically from configure.in by autoheader. */
2 /* portable.h.top begin */
4 Copyright 1998 The OpenLDAP Foundation, Redwood City, California, USA
7 Redistribution and use in source and binary forms are permitted only
8 as authorized by the OpenLDAP Public License. A copy of this
9 license is available at http://www.OpenLDAP.org/license.html or
10 in file LICENSE in the top-level directory of the distribution.
12 This work is derived from the University of Michigan LDAP v3.3
13 distribution. Information concerning is available at
14 http://www.umich.edu/~dirsvcs/ldap/ldap.html.
16 This work also contains materials derived from public sources.
20 Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
23 Redistribution and use in source and binary forms are permitted
24 provided that this notice is preserved and that due credit is given
25 to the University of Michigan at Ann Arbor. The name of the University
26 may not be used to endorse or promote products derived from this
27 software without specific prior written permission. This software
28 is provided ``as is'' without express or implied warranty.
32 #ifndef _LDAP_PORTABLE_H
33 #define _LDAP_PORTABLE_H
35 /* portable.h.top end */
37 /* Define if on AIX 3.
38 System headers sometimes define this.
39 We just want to avoid a redefinition error message. */
44 /* Define to empty if the keyword does not work. */
47 /* Define to the type of elements in the array set by `getgroups'.
48 Usually this is either `int' or `gid_t'. */
51 /* Define to `int' if <sys/types.h> doesn't define. */
54 /* Define if you don't have vprintf but do have _doprnt. */
57 /* Define if your struct stat has st_blksize. */
58 #undef HAVE_ST_BLKSIZE
60 /* Define if you have the strftime function. */
63 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
64 #undef HAVE_SYS_WAIT_H
66 /* Define if you have the vprintf function. */
69 /* Define if you have the wait3 system call. */
72 /* Define if on MINIX. */
75 /* Define to `int' if <sys/types.h> doesn't define. */
78 /* Define to `long' if <sys/types.h> doesn't define. */
81 /* Define to `int' if <sys/types.h> doesn't define. */
84 /* Define if the system does not provide POSIX.1 features except
86 #undef _POSIX_1_SOURCE
88 /* Define if you need to in order for stat and other things to work. */
91 /* Define as the return type of signal handlers (int or void). */
94 /* Define to `unsigned' if <sys/types.h> doesn't define. */
97 /* Define if you have the ANSI C header files. */
100 /* Define if you can safely include both <sys/time.h> and <time.h>. */
101 #undef TIME_WITH_SYS_TIME
103 /* Define if your <sys/time.h> declares struct tm. */
104 #undef TM_IN_SYS_TIME
106 /* Define to `int' if <sys/types.h> doesn't define. */
109 /* define this if needed to get reentrant functions */
112 /* define this if needed to get threadsafe functions */
115 /* define this if toupper() requires tolower() check */
118 /* define this if sys_errlist is not defined in stdio.h or errno.h */
119 #undef DECL_SYS_ERRLIST
121 /* define if you have berkeley db */
122 #undef HAVE_BERKELEY_DB
124 /* define if you have berkeley db2 */
125 #undef HAVE_BERKELEY_DB2
127 /* define if you have crypt */
130 /* define if you have DCE */
133 /* define if you have GDBM */
136 /* define if you have Kerberos */
139 /* define if you have LinuxThreads */
140 #undef HAVE_LINUX_THREADS
142 /* define if you have Sun LWP (SunOS style) */
145 /* define if you have -lncurses */
148 /* define if you have NDBM */
151 /* define if you have a preemptive POSIX Threads implementation */
152 #undef HAVE_PREEMPTIVE_PTHREADS
154 /* define if you have POSIX Threads */
157 /* define if your POSIX Threads implementation is circa Final Draft */
158 #undef HAVE_PTHREADS_FINAL
160 /* define if your POSIX Threads implementation is circa Draft 4 */
161 #undef HAVE_PTHREADS_D4
163 /* define if you have sched_yield() */
165 /* see second sched_yield define */
166 #undef HAVE_SCHED_YIELD
169 /* define if you have setproctitle() */
170 #undef HAVE_SETPROCTITLE
172 /* define if you have -lwrap */
175 /* define if you have -ltermcap */
178 /* define if you have Sun LWP (Solaris style) */
181 /* define this for connectionless LDAP support */
182 #undef LDAP_CONNECTIONLESS
184 /* define this to add debugging code */
187 /* define this for LDAP DNS support */
190 /* define this to remove -lldap cache support */
193 /* define this for LDAP process title support */
194 #undef LDAP_PROCTITLE
196 /* define this for LDAP referrals support */
197 #undef LDAP_REFERRALS
199 /* define this for LDAP User Interface support */
202 /* define this to use DBBTREE w/ LDBM backend */
203 #undef LDBM_USE_DBBTREE
205 /* define this to use DBHASH w/ LDBM backend */
206 #undef LDBM_USE_DBHASH
208 /* define this if you want no termcap support */
211 /* define this if you want no thread support */
214 /* define this if the thread package is preemptive */
215 #undef PREEMPTIVE_THREADS
217 /* define this for ACL Group support */
218 #undef SLAPD_ACLGROUPS
220 /* define this for crypt(3) password support */
223 /* define this to use SLAPD LDBM backend */
226 /* define this for MD5 password support */
229 /* define this to use SLAPD passwd backend */
232 /* define this for phonetic support */
233 #undef SLAPD_PHONETIC
235 /* define this for Reverse Lookup support */
236 #undef SLAPD_RLOOKUPS
238 /* define this for SHA1 password support */
241 /* define this to use SLAPD shell backend */
244 /* Define if you have the bcopy function. */
247 /* Define if you have the flock function. */
250 /* Define if you have the getdtablesize function. */
251 #undef HAVE_GETDTABLESIZE
253 /* Define if you have the gethostname function. */
254 #undef HAVE_GETHOSTNAME
256 /* Define if you have the getopt function. */
259 /* Define if you have the gettimeofday function. */
260 #undef HAVE_GETTIMEOFDAY
262 /* Define if you have the lockf function. */
265 /* Define if you have the memcpy function. */
268 /* Define if you have the memmove function. */
271 /* Define if you have the mkstemp function. */
274 /* Define if you have the mktime function. */
277 /* Define if you have the pthread_kill function. */
278 #undef HAVE_PTHREAD_KILL
280 /* Define if you have the pthread_setconcurrency function. */
281 #undef HAVE_PTHREAD_SETCONCURRENCY
283 /* Define if you have the pthread_yield function. */
284 #undef HAVE_PTHREAD_YIELD
286 /* Define if you have the sched_yield function. */
287 #undef HAVE_SCHED_YIELD
289 /* Define if you have the select function. */
292 /* Define if you have the setpwfile function. */
293 #undef HAVE_SETPWFILE
295 /* Define if you have the setsid function. */
298 /* Define if you have the signal function. */
301 /* Define if you have the sigset function. */
304 /* Define if you have the snprintf function. */
307 /* Define if you have the socket function. */
310 /* Define if you have the strdup function. */
313 /* Define if you have the strerror function. */
316 /* Define if you have the strrchr function. */
319 /* Define if you have the strsep function. */
322 /* Define if you have the strstr function. */
325 /* Define if you have the strtod function. */
328 /* Define if you have the strtol function. */
331 /* Define if you have the strtoul function. */
334 /* Define if you have the sysconf function. */
337 /* Define if you have the tempnam function. */
340 /* Define if you have the thr_setconcurrency function. */
341 #undef HAVE_THR_SETCONCURRENCY
343 /* Define if you have the vsnprintf function. */
344 #undef HAVE_VSNPRINTF
346 /* Define if you have the waitpid function. */
349 /* Define if you have the <db.h> header file. */
352 /* Define if you have the <db_185.h> header file. */
355 /* Define if you have the <des.h> header file. */
358 /* Define if you have the <dirent.h> header file. */
361 /* Define if you have the <errno.h> header file. */
364 /* Define if you have the <fcntl.h> header file. */
367 /* Define if you have the <filio.h> header file. */
370 /* Define if you have the <gdbm.h> header file. */
373 /* Define if you have the <getopt.h> header file. */
376 /* Define if you have the <kerberosIV/des.h> header file. */
377 #undef HAVE_KERBEROSIV_DES_H
379 /* Define if you have the <kerberosIV/krb.h> header file. */
380 #undef HAVE_KERBEROSIV_KRB_H
382 /* Define if you have the <krb.h> header file. */
385 /* Define if you have the <libutil.h> header file. */
386 #undef HAVE_LIBUTIL_H
388 /* Define if you have the <limits.h> header file. */
391 /* Define if you have the <lwp/lwp.h> header file. */
392 #undef HAVE_LWP_LWP_H
394 /* Define if you have the <mach/cthreads.h> header file. */
395 #undef HAVE_MACH_CTHREADS_H
397 /* Define if you have the <malloc.h> header file. */
400 /* Define if you have the <ncurses.h> header file. */
401 #undef HAVE_NCURSES_H
403 /* Define if you have the <ndbm.h> header file. */
406 /* Define if you have the <ndir.h> header file. */
409 /* Define if you have the <pthread.h> header file. */
410 #undef HAVE_PTHREAD_H
412 /* Define if you have the <regex.h> header file. */
415 /* Define if you have the <sched.h> header file. */
418 /* Define if you have the <sgtty.h> header file. */
421 /* Define if you have the <stdarg.h> header file. */
424 /* Define if you have the <stddef.h> header file. */
427 /* Define if you have the <synch.h> header file. */
430 /* Define if you have the <sys/dir.h> header file. */
431 #undef HAVE_SYS_DIR_H
433 /* Define if you have the <sys/errno.h> header file. */
434 #undef HAVE_SYS_ERRNO_H
436 /* Define if you have the <sys/file.h> header file. */
437 #undef HAVE_SYS_FILE_H
439 /* Define if you have the <sys/filio.h> header file. */
440 #undef HAVE_SYS_FILIO_H
442 /* Define if you have the <sys/ioctl.h> header file. */
443 #undef HAVE_SYS_IOCTL_H
445 /* Define if you have the <sys/ndir.h> header file. */
446 #undef HAVE_SYS_NDIR_H
448 /* Define if you have the <sys/param.h> header file. */
449 #undef HAVE_SYS_PARAM_H
451 /* Define if you have the <sys/socket.h> header file. */
452 #undef HAVE_SYS_SOCKET_H
454 /* Define if you have the <sys/syslog.h> header file. */
455 #undef HAVE_SYS_SYSLOG_H
457 /* Define if you have the <sys/time.h> header file. */
458 #undef HAVE_SYS_TIME_H
460 /* Define if you have the <sys/types.h> header file. */
461 #undef HAVE_SYS_TYPES_H
463 /* Define if you have the <syslog.h> header file. */
466 /* Define if you have the <termcap.h> header file. */
467 #undef HAVE_TERMCAP_H
469 /* Define if you have the <termios.h> header file. */
470 #undef HAVE_TERMIOS_H
472 /* Define if you have the <thread.h> header file. */
475 /* Define if you have the <unistd.h> header file. */
478 /* Define if you have the V3 library (-lV3). */
481 /* Define if you have the gen library (-lgen). */
484 /* Define if you have the inet library (-linet). */
487 /* Define if you have the net library (-lnet). */
490 /* Define if you have the nsl library (-lnsl). */
493 /* Define if you have the nsl_s library (-lnsl_s). */
496 /* Define if you have the socket library (-lsocket). */
497 #undef HAVE_LIBSOCKET
498 /* portable.h.bot begin */
504 #include "ldap_cdefs.h"
506 #endif /* _LDAP_PORTABLE_H */
508 /* portable.h.bot end */