1 /* include/portable.h.in. Generated automatically from configure.in by autoheader. */
3 Copyright 1998 The OpenLDAP Foundation, Redwood City, California, USA
6 Redistribution and use in source and binary forms are permitted only
7 as authorized by the OpenLDAP Public License. A copy of this
8 license is available at http://www.OpenLDAP.org/license.html or
9 in file LICENSE in the top-level directory of the distribution.
11 This work is derived from the University of Michigan LDAP v3.3
12 distribution. Information concerning is available at
13 http://www.umich.edu/~dirsvcs/ldap/ldap.html.
15 This work also contains materials derived from public sources.
19 Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
22 Redistribution and use in source and binary forms are permitted
23 provided that this notice is preserved and that due credit is given
24 to the University of Michigan at Ann Arbor. The name of the University
25 may not be used to endorse or promote products derived from this
26 software without specific prior written permission. This software
27 is provided ``as is'' without express or implied warranty.
31 #ifndef _LDAP_PORTABLE_H
32 #define _LDAP_PORTABLE_H
35 /* Define if on AIX 3.
36 System headers sometimes define this.
37 We just want to avoid a redefinition error message. */
42 /* Define to empty if the keyword does not work. */
45 /* Define to the type of elements in the array set by `getgroups'.
46 Usually this is either `int' or `gid_t'. */
49 /* Define to `int' if <sys/types.h> doesn't define. */
52 /* Define if you don't have vprintf but do have _doprnt. */
55 /* Define if your struct stat has st_blksize. */
56 #undef HAVE_ST_BLKSIZE
58 /* Define if you have the strftime function. */
61 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
62 #undef HAVE_SYS_WAIT_H
64 /* Define if you have the vprintf function. */
67 /* Define if you have the wait3 system call. */
70 /* Define if on MINIX. */
73 /* Define to `int' if <sys/types.h> doesn't define. */
76 /* Define to `long' if <sys/types.h> doesn't define. */
79 /* Define to `int' if <sys/types.h> doesn't define. */
82 /* Define if the system does not provide POSIX.1 features except
84 #undef _POSIX_1_SOURCE
86 /* Define if you need to in order for stat and other things to work. */
89 /* Define as the return type of signal handlers (int or void). */
92 /* Define to `unsigned' if <sys/types.h> doesn't define. */
95 /* Define if you have the ANSI C header files. */
98 /* Define if you can safely include both <sys/time.h> and <time.h>. */
99 #undef TIME_WITH_SYS_TIME
101 /* Define if your <sys/time.h> declares struct tm. */
102 #undef TM_IN_SYS_TIME
104 /* Define to `int' if <sys/types.h> doesn't define. */
107 /* define this if toupper() requires tolower() check */
110 /* define this if sys_errlist is not defined in stdio.h or errno.h */
111 #undef DECL_SYS_ERRLIST
113 /* define if you have berkeley db */
114 #undef HAVE_BERKELEY_DB
116 /* define if you have berkeley db2 */
117 #undef HAVE_BERKELEY_DB2
119 /* define if you have crypt */
122 /* define if you have DCE */
125 /* define if you have GDBM */
128 /* define if you have Kerberos */
131 /* define if you have LinuxThreads */
132 #undef HAVE_LINUX_THREADS
134 /* define if you have Sun LWP (SunOS style) */
137 /* define if you have -lncurses */
140 /* define if you have NDBM */
143 /* define if you have a preemptive POSIX Threads implementation */
144 #undef HAVE_PREEMPTIVE_PTHREADS
146 /* define if you have POSIX Threads */
149 /* define if your POSIX Threads implementation is circa Final Draft */
150 #undef HAVE_PTHREADS_FINAL
152 /* define if your POSIX Threads implementation is circa Draft 4 */
153 #undef HAVE_PTHREADS_D4
155 /* define if you have sched_yield() */
157 /* see second sched_yield define */
158 #undef HAVE_SCHED_YIELD
161 /* define if you have setproctitle() */
162 #undef HAVE_SETPROCTITLE
164 /* define if you have -lwrap */
167 /* define if you have -ltermcap */
170 /* define if you have Sun LWP (Solaris style) */
173 /* define this for connectionless LDAP support */
174 #undef LDAP_CONNECTIONLESS
176 /* define this to add debugging code */
179 /* define this for LDAP DNS support */
182 /* define this to remove -lldap cache support */
185 /* define this for LDAP process title support */
186 #undef LDAP_PROCTITLE
188 /* define this for LDAP referrals support */
189 #undef LDAP_REFERRALS
191 /* define this for LDAP User Interface support */
194 /* define this to use DBBTREE w/ LDBM backend */
195 #undef LDBM_USE_DBBTREE
197 /* define this to use DBHASH w/ LDBM backend */
198 #undef LDBM_USE_DBHASH
200 /* define this if you want no termcap support */
203 /* define this if you want no thread support */
206 /* define this if the thread package is preemptive */
207 #undef PREEMPTIVE_THREADS
209 /* define this for ACL Group support */
210 #undef SLAPD_ACLGROUPS
212 /* define this for crypt(3) password support */
215 /* define this to use SLAPD LDBM backend */
218 /* define this for MD5 password support */
221 /* define this to use SLAPD passwd backend */
224 /* define this for phonetic support */
225 #undef SLAPD_PHONETIC
227 /* define this for Reverse Lookup support */
228 #undef SLAPD_RLOOKUPS
230 /* define this for SHA1 password support */
233 /* define this to use SLAPD shell backend */
236 /* Define if you have the bcopy function. */
239 /* Define if you have the flock function. */
242 /* Define if you have the getdtablesize function. */
243 #undef HAVE_GETDTABLESIZE
245 /* Define if you have the gethostname function. */
246 #undef HAVE_GETHOSTNAME
248 /* Define if you have the getopt function. */
251 /* Define if you have the gettimeofday function. */
252 #undef HAVE_GETTIMEOFDAY
254 /* Define if you have the lockf function. */
257 /* Define if you have the memcpy function. */
260 /* Define if you have the memmove function. */
263 /* Define if you have the mkstemp function. */
266 /* Define if you have the mktime function. */
269 /* Define if you have the pthread_kill function. */
270 #undef HAVE_PTHREAD_KILL
272 /* Define if you have the pthread_yield function. */
273 #undef HAVE_PTHREAD_YIELD
275 /* Define if you have the sched_yield function. */
276 #undef HAVE_SCHED_YIELD
278 /* Define if you have the select function. */
281 /* Define if you have the setpwfile function. */
282 #undef HAVE_SETPWFILE
284 /* Define if you have the setsid function. */
287 /* Define if you have the signal function. */
290 /* Define if you have the sigset function. */
293 /* Define if you have the snprintf function. */
296 /* Define if you have the socket function. */
299 /* Define if you have the strdup function. */
302 /* Define if you have the strerror function. */
305 /* Define if you have the strrchr function. */
308 /* Define if you have the strsep function. */
311 /* Define if you have the strstr function. */
314 /* Define if you have the strtod function. */
317 /* Define if you have the strtol function. */
320 /* Define if you have the strtoul function. */
323 /* Define if you have the sysconf function. */
326 /* Define if you have the tempnam function. */
329 /* Define if you have the vsnprintf function. */
330 #undef HAVE_VSNPRINTF
332 /* Define if you have the waitpid function. */
335 /* Define if you have the <db.h> header file. */
338 /* Define if you have the <db_185.h> header file. */
341 /* Define if you have the <des.h> header file. */
344 /* Define if you have the <dirent.h> header file. */
347 /* Define if you have the <errno.h> header file. */
350 /* Define if you have the <fcntl.h> header file. */
353 /* Define if you have the <filio.h> header file. */
356 /* Define if you have the <gdbm.h> header file. */
359 /* Define if you have the <getopt.h> header file. */
362 /* Define if you have the <kerberosIV/des.h> header file. */
363 #undef HAVE_KERBEROSIV_DES_H
365 /* Define if you have the <kerberosIV/krb.h> header file. */
366 #undef HAVE_KERBEROSIV_KRB_H
368 /* Define if you have the <krb.h> header file. */
371 /* Define if you have the <libutil.h> header file. */
372 #undef HAVE_LIBUTIL_H
374 /* Define if you have the <limits.h> header file. */
377 /* Define if you have the <lwp/lwp.h> header file. */
378 #undef HAVE_LWP_LWP_H
380 /* Define if you have the <mach/cthreads.h> header file. */
381 #undef HAVE_MACH_CTHREADS_H
383 /* Define if you have the <malloc.h> header file. */
386 /* Define if you have the <ncurses.h> header file. */
387 #undef HAVE_NCURSES_H
389 /* Define if you have the <ndbm.h> header file. */
392 /* Define if you have the <ndir.h> header file. */
395 /* Define if you have the <pthread.h> header file. */
396 #undef HAVE_PTHREAD_H
398 /* Define if you have the <regex.h> header file. */
401 /* Define if you have the <sched.h> header file. */
404 /* Define if you have the <sgtty.h> header file. */
407 /* Define if you have the <stdarg.h> header file. */
410 /* Define if you have the <stddef.h> header file. */
413 /* Define if you have the <synch.h> header file. */
416 /* Define if you have the <sys/dir.h> header file. */
417 #undef HAVE_SYS_DIR_H
419 /* Define if you have the <sys/errno.h> header file. */
420 #undef HAVE_SYS_ERRNO_H
422 /* Define if you have the <sys/file.h> header file. */
423 #undef HAVE_SYS_FILE_H
425 /* Define if you have the <sys/filio.h> header file. */
426 #undef HAVE_SYS_FILIO_H
428 /* Define if you have the <sys/ioctl.h> header file. */
429 #undef HAVE_SYS_IOCTL_H
431 /* Define if you have the <sys/ndir.h> header file. */
432 #undef HAVE_SYS_NDIR_H
434 /* Define if you have the <sys/param.h> header file. */
435 #undef HAVE_SYS_PARAM_H
437 /* Define if you have the <sys/socket.h> header file. */
438 #undef HAVE_SYS_SOCKET_H
440 /* Define if you have the <sys/syslog.h> header file. */
441 #undef HAVE_SYS_SYSLOG_H
443 /* Define if you have the <sys/time.h> header file. */
444 #undef HAVE_SYS_TIME_H
446 /* Define if you have the <sys/types.h> header file. */
447 #undef HAVE_SYS_TYPES_H
449 /* Define if you have the <syslog.h> header file. */
452 /* Define if you have the <termcap.h> header file. */
453 #undef HAVE_TERMCAP_H
455 /* Define if you have the <termios.h> header file. */
456 #undef HAVE_TERMIOS_H
458 /* Define if you have the <thread.h> header file. */
461 /* Define if you have the <unistd.h> header file. */
464 /* Define if you have the V3 library (-lV3). */
467 /* Define if you have the gen library (-lgen). */
470 /* Define if you have the inet library (-linet). */
473 /* Define if you have the net library (-lnet). */
476 /* Define if you have the nsl library (-lnsl). */
479 /* Define if you have the nsl_s library (-lnsl_s). */
482 /* Define if you have the socket library (-lsocket). */
483 #undef HAVE_LIBSOCKET
489 #include "ldap_cdefs.h"
491 #endif /* _LDAP_PORTABLE_H */