1 /* include/portable.h.in. Generated automatically from configure.in by autoheader. */
2 /* portable.h.top begin */
4 * Copyright 1998,1999 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.
13 #ifndef _LDAP_PORTABLE_H
14 #define _LDAP_PORTABLE_H
16 /* portable.h.top end */
18 /* Define if on AIX 3.
19 System headers sometimes define this.
20 We just want to avoid a redefinition error message. */
25 /* Define to empty if the keyword does not work. */
28 /* Define to the type of elements in the array set by `getgroups'.
29 Usually this is either `int' or `gid_t'. */
32 /* Define to `int' if <sys/types.h> doesn't define. */
35 /* Define if you don't have vprintf but do have _doprnt. */
38 /* Define if your struct stat has st_blksize. */
39 #undef HAVE_ST_BLKSIZE
41 /* Define if you have the strftime function. */
44 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
45 #undef HAVE_SYS_WAIT_H
47 /* Define if you have the vprintf function. */
50 /* Define if you have the wait3 system call. */
53 /* Define if on MINIX. */
56 /* Define to `int' if <sys/types.h> doesn't define. */
59 /* Define to `long' if <sys/types.h> doesn't define. */
62 /* Define to `int' if <sys/types.h> doesn't define. */
65 /* Define if the system does not provide POSIX.1 features except
67 #undef _POSIX_1_SOURCE
69 /* Define if you need to in order for stat and other things to work. */
72 /* Define as the return type of signal handlers (int or void). */
75 /* Define to `unsigned' if <sys/types.h> doesn't define. */
78 /* Define if you have the ANSI C header files. */
81 /* Define if you can safely include both <sys/time.h> and <time.h>. */
82 #undef TIME_WITH_SYS_TIME
84 /* Define if your <sys/time.h> declares struct tm. */
87 /* Define to `int' if <sys/types.h> doesn't define. */
90 /* Define if your processor stores words with the most significant
91 byte first (like Motorola and SPARC, unlike Intel and VAX). */
92 #undef WORDS_BIGENDIAN
94 /* define this if needed to get reentrant functions */
102 /* define this if needed to get threadsafe functions */
116 /* define this if cross compiling */
117 #undef CROSS_COMPILING
119 /* define this if toupper() requires tolower() check */
122 /* define this to the number of arguments ctime_r() expects
125 /* define this if sys_errlist is not defined in stdio.h or errno.h */
126 #undef DECL_SYS_ERRLIST
128 /* define this if TIOCGWINSZ is defined in sys/ioctl.h */
129 #undef GWINSZ_IN_SYS_IOCTL
131 /* define if you have berkeley db */
132 #undef HAVE_BERKELEY_DB
134 /* define if you have berkeley db2 */
135 #undef HAVE_BERKELEY_DB2
137 /* define if you have crypt */
140 /* define if you have DSAP */
143 /* define if you have GDBM */
146 /* define if you have ISODE */
149 /* define if you have Kerberos */
152 /* define if you have LinuxThreads */
153 #undef HAVE_LINUX_THREADS
155 /* define if you have Sun LWP (SunOS style) */
158 /* define if you have -lncurses */
161 /* define if you have NDBM */
164 /* define if you have Mach CThreads */
165 #undef HAVE_MACH_CTHREADS
167 /* define if you have POSIX termios */
168 #undef HAVE_POSIX_TERMIOS
170 /* define if you have PP */
173 /* define if you have POSIX Threads */
176 /* define if your POSIX Threads implementation is circa Final Draft */
177 #undef HAVE_PTHREADS_FINAL
179 /* define if your POSIX Threads implementation is circa Draft 4 */
180 #undef HAVE_PTHREADS_D4
182 /* define if you have ptrdiff_t */
183 #undef HAVE_PTRDIFF_T
185 /* define if you have sched_yield() */
187 /* see second sched_yield define */
188 #undef HAVE_SCHED_YIELD
191 /* define if you have setproctitle() */
192 #undef HAVE_SETPROCTITLE
194 /* define if you have -lwrap */
197 /* define if you have -ltermcap */
200 /* define if you have Sun LWP (Solaris style) */
203 /* define if you have XTPP */
206 /* define this if select() implicitly yields in thread environments */
207 #undef HAVE_YIELDING_SELECT
209 /* define this for connectionless LDAP support */
210 #undef LDAP_CONNECTIONLESS
212 /* define this to add debugging code */
215 /* define this to remove -lldap cache support */
218 /* define this for LDAP process title support */
219 #undef LDAP_PROCTITLE
221 /* define this for LDAP User Interface support */
224 /* define this to add syslog code */
227 /* define this to use DBBTREE w/ LDBM backend */
228 #undef LDBM_USE_DBBTREE
230 /* define this to use DBHASH w/ LDBM backend */
231 #undef LDBM_USE_DBHASH
233 /* define this if you want no termcap support */
236 /* define this if you want no thread support */
239 /* define this for ACL Group support */
240 #undef SLAPD_ACLGROUPS
242 /* define this for ClearText password support */
243 #undef SLAPD_CLEARTEXT
245 /* define this for crypt(3) password support */
248 /* define this to use SLAPD LDBM backend */
251 /* define this to use SLAPD passwd backend */
254 /* define this for phonetic support */
255 #undef SLAPD_PHONETIC
257 /* define this for Reverse Lookup support */
258 #undef SLAPD_RLOOKUPS
260 /* define this to use SLAPD shell backend */
263 /* define this to be empty if your compiler doesn't support volatile */
266 /* define this if sig_atomic_t isn't defined in signal.h */
269 /* These are defined in ldap_features.h */
271 LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
272 LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
273 LDAP_API_FEATURE_X_OPENLDAP_V2_DNS
274 LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
277 /* The number of bytes in a int. */
280 /* The number of bytes in a long. */
283 /* The number of bytes in a short. */
286 /* Define if you have the bcopy function. */
289 /* Define if you have the ctime_r function. */
292 /* Define if you have the flock function. */
295 /* Define if you have the getdtablesize function. */
296 #undef HAVE_GETDTABLESIZE
298 /* Define if you have the gethostbyaddr_r function. */
299 #undef HAVE_GETHOSTBYADDR_R
301 /* Define if you have the gethostbyname_r function. */
302 #undef HAVE_GETHOSTBYNAME_R
304 /* Define if you have the gethostname function. */
305 #undef HAVE_GETHOSTNAME
307 /* Define if you have the getopt function. */
310 /* Define if you have the getpwuid function. */
313 /* Define if you have the gettimeofday function. */
314 #undef HAVE_GETTIMEOFDAY
316 /* Define if you have the lockf function. */
319 /* Define if you have the memcpy function. */
322 /* Define if you have the memmove function. */
325 /* Define if you have the mkstemp function. */
328 /* Define if you have the pthread_attr_create function. */
329 #undef HAVE_PTHREAD_ATTR_CREATE
331 /* Define if you have the pthread_attr_delete function. */
332 #undef HAVE_PTHREAD_ATTR_DELETE
334 /* Define if you have the pthread_attr_destroy function. */
335 #undef HAVE_PTHREAD_ATTR_DESTROY
337 /* Define if you have the pthread_attr_init function. */
338 #undef HAVE_PTHREAD_ATTR_INIT
340 /* Define if you have the pthread_attr_setdetach_np function. */
341 #undef HAVE_PTHREAD_ATTR_SETDETACH_NP
343 /* Define if you have the pthread_attr_setdetachstate function. */
344 #undef HAVE_PTHREAD_ATTR_SETDETACHSTATE
346 /* Define if you have the pthread_kill function. */
347 #undef HAVE_PTHREAD_KILL
349 /* Define if you have the pthread_setconcurrency function. */
350 #undef HAVE_PTHREAD_SETCONCURRENCY
352 /* Define if you have the pthread_yield function. */
353 #undef HAVE_PTHREAD_YIELD
355 /* Define if you have the res_search function. */
356 #undef HAVE_RES_SEARCH
358 /* Define if you have the sched_yield function. */
359 #undef HAVE_SCHED_YIELD
361 /* Define if you have the select function. */
364 /* Define if you have the setpwfile function. */
365 #undef HAVE_SETPWFILE
367 /* Define if you have the setsid function. */
370 /* Define if you have the signal function. */
373 /* Define if you have the sigset function. */
376 /* Define if you have the snprintf function. */
379 /* Define if you have the socket function. */
382 /* Define if you have the strdup function. */
385 /* Define if you have the strerror function. */
388 /* Define if you have the strpbrk function. */
391 /* Define if you have the strrchr function. */
394 /* Define if you have the strsep function. */
397 /* Define if you have the strstr function. */
400 /* Define if you have the strtok function. */
403 /* Define if you have the strtok_r function. */
406 /* Define if you have the strtol function. */
409 /* Define if you have the strtoul function. */
412 /* Define if you have the sysconf function. */
415 /* Define if you have the tempnam function. */
418 /* Define if you have the thr_setconcurrency function. */
419 #undef HAVE_THR_SETCONCURRENCY
421 /* Define if you have the vsnprintf function. */
422 #undef HAVE_VSNPRINTF
424 /* Define if you have the vsprintf function. */
427 /* Define if you have the waitpid function. */
430 /* Define if you have the <crypt.h> header file. */
433 /* Define if you have the <db.h> header file. */
436 /* Define if you have the <db_185.h> header file. */
439 /* Define if you have the <des.h> header file. */
442 /* Define if you have the <dirent.h> header file. */
445 /* Define if you have the <dmalloc.h> header file. */
446 #undef HAVE_DMALLOC_H
448 /* Define if you have the <errno.h> header file. */
451 /* Define if you have the <fcntl.h> header file. */
454 /* Define if you have the <filio.h> header file. */
457 /* Define if you have the <gdbm.h> header file. */
460 /* Define if you have the <getopt.h> header file. */
463 /* Define if you have the <kerberosIV/des.h> header file. */
464 #undef HAVE_KERBEROSIV_DES_H
466 /* Define if you have the <kerberosIV/krb.h> header file. */
467 #undef HAVE_KERBEROSIV_KRB_H
469 /* Define if you have the <krb.h> header file. */
472 /* Define if you have the <libutil.h> header file. */
473 #undef HAVE_LIBUTIL_H
475 /* Define if you have the <limits.h> header file. */
478 /* Define if you have the <lwp/lwp.h> header file. */
479 #undef HAVE_LWP_LWP_H
481 /* Define if you have the <mach/cthreads.h> header file. */
482 #undef HAVE_MACH_CTHREADS_H
484 /* Define if you have the <malloc.h> header file. */
487 /* Define if you have the <memory.h> header file. */
490 /* Define if you have the <ncurses.h> header file. */
491 #undef HAVE_NCURSES_H
493 /* Define if you have the <ndbm.h> header file. */
496 /* Define if you have the <ndir.h> header file. */
499 /* Define if you have the <psap.h> header file. */
502 /* Define if you have the <pthread.h> header file. */
503 #undef HAVE_PTHREAD_H
505 /* Define if you have the <pwd.h> header file. */
508 /* Define if you have the <regex.h> header file. */
511 /* Define if you have the <sched.h> header file. */
514 /* Define if you have the <sgtty.h> header file. */
517 /* Define if you have the <stdarg.h> header file. */
520 /* Define if you have the <stddef.h> header file. */
523 /* Define if you have the <string.h> header file. */
526 /* Define if you have the <strings.h> header file. */
527 #undef HAVE_STRINGS_H
529 /* Define if you have the <synch.h> header file. */
532 /* Define if you have the <sys/dir.h> header file. */
533 #undef HAVE_SYS_DIR_H
535 /* Define if you have the <sys/errno.h> header file. */
536 #undef HAVE_SYS_ERRNO_H
538 /* Define if you have the <sys/file.h> header file. */
539 #undef HAVE_SYS_FILE_H
541 /* Define if you have the <sys/filio.h> header file. */
542 #undef HAVE_SYS_FILIO_H
544 /* Define if you have the <sys/ioctl.h> header file. */
545 #undef HAVE_SYS_IOCTL_H
547 /* Define if you have the <sys/ndir.h> header file. */
548 #undef HAVE_SYS_NDIR_H
550 /* Define if you have the <sys/param.h> header file. */
551 #undef HAVE_SYS_PARAM_H
553 /* Define if you have the <sys/resource.h> header file. */
554 #undef HAVE_SYS_RESOURCE_H
556 /* Define if you have the <sys/socket.h> header file. */
557 #undef HAVE_SYS_SOCKET_H
559 /* Define if you have the <sys/syslog.h> header file. */
560 #undef HAVE_SYS_SYSLOG_H
562 /* Define if you have the <sys/time.h> header file. */
563 #undef HAVE_SYS_TIME_H
565 /* Define if you have the <sys/types.h> header file. */
566 #undef HAVE_SYS_TYPES_H
568 /* Define if you have the <syslog.h> header file. */
571 /* Define if you have the <termcap.h> header file. */
572 #undef HAVE_TERMCAP_H
574 /* Define if you have the <termios.h> header file. */
575 #undef HAVE_TERMIOS_H
577 /* Define if you have the <thread.h> header file. */
580 /* Define if you have the <unistd.h> header file. */
583 /* Define if you have the V3 library (-lV3). */
586 /* Define if you have the bind library (-lbind). */
589 /* Define if you have the dmalloc library (-ldmalloc). */
590 #undef HAVE_LIBDMALLOC
592 /* Define if you have the gen library (-lgen). */
595 /* Define if you have the inet library (-linet). */
598 /* Define if you have the net library (-lnet). */
601 /* Define if you have the nsl library (-lnsl). */
604 /* Define if you have the nsl_s library (-lnsl_s). */
607 /* Define if you have the resolv library (-lresolv). */
608 #undef HAVE_LIBRESOLV
610 /* Define if you have the socket library (-lsocket). */
611 #undef HAVE_LIBSOCKET
612 /* portable.h.bot begin */
614 * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
615 * All rights reserved.
617 * Redistribution and use in source and binary forms are permitted only
618 * as authorized by the OpenLDAP Public License. A copy of this
619 * license is available at http://www.OpenLDAP.org/license.html or
620 * in file LICENSE in the top-level directory of the distribution.
627 #include "ldap_cdefs.h"
628 #include "ldap_features.h"
630 #endif /* _LDAP_PORTABLE_H */
632 /* portable.h.bot end */