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_DB2
113 /* define if you have berkeley db2 */
114 #undef HAVE_BERKELEY_DB2
116 /* define if you have Mach CThreads */
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 a preemptive POSIX Threads implementation */
144 #undef HAVE_PREEMPTIVE_PTHREADS
146 /* define if you have POSIX Threads */
149 /* define if your POSIX Threads implementatin is circa Draft 4 */
150 #undef HAVE_PTHREADS_D4
152 /* define if you have -ltermcap */
155 /* define this for ACL Group support */
156 #undef SLAPD_ACLGROUPS
158 /* define this for Reverse Lookup support */
159 #undef SLAPD_RLOOKUPS
161 /* define this for phonetic support */
162 #undef SLAPD_PHONETIC
164 /* Define if you have the bcopy function. */
167 /* Define if you have the flock function. */
170 /* Define if you have the getdtablesize function. */
171 #undef HAVE_GETDTABLESIZE
173 /* Define if you have the gethostname function. */
174 #undef HAVE_GETHOSTNAME
176 /* Define if you have the gettimeofday function. */
177 #undef HAVE_GETTIMEOFDAY
179 /* Define if you have the lockf function. */
182 /* Define if you have the memcpy function. */
185 /* Define if you have the memmove function. */
188 /* Define if you have the mktime function. */
191 /* Define if you have the pthread_kill function. */
192 #undef HAVE_PTHREAD_KILL
194 /* Define if you have the pthread_yield function. */
195 #undef HAVE_PTHREAD_YIELD
197 /* Define if you have the sched_yield function. */
198 #undef HAVE_SCHED_YIELD
200 /* Define if you have the select function. */
203 /* Define if you have the setpwfile function. */
204 #undef HAVE_SETPWFILE
206 /* Define if you have the setsid function. */
209 /* Define if you have the signal function. */
212 /* Define if you have the sigset function. */
215 /* Define if you have the socket function. */
218 /* Define if you have the strdup function. */
221 /* Define if you have the strerror function. */
224 /* Define if you have the strrchr function. */
227 /* Define if you have the strsep function. */
230 /* Define if you have the strstr function. */
233 /* Define if you have the strtod function. */
236 /* Define if you have the strtol function. */
239 /* Define if you have the strtoul function. */
242 /* Define if you have the sysconf function. */
245 /* Define if you have the <db.h> header file. */
248 /* Define if you have the <db_185.h> header file. */
251 /* Define if you have the <des.h> header file. */
254 /* Define if you have the <dirent.h> header file. */
257 /* Define if you have the <fcntl.h> header file. */
260 /* Define if you have the <filio.h> header file. */
263 /* Define if you have the <gdbm.h> header file. */
266 /* Define if you have the <kerberosIV/des.h> header file. */
267 #undef HAVE_KERBEROSIV_DES_H
269 /* Define if you have the <kerberosIV/krb.h> header file. */
270 #undef HAVE_KERBEROSIV_KRB_H
272 /* Define if you have the <krb.h> header file. */
275 /* Define if you have the <limits.h> header file. */
278 /* Define if you have the <lwp/lwp.h> header file. */
279 #undef HAVE_LWP_LWP_H
281 /* Define if you have the <mach/cthreads.h> header file. */
282 #undef HAVE_MACH_CTHREADS_H
284 /* Define if you have the <malloc.h> header file. */
287 /* Define if you have the <ncurses.h> header file. */
288 #undef HAVE_NCURSES_H
290 /* Define if you have the <ndbm.h> header file. */
293 /* Define if you have the <ndir.h> header file. */
296 /* Define if you have the <pthread.h> header file. */
297 #undef HAVE_PTHREAD_H
299 /* Define if you have the <sched.h> header file. */
302 /* Define if you have the <sgtty.h> header file. */
305 /* Define if you have the <stddef.h> header file. */
308 /* Define if you have the <synch.h> header file. */
311 /* Define if you have the <sys/dir.h> header file. */
312 #undef HAVE_SYS_DIR_H
314 /* Define if you have the <sys/file.h> header file. */
315 #undef HAVE_SYS_FILE_H
317 /* Define if you have the <sys/ioctl.h> header file. */
318 #undef HAVE_SYS_IOCTL_H
320 /* Define if you have the <sys/ndir.h> header file. */
321 #undef HAVE_SYS_NDIR_H
323 /* Define if you have the <sys/time.h> header file. */
324 #undef HAVE_SYS_TIME_H
326 /* Define if you have the <syslog.h> header file. */
329 /* Define if you have the <termcap.h> header file. */
330 #undef HAVE_TERMCAP_H
332 /* Define if you have the <termios.h> header file. */
333 #undef HAVE_TERMIOS_H
335 /* Define if you have the <thread.h> header file. */
338 /* Define if you have the <unistd.h> header file. */
341 /* Define if you have the V3 library (-lV3). */
344 /* Define if you have the gen library (-lgen). */
347 /* Define if you have the inet library (-linet). */
350 /* Define if you have the net library (-lnet). */
353 /* Define if you have the nsl library (-lnsl). */
356 /* Define if you have the nsl_s library (-lnsl_s). */
359 /* Define if you have the socket library (-lsocket). */
360 #undef HAVE_LIBSOCKET
367 #include "ldap_cdefs.h"
369 #endif /* _LDAP_PORTABLE_H */