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 sys_errlist is not defined in stdio.h or errno.h */
108 #undef DECL_SYS_ERRLIST
110 /* define if you have berkeley db */
111 #undef HAVE_BERKELEY_DB
113 /* define if you have berkeley db2 */
114 #undef HAVE_BERKELEY_DB2
116 /* define if you have crypt */
119 /* define if you have DCE */
122 /* define if you have GDBM */
125 /* define if you have Kerberos */
128 /* define if you have LinuxThreads */
129 #undef HAVE_LINUX_THREADS
131 /* define if you have Sun LWP (SunOS style) */
134 /* define if you have Sun LWP (Solaris style) */
137 /* define if you have -lncurses */
140 /* define if you have NDBM */
143 /* define if you have Mach CThreads */
144 #undef HAVE_MACH_CTHREADS
146 /* define if you have a preemptive POSIX Threads implementation */
147 #undef HAVE_PREEMPTIVE_PTHREADS
149 /* define if you have POSIX Threads */
152 /* define if your POSIX Threads implementatin is circa Draft 4 */
153 #undef HAVE_PTHREADS_D4
155 /* define if you have -lwrap */
158 /* define if you have -ltermcap */
161 /* define this for connectionless LDAP support */
162 #undef LDAP_CONNECTIONLESS
164 /* define this to add debugging code */
167 /* define this for LDAP DNS support */
170 /* define this to remove -lldap cache support */
173 /* define this for LDAP referrals support */
174 #undef LDAP_REFERRALS
176 /* define this for LDAP User Interface support */
179 /* define this to use DBBTREE w/ LDBM backend */
180 #undef LDBM_USE_DBBTREE
182 /* define this to use DBHASH w/ LDBM backend */
183 #undef LDBM_USE_DBHASH
185 /* define this if you want no termcap support */
188 /* define this if you want no thread support */
191 /* define this for ACL Group support */
192 #undef SLAPD_ACLGROUPS
194 /* define this for crypt(3) password support */
197 /* define this to use SLAPD LDBM backend */
200 /* define this for MD5 password support */
203 /* define this to use SLAPD passwd backend */
206 /* define this for phonetic support */
207 #undef SLAPD_PHONETIC
209 /* define this for Reverse Lookup support */
210 #undef SLAPD_RLOOKUPS
212 /* define this for SHA1 password support */
215 /* define this to use SLAPD shell backend */
218 /* define this if the thread package is preemptive */
219 #undef THREAD_PREEMPTIVE
221 /* Define if you have the bcopy function. */
224 /* Define if you have the flock function. */
227 /* Define if you have the getdtablesize function. */
228 #undef HAVE_GETDTABLESIZE
230 /* Define if you have the gethostname function. */
231 #undef HAVE_GETHOSTNAME
233 /* Define if you have the gettimeofday function. */
234 #undef HAVE_GETTIMEOFDAY
236 /* Define if you have the lockf function. */
239 /* Define if you have the memcpy function. */
242 /* Define if you have the memmove function. */
245 /* Define if you have the mktime function. */
248 /* Define if you have the pthread_kill function. */
249 #undef HAVE_PTHREAD_KILL
251 /* Define if you have the pthread_yield function. */
252 #undef HAVE_PTHREAD_YIELD
254 /* Define if you have the sched_yield function. */
255 #undef HAVE_SCHED_YIELD
257 /* Define if you have the select function. */
260 /* Define if you have the setpwfile function. */
261 #undef HAVE_SETPWFILE
263 /* Define if you have the setsid function. */
266 /* Define if you have the signal function. */
269 /* Define if you have the sigset function. */
272 /* Define if you have the socket function. */
275 /* Define if you have the strdup function. */
278 /* Define if you have the strerror function. */
281 /* Define if you have the strrchr function. */
284 /* Define if you have the strsep function. */
287 /* Define if you have the strstr function. */
290 /* Define if you have the strtod function. */
293 /* Define if you have the strtol function. */
296 /* Define if you have the strtoul function. */
299 /* Define if you have the sysconf function. */
302 /* Define if you have the <db.h> header file. */
305 /* Define if you have the <db_185.h> header file. */
308 /* Define if you have the <des.h> header file. */
311 /* Define if you have the <dirent.h> header file. */
314 /* Define if you have the <errno.h> header file. */
317 /* Define if you have the <fcntl.h> header file. */
320 /* Define if you have the <filio.h> header file. */
323 /* Define if you have the <gdbm.h> header file. */
326 /* Define if you have the <kerberosIV/des.h> header file. */
327 #undef HAVE_KERBEROSIV_DES_H
329 /* Define if you have the <kerberosIV/krb.h> header file. */
330 #undef HAVE_KERBEROSIV_KRB_H
332 /* Define if you have the <krb.h> header file. */
335 /* Define if you have the <limits.h> header file. */
338 /* Define if you have the <lwp/lwp.h> header file. */
339 #undef HAVE_LWP_LWP_H
341 /* Define if you have the <mach/cthreads.h> header file. */
342 #undef HAVE_MACH_CTHREADS_H
344 /* Define if you have the <malloc.h> header file. */
347 /* Define if you have the <ncurses.h> header file. */
348 #undef HAVE_NCURSES_H
350 /* Define if you have the <ndbm.h> header file. */
353 /* Define if you have the <ndir.h> header file. */
356 /* Define if you have the <pthread.h> header file. */
357 #undef HAVE_PTHREAD_H
359 /* Define if you have the <regex.h> header file. */
362 /* Define if you have the <sched.h> header file. */
365 /* Define if you have the <sgtty.h> header file. */
368 /* Define if you have the <stddef.h> header file. */
371 /* Define if you have the <synch.h> header file. */
374 /* Define if you have the <sys/dir.h> header file. */
375 #undef HAVE_SYS_DIR_H
377 /* Define if you have the <sys/errno.h> header file. */
378 #undef HAVE_SYS_ERRNO_H
380 /* Define if you have the <sys/file.h> header file. */
381 #undef HAVE_SYS_FILE_H
383 /* Define if you have the <sys/ioctl.h> header file. */
384 #undef HAVE_SYS_IOCTL_H
386 /* Define if you have the <sys/ndir.h> header file. */
387 #undef HAVE_SYS_NDIR_H
389 /* Define if you have the <sys/param.h> header file. */
390 #undef HAVE_SYS_PARAM_H
392 /* Define if you have the <sys/socket.h> header file. */
393 #undef HAVE_SYS_SOCKET_H
395 /* Define if you have the <sys/time.h> header file. */
396 #undef HAVE_SYS_TIME_H
398 /* Define if you have the <sys/types.h> header file. */
399 #undef HAVE_SYS_TYPES_H
401 /* Define if you have the <syslog.h> header file. */
404 /* Define if you have the <termcap.h> header file. */
405 #undef HAVE_TERMCAP_H
407 /* Define if you have the <termios.h> header file. */
408 #undef HAVE_TERMIOS_H
410 /* Define if you have the <thread.h> header file. */
413 /* Define if you have the <unistd.h> header file. */
416 /* Define if you have the V3 library (-lV3). */
419 /* Define if you have the gen library (-lgen). */
422 /* Define if you have the inet library (-linet). */
425 /* Define if you have the net library (-lnet). */
428 /* Define if you have the nsl library (-lnsl). */
431 /* Define if you have the nsl_s library (-lnsl_s). */
434 /* Define if you have the socket library (-lsocket). */
435 #undef HAVE_LIBSOCKET
441 #include "ldap_cdefs.h"
443 #endif /* _LDAP_PORTABLE_H */