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 if your processor stores words with the most significant
108 byte first (like Motorola and SPARC, unlike Intel and VAX). */
109 #undef WORDS_BIGENDIAN
111 /* define this if sys_errlist is not defined in stdio.h or errno.h */
112 #undef DECL_SYS_ERRLIST
114 /* define if you have berkeley db */
115 #undef HAVE_BERKELEY_DB
117 /* define if you have berkeley db2 */
118 #undef HAVE_BERKELEY_DB2
120 /* define if you have crypt */
123 /* define if you have DCE */
126 /* define if you have GDBM */
129 /* define if you have Kerberos */
132 /* define if you have LinuxThreads */
133 #undef HAVE_LINUX_THREADS
135 /* define if you have Sun LWP (SunOS style) */
138 /* define if you have Sun LWP (Solaris style) */
141 /* define if you have -lncurses */
144 /* define if you have NDBM */
147 /* define if you have Mach CThreads */
148 #undef HAVE_MACH_CTHREADS
150 /* define if you have a preemptive POSIX Threads implementation */
151 #undef HAVE_PREEMPTIVE_PTHREADS
153 /* define if you have POSIX Threads */
156 /* define if your POSIX Threads implementatin is circa Draft 4 */
157 #undef HAVE_PTHREADS_D4
159 /* define if you have -lwrap */
162 /* define if you have -ltermcap */
165 /* define this for connectionless LDAP support */
166 #undef LDAP_CONNECTIONLESS
168 /* define this to add debugging code */
171 /* define this for LDAP DNS support */
174 /* define this to remove -lldap cache support */
177 /* define this for LDAP referrals support */
178 #undef LDAP_REFERRALS
180 /* define this for LDAP User Interface support */
183 /* define this to use DBBTREE w/ LDBM backend */
184 #undef LDBM_USE_DBBTREE
186 /* define this to use DBHASH w/ LDBM backend */
187 #undef LDBM_USE_DBHASH
189 /* define this if you want no termcap support */
192 /* define this if you want no thread support */
195 /* define this for ACL Group support */
196 #undef SLAPD_ACLGROUPS
198 /* define this for crypt(3) password support */
201 /* define this to use SLAPD LDBM backend */
204 /* define this for MD5 password support */
207 /* define this to use SLAPD passwd backend */
210 /* define this for phonetic support */
211 #undef SLAPD_PHONETIC
213 /* define this for Reverse Lookup support */
214 #undef SLAPD_RLOOKUPS
216 /* define this for SHA1 password support */
219 /* define this to use SLAPD shell backend */
222 /* define this if the thread package is preemptive */
223 #undef THREAD_PREEMPTIVE
225 /* Define if you have the bcopy function. */
228 /* Define if you have the flock function. */
231 /* Define if you have the getdtablesize function. */
232 #undef HAVE_GETDTABLESIZE
234 /* Define if you have the gethostname function. */
235 #undef HAVE_GETHOSTNAME
237 /* Define if you have the getopt function. */
240 /* Define if you have the gettimeofday function. */
241 #undef HAVE_GETTIMEOFDAY
243 /* Define if you have the lockf function. */
246 /* Define if you have the memcpy function. */
249 /* Define if you have the memmove function. */
252 /* Define if you have the mktime function. */
255 /* Define if you have the pthread_kill function. */
256 #undef HAVE_PTHREAD_KILL
258 /* Define if you have the pthread_yield function. */
259 #undef HAVE_PTHREAD_YIELD
261 /* Define if you have the sched_yield function. */
262 #undef HAVE_SCHED_YIELD
264 /* Define if you have the select function. */
267 /* Define if you have the setpwfile function. */
268 #undef HAVE_SETPWFILE
270 /* Define if you have the setsid function. */
273 /* Define if you have the signal function. */
276 /* Define if you have the sigset function. */
279 /* Define if you have the socket function. */
282 /* Define if you have the strdup function. */
285 /* Define if you have the strerror function. */
288 /* Define if you have the strrchr function. */
291 /* Define if you have the strsep function. */
294 /* Define if you have the strstr function. */
297 /* Define if you have the strtod function. */
300 /* Define if you have the strtol function. */
303 /* Define if you have the strtoul function. */
306 /* Define if you have the sysconf function. */
309 /* Define if you have the waitpid function. */
312 /* Define if you have the <db.h> header file. */
315 /* Define if you have the <db_185.h> header file. */
318 /* Define if you have the <des.h> header file. */
321 /* Define if you have the <dirent.h> header file. */
324 /* Define if you have the <errno.h> header file. */
327 /* Define if you have the <fcntl.h> header file. */
330 /* Define if you have the <filio.h> header file. */
333 /* Define if you have the <gdbm.h> header file. */
336 /* Define if you have the <getopt.h> header file. */
339 /* Define if you have the <kerberosIV/des.h> header file. */
340 #undef HAVE_KERBEROSIV_DES_H
342 /* Define if you have the <kerberosIV/krb.h> header file. */
343 #undef HAVE_KERBEROSIV_KRB_H
345 /* Define if you have the <krb.h> header file. */
348 /* Define if you have the <limits.h> header file. */
351 /* Define if you have the <lwp/lwp.h> header file. */
352 #undef HAVE_LWP_LWP_H
354 /* Define if you have the <mach/cthreads.h> header file. */
355 #undef HAVE_MACH_CTHREADS_H
357 /* Define if you have the <malloc.h> header file. */
360 /* Define if you have the <ncurses.h> header file. */
361 #undef HAVE_NCURSES_H
363 /* Define if you have the <ndbm.h> header file. */
366 /* Define if you have the <ndir.h> header file. */
369 /* Define if you have the <pthread.h> header file. */
370 #undef HAVE_PTHREAD_H
372 /* Define if you have the <regex.h> header file. */
375 /* Define if you have the <sched.h> header file. */
378 /* Define if you have the <sgtty.h> header file. */
381 /* Define if you have the <stddef.h> header file. */
384 /* Define if you have the <synch.h> header file. */
387 /* Define if you have the <sys/dir.h> header file. */
388 #undef HAVE_SYS_DIR_H
390 /* Define if you have the <sys/errno.h> header file. */
391 #undef HAVE_SYS_ERRNO_H
393 /* Define if you have the <sys/file.h> header file. */
394 #undef HAVE_SYS_FILE_H
396 /* Define if you have the <sys/ioctl.h> header file. */
397 #undef HAVE_SYS_IOCTL_H
399 /* Define if you have the <sys/ndir.h> header file. */
400 #undef HAVE_SYS_NDIR_H
402 /* Define if you have the <sys/param.h> header file. */
403 #undef HAVE_SYS_PARAM_H
405 /* Define if you have the <sys/socket.h> header file. */
406 #undef HAVE_SYS_SOCKET_H
408 /* Define if you have the <sys/time.h> header file. */
409 #undef HAVE_SYS_TIME_H
411 /* Define if you have the <sys/types.h> header file. */
412 #undef HAVE_SYS_TYPES_H
414 /* Define if you have the <syslog.h> header file. */
417 /* Define if you have the <termcap.h> header file. */
418 #undef HAVE_TERMCAP_H
420 /* Define if you have the <termios.h> header file. */
421 #undef HAVE_TERMIOS_H
423 /* Define if you have the <thread.h> header file. */
426 /* Define if you have the <unistd.h> header file. */
429 /* Define if you have the V3 library (-lV3). */
432 /* Define if you have the gen library (-lgen). */
435 /* Define if you have the inet library (-linet). */
438 /* Define if you have the net library (-lnet). */
441 /* Define if you have the nsl library (-lnsl). */
444 /* Define if you have the nsl_s library (-lnsl_s). */
447 /* Define if you have the socket library (-lsocket). */
448 #undef HAVE_LIBSOCKET
454 #include "ldap_cdefs.h"
456 #endif /* _LDAP_PORTABLE_H */