1 /* include/portable.h.in. Generated automatically from configure.in by autoheader. */
3 * Copyright 1998,1999 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.
12 #ifndef _LDAP_PORTABLE_H
13 #define _LDAP_PORTABLE_H
17 /* Define if on AIX 3.
18 System headers sometimes define this.
19 We just want to avoid a redefinition error message. */
24 /* Define to empty if the keyword does not work. */
27 /* Define to the type of elements in the array set by `getgroups'.
28 Usually this is either `int' or `gid_t'. */
31 /* Define to `int' if <sys/types.h> doesn't define. */
34 /* Define if you don't have vprintf but do have _doprnt. */
37 /* Define if your struct stat has st_blksize. */
38 #undef HAVE_ST_BLKSIZE
40 /* Define if you have the strftime function. */
43 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
44 #undef HAVE_SYS_WAIT_H
46 /* Define if you have the vprintf function. */
49 /* Define if on MINIX. */
52 /* Define to `int' if <sys/types.h> doesn't define. */
55 /* Define to `long' if <sys/types.h> doesn't define. */
58 /* Define to `int' if <sys/types.h> doesn't define. */
61 /* Define if the system does not provide POSIX.1 features except
63 #undef _POSIX_1_SOURCE
65 /* Define if you need to in order for stat and other things to work. */
68 /* Define as the return type of signal handlers (int or void). */
71 /* Define to `unsigned' if <sys/types.h> doesn't define. */
74 /* Define if you have the ANSI C header files. */
77 /* Define if you can safely include both <sys/time.h> and <time.h>. */
78 #undef TIME_WITH_SYS_TIME
80 /* Define if your <sys/time.h> declares struct tm. */
83 /* Define to `int' if <sys/types.h> doesn't define. */
86 /* Define if your processor stores words with the most significant
87 byte first (like Motorola and SPARC, unlike Intel and VAX). */
88 #undef WORDS_BIGENDIAN
90 /* define this if needed to get reentrant functions */
98 /* define this if needed to get threadsafe functions */
112 /* define this if toupper() requires tolower() check */
115 /* define this if sys_errlist is not defined in stdio.h or errno.h */
116 #undef DECL_SYS_ERRLIST
118 /* define if you have berkeley db */
119 #undef HAVE_BERKELEY_DB
121 /* define if you have berkeley db2 */
122 #undef HAVE_BERKELEY_DB2
124 /* define if you have crypt */
127 /* define if you have GDBM */
130 /* define if you have NDBM */
133 /* define if you have res_search() */
135 /* see second res_search define */
136 #undef HAVE_RES_SEARCH
139 /* define if you have sched_yield() */
141 /* see second sched_yield define */
142 #undef HAVE_SCHED_YIELD
145 /* define if you have setproctitle() */
146 #undef HAVE_SETPROCTITLE
148 /* define this for connectionless LDAP support */
149 #undef LDAP_CONNECTIONLESS
151 /* define this to add debugging code */
154 /* define this for LDAP DNS support */
157 /* define this to remove -lldap cache support */
160 /* define this for LDAP process title support */
161 #undef LDAP_PROCTITLE
163 /* define this for LDAP referrals support */
164 #undef LDAP_REFERRALS
166 /* define this for LDAP User Interface support */
169 /* define this to use DBBTREE w/ LDBM backend */
170 #undef LDBM_USE_DBBTREE
172 /* define this to use DBHASH w/ LDBM backend */
173 #undef LDBM_USE_DBHASH
175 /* define this for ACL Group support */
176 #undef SLAPD_ACLGROUPS
178 /* define this for ClearText password support */
179 #undef SLAPD_CLEARTEXT
181 /* define this for crypt(3) password support */
184 /* define this to use SLAPD LDBM backend */
187 /* define this to use SLAPD passwd backend */
190 /* define this for phonetic support */
191 #undef SLAPD_PHONETIC
193 /* define this for Reverse Lookup support */
194 #undef SLAPD_RLOOKUPS
196 /* define this to use SLAPD shell backend */
199 /* The number of bytes in a int. */
202 /* The number of bytes in a long. */
205 /* The number of bytes in a short. */
208 /* Define if you have the bcopy function. */
211 /* Define if you have the flock function. */
214 /* Define if you have the getdtablesize function. */
215 #undef HAVE_GETDTABLESIZE
217 /* Define if you have the gethostname function. */
218 #undef HAVE_GETHOSTNAME
220 /* Define if you have the getopt function. */
223 /* Define if you have the getpwuid function. */
226 /* Define if you have the gettimeofday function. */
227 #undef HAVE_GETTIMEOFDAY
229 /* Define if you have the lockf function. */
232 /* Define if you have the memcpy function. */
235 /* Define if you have the memmove function. */
238 /* Define if you have the mkstemp function. */
241 /* Define if you have the pthread_detach function. */
242 #undef HAVE_PTHREAD_DETACH
244 /* Define if you have the pthread_getconcurrency function. */
245 #undef HAVE_PTHREAD_GETCONCURRENCY
247 /* Define if you have the pthread_kill function. */
248 #undef HAVE_PTHREAD_KILL
250 /* Define if you have the pthread_setconcurrency function. */
251 #undef HAVE_PTHREAD_SETCONCURRENCY
253 /* Define if you have the pthread_yield function. */
254 #undef HAVE_PTHREAD_YIELD
256 /* Define if you have the res_search function. */
257 #undef HAVE_RES_SEARCH
259 /* Define if you have the sched_yield function. */
260 #undef HAVE_SCHED_YIELD
262 /* Define if you have the select function. */
265 /* Define if you have the setpwfile function. */
266 #undef HAVE_SETPWFILE
268 /* Define if you have the setsid function. */
271 /* Define if you have the signal function. */
274 /* Define if you have the sigset function. */
277 /* Define if you have the snprintf function. */
280 /* Define if you have the socket function. */
283 /* Define if you have the strdup function. */
286 /* Define if you have the strerror function. */
289 /* Define if you have the strpbrk function. */
292 /* Define if you have the strrchr function. */
295 /* Define if you have the strsep function. */
298 /* Define if you have the strstr function. */
301 /* Define if you have the strtok function. */
304 /* Define if you have the strtol function. */
307 /* Define if you have the strtoul function. */
310 /* Define if you have the sysconf function. */
313 /* Define if you have the tempnam function. */
316 /* Define if you have the thr_getconcurrency function. */
317 #undef HAVE_THR_GETCONCURRENCY
319 /* Define if you have the thr_setconcurrency function. */
320 #undef HAVE_THR_SETCONCURRENCY
322 /* Define if you have the thr_yield function. */
323 #undef HAVE_THR_YIELD
325 /* Define if you have the vsnprintf function. */
326 #undef HAVE_VSNPRINTF
328 /* Define if you have the vsprintf function. */
331 /* Define if you have the waitpid function. */
334 /* Define if you have the <arpa/nameser.h> header file. */
335 #undef HAVE_ARPA_NAMESER_H
337 /* Define if you have the <crypt.h> header file. */
340 /* Define if you have the <db.h> header file. */
343 /* Define if you have the <db_185.h> header file. */
346 /* Define if you have the <des.h> header file. */
349 /* Define if you have the <dirent.h> header file. */
352 /* Define if you have the <dmalloc.h> header file. */
353 #undef HAVE_DMALLOC_H
355 /* Define if you have the <errno.h> header file. */
358 /* Define if you have the <fcntl.h> header file. */
361 /* Define if you have the <filio.h> header file. */
364 /* Define if you have the <gdbm.h> header file. */
367 /* Define if you have the <getopt.h> header file. */
370 /* Define if you have the <kerberosIV/des.h> header file. */
371 #undef HAVE_KERBEROSIV_DES_H
373 /* Define if you have the <kerberosIV/krb.h> header file. */
374 #undef HAVE_KERBEROSIV_KRB_H
376 /* Define if you have the <krb.h> header file. */
379 /* Define if you have the <libutil.h> header file. */
380 #undef HAVE_LIBUTIL_H
382 /* Define if you have the <limits.h> header file. */
385 /* Define if you have the <lwp/lwp.h> header file. */
386 #undef HAVE_LWP_LWP_H
388 /* Define if you have the <mach/cthreads.h> header file. */
389 #undef HAVE_MACH_CTHREADS_H
391 /* Define if you have the <malloc.h> header file. */
394 /* Define if you have the <memory.h> header file. */
397 /* Define if you have the <ncurses.h> header file. */
398 #undef HAVE_NCURSES_H
400 /* Define if you have the <ndbm.h> header file. */
403 /* Define if you have the <ndir.h> header file. */
406 /* Define if you have the <psap.h> header file. */
409 /* Define if you have the <pthread.h> header file. */
410 #undef HAVE_PTHREAD_H
412 /* Define if you have the <pwd.h> header file. */
415 /* Define if you have the <regex.h> header file. */
418 /* Define if you have the <resolv.h> header file. */
421 /* Define if you have the <sched.h> header file. */
424 /* Define if you have the <sgtty.h> header file. */
427 /* Define if you have the <stdarg.h> header file. */
430 /* Define if you have the <stddef.h> header file. */
433 /* Define if you have the <string.h> header file. */
436 /* Define if you have the <strings.h> header file. */
437 #undef HAVE_STRINGS_H
439 /* Define if you have the <synch.h> header file. */
442 /* Define if you have the <sys/dir.h> header file. */
443 #undef HAVE_SYS_DIR_H
445 /* Define if you have the <sys/errno.h> header file. */
446 #undef HAVE_SYS_ERRNO_H
448 /* Define if you have the <sys/file.h> header file. */
449 #undef HAVE_SYS_FILE_H
451 /* Define if you have the <sys/filio.h> header file. */
452 #undef HAVE_SYS_FILIO_H
454 /* Define if you have the <sys/ioctl.h> header file. */
455 #undef HAVE_SYS_IOCTL_H
457 /* Define if you have the <sys/ndir.h> header file. */
458 #undef HAVE_SYS_NDIR_H
460 /* Define if you have the <sys/param.h> header file. */
461 #undef HAVE_SYS_PARAM_H
463 /* Define if you have the <sys/resource.h> header file. */
464 #undef HAVE_SYS_RESOURCE_H
466 /* Define if you have the <sys/socket.h> header file. */
467 #undef HAVE_SYS_SOCKET_H
469 /* Define if you have the <sys/syslog.h> header file. */
470 #undef HAVE_SYS_SYSLOG_H
472 /* Define if you have the <sys/time.h> header file. */
473 #undef HAVE_SYS_TIME_H
475 /* Define if you have the <sys/types.h> header file. */
476 #undef HAVE_SYS_TYPES_H
478 /* Define if you have the <syslog.h> header file. */
481 /* Define if you have the <tcpd.h> header file. */
484 /* Define if you have the <termcap.h> header file. */
485 #undef HAVE_TERMCAP_H
487 /* Define if you have the <termios.h> header file. */
488 #undef HAVE_TERMIOS_H
490 /* Define if you have the <thread.h> header file. */
493 /* Define if you have the <unistd.h> header file. */
496 /* Define if you have the V3 library (-lV3). */
499 /* Define if you have the bind library (-lbind). */
502 /* Define if you have the dmalloc library (-ldmalloc). */
503 #undef HAVE_LIBDMALLOC
505 /* Define if you have the gen library (-lgen). */
508 /* Define if you have the inet library (-linet). */
511 /* Define if you have the net library (-lnet). */
514 /* Define if you have the nsl library (-lnsl). */
517 /* Define if you have the nsl_s library (-lnsl_s). */
520 /* Define if you have the resolv library (-lresolv). */
521 #undef HAVE_LIBRESOLV
523 /* Define if you have the socket library (-lsocket). */
524 #undef HAVE_LIBSOCKET
526 /* define if you have -lxttp */
529 /* define if you have -ldsap */
532 /* define if you have -lisode */
535 /* define if you have -lpp */
538 /* define if you have Kerberos des_debug */
539 #undef HAVE_DES_DEBUG
541 /* define if you have Kerberos */
544 /* define if pthreads API compatible with final spec */
545 #undef HAVE_PTHREADS_FINAL
547 /* define if pthreads API compatible with draft4 spec */
548 #undef HAVE_PTHREADS_D4
550 /* define if you have LinuxThreads */
551 #undef HAVE_LINUX_THREADS
553 /* define if you have POSIX Threads */
556 /* define if you have Mach Cthreads */
557 #undef HAVE_MACH_CTHREADS
559 /* if you have Solaris LWP (thr) package */
562 /* if you have SunOS LWP package */
565 /* define if select implicitly yields */
566 #undef HAVE_YIELDING_SELECT
568 /* define if you have (or want) no threads */
571 /* define if you have -lwrap */
574 /* define if you have -ltermcap */
577 /* define if you have -lncurses */
580 /* define if you have no termcap support */
583 /* Define if TIOCGWINSZ requires sys/ioctl.h */
584 #undef GWINSZ_IN_SYS_IOCTL
586 /* define if you have POSIX termios */
587 #undef HAVE_POSIX_TERMIOS
589 /* Define if system has ptrdiff_t type */
590 #undef HAVE_PTRDIFF_T
592 /* define if cross compiling */
593 #undef CROSS_COMPILING
595 /* begin of postamble */
601 #include "ldap_cdefs.h"
603 #endif /* _LDAP_PORTABLE_H */