]> git.sur5r.net Git - openldap/blob - include/portable.h.in
Correct cthread typos
[openldap] / include / portable.h.in
1 /* include/portable.h.in.  Generated automatically from configure.in by autoheader.  */
2 /*
3  * Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted only as authorized by the OpenLDAP
8  * Public License.  A copy of this license is available at
9  * http://www.OpenLDAP.org/license.html or in file LICENSE in the
10  * top-level directory of the distribution.
11  */
12
13 #ifndef _LDAP_PORTABLE_H
14 #define _LDAP_PORTABLE_H
15
16 /* end of preamble */
17
18
19 /* Define if on AIX 3.
20    System headers sometimes define this.
21    We just want to avoid a redefinition error message.  */
22 #ifndef _ALL_SOURCE
23 #undef _ALL_SOURCE
24 #endif
25
26 /* Define to empty if the keyword does not work.  */
27 #undef const
28
29 /* Define to `int' if <sys/types.h> doesn't define.  */
30 #undef gid_t
31
32 /* Define if you don't have vprintf but do have _doprnt.  */
33 #undef HAVE_DOPRNT
34
35 /* Define if your struct stat has st_blksize.  */
36 #undef HAVE_ST_BLKSIZE
37
38 /* Define if you have the strftime function.  */
39 #undef HAVE_STRFTIME
40
41 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
42 #undef HAVE_SYS_WAIT_H
43
44 /* Define if you have the vprintf function.  */
45 #undef HAVE_VPRINTF
46
47 /* Define if on MINIX.  */
48 #undef _MINIX
49
50 /* Define if the system does not provide POSIX.1 features except
51    with this defined.  */
52 #undef _POSIX_1_SOURCE
53
54 /* Define if you need to in order for stat and other things to work.  */
55 #undef _POSIX_SOURCE
56
57 /* Define as the return type of signal handlers (int or void).  */
58 #undef RETSIGTYPE
59
60 /* Define to the type of arg1 for select(). */
61 #undef SELECT_TYPE_ARG1
62
63 /* Define to the type of args 2, 3 and 4 for select(). */
64 #undef SELECT_TYPE_ARG234
65
66 /* Define to the type of arg5 for select(). */
67 #undef SELECT_TYPE_ARG5
68
69 /* Define if you have the ANSI C header files.  */
70 #undef STDC_HEADERS
71
72 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
73 #undef TIME_WITH_SYS_TIME
74
75 /* Define if your <sys/time.h> declares struct tm.  */
76 #undef TM_IN_SYS_TIME
77
78 /* Define to `int' if <sys/types.h> doesn't define.  */
79 #undef uid_t
80
81 /* Define if your processor stores words with the most significant
82    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
83 #undef WORDS_BIGENDIAN
84
85 /* define this if needed to get reentrant functions */
86 #ifndef REENTRANT
87 #undef REENTRANT
88 #endif
89 #ifndef _REENTRANT
90 #undef _REENTRANT
91 #endif
92
93 /* define this if needed to get threadsafe functions */
94 #ifndef THREADSAFE
95 #undef THREADSAFE
96 #endif
97 #ifndef _THREADSAFE
98 #undef _THREADSAFE
99 #endif
100 #ifndef THREAD_SAFE
101 #undef THREAD_SAFE
102 #endif
103 #ifndef _THREAD_SAFE
104 #undef _THREAD_SAFE
105 #endif
106
107 #ifndef _SGI_MP_SOURCE
108 #undef _SGI_MP_SOURCE
109 #endif
110
111 /* These are defined in ldap_features.h */
112 /*
113  LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
114  LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
115  LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND
116  LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
117 */
118
119 /* These are defined in lber_types.h */
120 /*
121  LBER_INT_T
122  LBER_LEN_T
123  LBER_SOCKET_T
124  LBER_TAG_T
125 */
126
127 /* Define if you have the bcopy function.  */
128 #undef HAVE_BCOPY
129
130 /* Define if you have the chroot function.  */
131 #undef HAVE_CHROOT
132
133 /* Define if you have the closesocket function.  */
134 #undef HAVE_CLOSESOCKET
135
136 /* Define if you have the ctime_r function.  */
137 #undef HAVE_CTIME_R
138
139 /* Define if you have the endgrent function.  */
140 #undef HAVE_ENDGRENT
141
142 /* Define if you have the endpwent function.  */
143 #undef HAVE_ENDPWENT
144
145 /* Define if you have the fcntl function.  */
146 #undef HAVE_FCNTL
147
148 /* Define if you have the flock function.  */
149 #undef HAVE_FLOCK
150
151 /* Define if you have the gai_strerror function.  */
152 #undef HAVE_GAI_STRERROR
153
154 /* Define if you have the getaddrinfo function.  */
155 #undef HAVE_GETADDRINFO
156
157 /* Define if you have the getdtablesize function.  */
158 #undef HAVE_GETDTABLESIZE
159
160 /* Define if you have the getgrgid function.  */
161 #undef HAVE_GETGRGID
162
163 /* Define if you have the gethostbyaddr_r function.  */
164 #undef HAVE_GETHOSTBYADDR_R
165
166 /* Define if you have the gethostbyname_r function.  */
167 #undef HAVE_GETHOSTBYNAME_R
168
169 /* Define if you have the gethostname function.  */
170 #undef HAVE_GETHOSTNAME
171
172 /* Define if you have the getopt function.  */
173 #undef HAVE_GETOPT
174
175 /* Define if you have the getpass function.  */
176 #undef HAVE_GETPASS
177
178 /* Define if you have the getpassphrase function.  */
179 #undef HAVE_GETPASSPHRASE
180
181 /* Define if you have the getpwnam function.  */
182 #undef HAVE_GETPWNAM
183
184 /* Define if you have the getpwuid function.  */
185 #undef HAVE_GETPWUID
186
187 /* Define if you have the getspnam function.  */
188 #undef HAVE_GETSPNAM
189
190 /* Define if you have the gettimeofday function.  */
191 #undef HAVE_GETTIMEOFDAY
192
193 /* Define if you have the inet_ntop function.  */
194 #undef HAVE_INET_NTOP
195
196 /* Define if you have the initgroups function.  */
197 #undef HAVE_INITGROUPS
198
199 /* Define if you have the lockf function.  */
200 #undef HAVE_LOCKF
201
202 /* Define if you have the memcpy function.  */
203 #undef HAVE_MEMCPY
204
205 /* Define if you have the memmove function.  */
206 #undef HAVE_MEMMOVE
207
208 /* Define if you have the mkstemp function.  */
209 #undef HAVE_MKSTEMP
210
211 /* Define if you have the mktemp function.  */
212 #undef HAVE_MKTEMP
213
214 /* Define if you have the pipe function.  */
215 #undef HAVE_PIPE
216
217 /* Define if you have the pthread_getconcurrency function.  */
218 #undef HAVE_PTHREAD_GETCONCURRENCY
219
220 /* Define if you have the pthread_kill function.  */
221 #undef HAVE_PTHREAD_KILL
222
223 /* Define if you have the pthread_kill_other_threads_np function.  */
224 #undef HAVE_PTHREAD_KILL_OTHER_THREADS_NP
225
226 /* Define if you have the pthread_rwlock_destroy function.  */
227 #undef HAVE_PTHREAD_RWLOCK_DESTROY
228
229 /* Define if you have the pthread_setconcurrency function.  */
230 #undef HAVE_PTHREAD_SETCONCURRENCY
231
232 /* Define if you have the pthread_yield function.  */
233 #undef HAVE_PTHREAD_YIELD
234
235 /* Define if you have the read function.  */
236 #undef HAVE_READ
237
238 /* Define if you have the recv function.  */
239 #undef HAVE_RECV
240
241 /* Define if you have the recvfrom function.  */
242 #undef HAVE_RECVFROM
243
244 /* Define if you have the sched_yield function.  */
245 #undef HAVE_SCHED_YIELD
246
247 /* Define if you have the send function.  */
248 #undef HAVE_SEND
249
250 /* Define if you have the sendto function.  */
251 #undef HAVE_SENDTO
252
253 /* Define if you have the setegid function.  */
254 #undef HAVE_SETEGID
255
256 /* Define if you have the seteuid function.  */
257 #undef HAVE_SETEUID
258
259 /* Define if you have the setgid function.  */
260 #undef HAVE_SETGID
261
262 /* Define if you have the setpwfile function.  */
263 #undef HAVE_SETPWFILE
264
265 /* Define if you have the setsid function.  */
266 #undef HAVE_SETSID
267
268 /* Define if you have the setuid function.  */
269 #undef HAVE_SETUID
270
271 /* Define if you have the sigaction function.  */
272 #undef HAVE_SIGACTION
273
274 /* Define if you have the signal function.  */
275 #undef HAVE_SIGNAL
276
277 /* Define if you have the sigset function.  */
278 #undef HAVE_SIGSET
279
280 /* Define if you have the strdup function.  */
281 #undef HAVE_STRDUP
282
283 /* Define if you have the strerror function.  */
284 #undef HAVE_STRERROR
285
286 /* Define if you have the strpbrk function.  */
287 #undef HAVE_STRPBRK
288
289 /* Define if you have the strrchr function.  */
290 #undef HAVE_STRRCHR
291
292 /* Define if you have the strsep function.  */
293 #undef HAVE_STRSEP
294
295 /* Define if you have the strspn function.  */
296 #undef HAVE_STRSPN
297
298 /* Define if you have the strstr function.  */
299 #undef HAVE_STRSTR
300
301 /* Define if you have the strtol function.  */
302 #undef HAVE_STRTOL
303
304 /* Define if you have the strtoul function.  */
305 #undef HAVE_STRTOUL
306
307 /* Define if you have the sysconf function.  */
308 #undef HAVE_SYSCONF
309
310 /* Define if you have the thr_getconcurrency function.  */
311 #undef HAVE_THR_GETCONCURRENCY
312
313 /* Define if you have the thr_setconcurrency function.  */
314 #undef HAVE_THR_SETCONCURRENCY
315
316 /* Define if you have the thr_yield function.  */
317 #undef HAVE_THR_YIELD
318
319 /* Define if you have the usleep function.  */
320 #undef HAVE_USLEEP
321
322 /* Define if you have the vsnprintf function.  */
323 #undef HAVE_VSNPRINTF
324
325 /* Define if you have the vsprintf function.  */
326 #undef HAVE_VSPRINTF
327
328 /* Define if you have the wait4 function.  */
329 #undef HAVE_WAIT4
330
331 /* Define if you have the waitpid function.  */
332 #undef HAVE_WAITPID
333
334 /* Define if you have the write function.  */
335 #undef HAVE_WRITE
336
337 /* Define if you have the <arpa/inet.h> header file.  */
338 #undef HAVE_ARPA_INET_H
339
340 /* Define if you have the <arpa/nameser.h> header file.  */
341 #undef HAVE_ARPA_NAMESER_H
342
343 /* Define if you have the <assert.h> header file.  */
344 #undef HAVE_ASSERT_H
345
346 /* Define if you have the <conio.h> header file.  */
347 #undef HAVE_CONIO_H
348
349 /* Define if you have the <crypt.h> header file.  */
350 #undef HAVE_CRYPT_H
351
352 /* Define if you have the <cthread.h> header file.  */
353 #undef HAVE_CTHREAD_H
354
355 /* Define if you have the <db.h> header file.  */
356 #undef HAVE_DB_H
357
358 /* Define if you have the <db_185.h> header file.  */
359 #undef HAVE_DB_185_H
360
361 /* Define if you have the <des.h> header file.  */
362 #undef HAVE_DES_H
363
364 /* Define if you have the <direct.h> header file.  */
365 #undef HAVE_DIRECT_H
366
367 /* Define if you have the <dirent.h> header file.  */
368 #undef HAVE_DIRENT_H
369
370 /* Define if you have the <errno.h> header file.  */
371 #undef HAVE_ERRNO_H
372
373 /* Define if you have the <fcntl.h> header file.  */
374 #undef HAVE_FCNTL_H
375
376 /* Define if you have the <filio.h> header file.  */
377 #undef HAVE_FILIO_H
378
379 /* Define if you have the <gdbm.h> header file.  */
380 #undef HAVE_GDBM_H
381
382 /* Define if you have the <getopt.h> header file.  */
383 #undef HAVE_GETOPT_H
384
385 /* Define if you have the <grp.h> header file.  */
386 #undef HAVE_GRP_H
387
388 /* Define if you have the <heim_err.h> header file.  */
389 #undef HAVE_HEIM_ERR_H
390
391 /* Define if you have the <io.h> header file.  */
392 #undef HAVE_IO_H
393
394 /* Define if you have the <kerberosIV/des.h> header file.  */
395 #undef HAVE_KERBEROSIV_DES_H
396
397 /* Define if you have the <kerberosIV/krb.h> header file.  */
398 #undef HAVE_KERBEROSIV_KRB_H
399
400 /* Define if you have the <krb-archaeology.h> header file.  */
401 #undef HAVE_KRB_ARCHAEOLOGY_H
402
403 /* Define if you have the <krb.h> header file.  */
404 #undef HAVE_KRB_H
405
406 /* Define if you have the <krb5.h> header file.  */
407 #undef HAVE_KRB5_H
408
409 /* Define if you have the <libutil.h> header file.  */
410 #undef HAVE_LIBUTIL_H
411
412 /* Define if you have the <limits.h> header file.  */
413 #undef HAVE_LIMITS_H
414
415 /* Define if you have the <locale.h> header file.  */
416 #undef HAVE_LOCALE_H
417
418 /* Define if you have the <ltdl.h> header file.  */
419 #undef HAVE_LTDL_H
420
421 /* Define if you have the <lwp/lwp.h> header file.  */
422 #undef HAVE_LWP_LWP_H
423
424 /* Define if you have the <mach/cthread.h> header file.  */
425 #undef HAVE_MACH_CTHREAD_H
426
427 /* Define if you have the <mach/cthreads.h> header file.  */
428 #undef HAVE_MACH_CTHREADS_H
429
430 /* Define if you have the <malloc.h> header file.  */
431 #undef HAVE_MALLOC_H
432
433 /* Define if you have the <mdbm.h> header file.  */
434 #undef HAVE_MDBM_H
435
436 /* Define if you have the <memory.h> header file.  */
437 #undef HAVE_MEMORY_H
438
439 /* Define if you have the <minix/config.h> header file.  */
440 #undef HAVE_MINIX_CONFIG_H
441
442 /* Define if you have the <ncurses.h> header file.  */
443 #undef HAVE_NCURSES_H
444
445 /* Define if you have the <ndbm.h> header file.  */
446 #undef HAVE_NDBM_H
447
448 /* Define if you have the <ndir.h> header file.  */
449 #undef HAVE_NDIR_H
450
451 /* Define if you have the <netinet/tcp.h> header file.  */
452 #undef HAVE_NETINET_TCP_H
453
454 /* Define if you have the <openssl/ssl.h> header file.  */
455 #undef HAVE_OPENSSL_SSL_H
456
457 /* Define if you have the <process.h> header file.  */
458 #undef HAVE_PROCESS_H
459
460 /* Define if you have the <psap.h> header file.  */
461 #undef HAVE_PSAP_H
462
463 /* Define if you have the <pth.h> header file.  */
464 #undef HAVE_PTH_H
465
466 /* Define if you have the <pthread.h> header file.  */
467 #undef HAVE_PTHREAD_H
468
469 /* Define if you have the <pwd.h> header file.  */
470 #undef HAVE_PWD_H
471
472 /* Define if you have the <readline/history.h> header file.  */
473 #undef HAVE_READLINE_HISTORY_H
474
475 /* Define if you have the <readline/readline.h> header file.  */
476 #undef HAVE_READLINE_READLINE_H
477
478 /* Define if you have the <regex.h> header file.  */
479 #undef HAVE_REGEX_H
480
481 /* Define if you have the <resolv.h> header file.  */
482 #undef HAVE_RESOLV_H
483
484 /* Define if you have the <sasl.h> header file.  */
485 #undef HAVE_SASL_H
486
487 /* Define if you have the <sched.h> header file.  */
488 #undef HAVE_SCHED_H
489
490 /* Define if you have the <sgtty.h> header file.  */
491 #undef HAVE_SGTTY_H
492
493 /* Define if you have the <shadow.h> header file.  */
494 #undef HAVE_SHADOW_H
495
496 /* Define if you have the <slp.h> header file.  */
497 #undef HAVE_SLP_H
498
499 /* Define if you have the <ssl.h> header file.  */
500 #undef HAVE_SSL_H
501
502 /* Define if you have the <stddef.h> header file.  */
503 #undef HAVE_STDDEF_H
504
505 /* Define if you have the <string.h> header file.  */
506 #undef HAVE_STRING_H
507
508 /* Define if you have the <strings.h> header file.  */
509 #undef HAVE_STRINGS_H
510
511 /* Define if you have the <synch.h> header file.  */
512 #undef HAVE_SYNCH_H
513
514 /* Define if you have the <sys/dir.h> header file.  */
515 #undef HAVE_SYS_DIR_H
516
517 /* Define if you have the <sys/errno.h> header file.  */
518 #undef HAVE_SYS_ERRNO_H
519
520 /* Define if you have the <sys/file.h> header file.  */
521 #undef HAVE_SYS_FILE_H
522
523 /* Define if you have the <sys/filio.h> header file.  */
524 #undef HAVE_SYS_FILIO_H
525
526 /* Define if you have the <sys/ioctl.h> header file.  */
527 #undef HAVE_SYS_IOCTL_H
528
529 /* Define if you have the <sys/ndir.h> header file.  */
530 #undef HAVE_SYS_NDIR_H
531
532 /* Define if you have the <sys/param.h> header file.  */
533 #undef HAVE_SYS_PARAM_H
534
535 /* Define if you have the <sys/resource.h> header file.  */
536 #undef HAVE_SYS_RESOURCE_H
537
538 /* Define if you have the <sys/select.h> header file.  */
539 #undef HAVE_SYS_SELECT_H
540
541 /* Define if you have the <sys/socket.h> header file.  */
542 #undef HAVE_SYS_SOCKET_H
543
544 /* Define if you have the <sys/syslog.h> header file.  */
545 #undef HAVE_SYS_SYSLOG_H
546
547 /* Define if you have the <sys/time.h> header file.  */
548 #undef HAVE_SYS_TIME_H
549
550 /* Define if you have the <sys/types.h> header file.  */
551 #undef HAVE_SYS_TYPES_H
552
553 /* Define if you have the <sys/un.h> header file.  */
554 #undef HAVE_SYS_UN_H
555
556 /* Define if you have the <sysexits.h> header file.  */
557 #undef HAVE_SYSEXITS_H
558
559 /* Define if you have the <syslog.h> header file.  */
560 #undef HAVE_SYSLOG_H
561
562 /* Define if you have the <tcl.h> header file.  */
563 #undef HAVE_TCL_H
564
565 /* Define if you have the <tcpd.h> header file.  */
566 #undef HAVE_TCPD_H
567
568 /* Define if you have the <termcap.h> header file.  */
569 #undef HAVE_TERMCAP_H
570
571 /* Define if you have the <termios.h> header file.  */
572 #undef HAVE_TERMIOS_H
573
574 /* Define if you have the <thread.h> header file.  */
575 #undef HAVE_THREAD_H
576
577 /* Define if you have the <unistd.h> header file.  */
578 #undef HAVE_UNISTD_H
579
580 /* Define if you have the <winsock.h> header file.  */
581 #undef HAVE_WINSOCK_H
582
583 /* Define if you have the <winsock2.h> header file.  */
584 #undef HAVE_WINSOCK2_H
585
586 /* Define if you have the V3 library (-lV3).  */
587 #undef HAVE_LIBV3
588
589 /* Define if you have the bind library (-lbind).  */
590 #undef HAVE_LIBBIND
591
592 /* Define if you have the dl library (-ldl).  */
593 #undef HAVE_LIBDL
594
595 /* Define if you have the gen library (-lgen).  */
596 #undef HAVE_LIBGEN
597
598 /* Define if you have the inet library (-linet).  */
599 #undef HAVE_LIBINET
600
601 /* Define if you have the net library (-lnet).  */
602 #undef HAVE_LIBNET
603
604 /* Define if you have the nsl library (-lnsl).  */
605 #undef HAVE_LIBNSL
606
607 /* Define if you have the nsl_s library (-lnsl_s).  */
608 #undef HAVE_LIBNSL_S
609
610 /* Define if you have the resolv library (-lresolv).  */
611 #undef HAVE_LIBRESOLV
612
613 /* Define if you have the socket library (-lsocket).  */
614 #undef HAVE_LIBSOCKET
615
616 /* Package */
617 #undef OPENLDAP_PACKAGE
618
619 /* Version */
620 #undef OPENLDAP_VERSION
621
622 /* Version */
623 #undef LDAP_VENDOR_VERSION
624
625 /* Major */
626 #undef LDAP_VENDOR_VERSION_MAJOR
627
628 /* Minor */
629 #undef LDAP_VENDOR_VERSION_MINOR
630
631 /* Patch */
632 #undef LDAP_VENDOR_VERSION_PATCH
633
634 /* define this if you have mkversion */
635 #undef HAVE_MKVERSION
636
637 /* defined to be the EXE extension */
638 #undef EXEEXT
639
640 /* define if you have AIX security lib */
641 #undef HAVE_AIX_SECURITY
642
643 /* define if you have libtool -ltdl */
644 #undef HAVE_LIBLTDL
645
646 /* define if system uses EBCDIC instead of ASCII */
647 #undef HAVE_EBCDIC
648
649 /* Define if TIOCGWINSZ requires sys/ioctl.h */
650 #undef GWINSZ_IN_SYS_IOCTL
651
652 /* define if you have POSIX termios */
653 #undef HAVE_POSIX_TERMIOS
654
655 /* define if you have winsock */
656 #undef HAVE_WINSOCK
657
658 /* define if you have winsock2 */
659 #undef HAVE_WINSOCK2
660
661 /* define if you have res_query() */
662 #undef HAVE_RES_QUERY
663
664 /* define if you have HEIMDAL Kerberos */
665 #undef HAVE_HEIMDAL_KERBEROS
666
667 /* define if you have Kerberos V */
668 #undef HAVE_KRB5
669
670 /* define if you have Kerberos V with IV support */
671 #undef HAVE_KRB425
672
673 /* define if you have Kerberos IV */
674 #undef HAVE_KRB4
675
676 /* define if you have Kerberos des_debug */
677 #undef HAVE_DES_DEBUG
678
679 /* define if you have Kerberos IV */
680 #undef HAVE_KRB4
681
682 /* define if you have Kth Kerberos */
683 #undef HAVE_KTH_KERBEROS
684
685 /* define if you have Kerberos */
686 #undef HAVE_KERBEROS
687
688 /* define if you have SSLeay or OpenSSL */
689 #undef HAVE_SSLEAY
690
691 /* define if you have RSAref */
692 #undef HAVE_RSAREF
693
694 /* define if you have TLS */
695 #undef HAVE_TLS
696
697 /* define to support LAN Manager passwords */
698 #undef SLAPD_LMHASH
699
700 /* set to the number of arguments ctime_r() expects */
701 #undef CTIME_R_NARGS
702
703 /* set to the number of arguments gethostbyname_r() expects */
704 #undef GETHOSTBYNAME_R_NARGS
705
706 /* set to the number of arguments gethostbyaddr_r() expects */
707 #undef GETHOSTBYADDR_R_NARGS
708
709 /* if you have NT Threads */
710 #undef HAVE_NT_THREADS
711
712 /* if you have NT Service Manager */
713 #undef HAVE_NT_SERVICE_MANAGER
714
715 /* if you have NT Event Log */
716 #undef HAVE_NT_EVENT_LOG
717
718 /* define if pthreads API compatible with final spec */
719 #undef HAVE_PTHREADS_FINAL
720
721 /* define if pthreads API compatible with draft4 spec */
722 #undef HAVE_PTHREADS_D4
723
724 /* if you have LinuxThreads */
725 #undef HAVE_LINUX_THREADS
726
727 /* define if you have POSIX Threads */
728 #undef HAVE_PTHREADS
729
730 /* Define if you have the sched_yield function. */
731 #undef HAVE_SCHED_YIELD
732
733 /* define if you have pthread_detach function */
734 #undef HAVE_PTHREAD_DETACH
735
736 /* define if you have Mach Cthreads */
737 #undef HAVE_MACH_CTHREADS
738
739 /* if you have GNU Pth */
740 #undef HAVE_GNU_PTH
741
742 /* if you have Solaris LWP (thr) package */
743 #undef HAVE_THR
744
745 /* if you have SunOS LWP package */
746 #undef HAVE_LWP
747
748 /* define if select implicitly yields */
749 #undef HAVE_YIELDING_SELECT
750
751 /* if you have LinuxThreads */
752 #undef HAVE_LINUX_THREADS
753
754 /* define if you have (or want) no threads */
755 #undef NO_THREADS
756
757 /* define if Berkeley DB has DB_THREAD support */
758 #undef HAVE_BERKELEY_DB_THREAD
759
760 /* define this if Berkeley DB is available */
761 #undef HAVE_BERKELEY_DB
762
763 /* define this to use DBHASH w/ LDBM backend */
764 #undef LDBM_USE_DBHASH
765
766 /* define this to use DBBTREE w/ LDBM backend */
767 #undef LDBM_USE_DBBTREE
768
769 /* define if MDBM is available */
770 #undef HAVE_MDBM
771
772 /* define if GNU DBM is available */
773 #undef HAVE_GDBM
774
775 /* define if NDBM is available */
776 #undef HAVE_NDBM
777
778 /* define if LDAP libs are dynamic */
779 #undef LDAP_LIBS_DYNAMIC
780
781 /* define if you have -lwrap */
782 #undef HAVE_TCPD
783
784 /* define if you have -ltermcap */
785 #undef HAVE_TERMCAP
786
787 /* define if you have -lncurses */
788 #undef HAVE_NCURSES
789
790 /* define if you have no termcap support */
791 #undef NO_TERMCAP
792
793 /* define if you have Cyrus SASL */
794 #undef HAVE_CYRUS_SASL
795
796 /* set to urandom device */
797 #undef URANDOM_DEVICE
798
799 /* define if you actually have FreeBSD fetch(3) */
800 #undef HAVE_FETCH
801
802 /* define if you have -lreadline */
803 #undef HAVE_READLINE
804
805 /* define if crypt(3) is available */
806 #undef HAVE_CRYPT
807
808 /* define if setproctitle(3) is available */
809 #undef HAVE_SETPROCTITLE
810
811 /* define if you have -lslp */
812 #undef HAVE_SLP
813
814 /* Define to `int' if <sys/types.h> does not define. */
815 #undef mode_t
816
817 /* Define to `long' if <sys/types.h> does not define. */
818 #undef off_t
819
820 /* Define to `int' if <sys/types.h> does not define. */
821 #undef pid_t
822
823 /* Define if system has ptrdiff_t type */
824 #undef HAVE_PTRDIFF_T
825
826 /* Define to `unsigned' if <sys/types.h> does not define. */
827 #undef size_t
828
829 /* Define to `signed int' if <sys/types.h> does not define. */
830 #undef ssize_t
831
832 /* Define to `char *' if <sys/types.h> does not define. */
833 #undef caddr_t
834
835 /* define to int if socklen_t is not available */
836 #undef socklen_t
837
838 /* define to atomic type if sig_atomic_t is not available */
839 #undef sig_atomic_t
840
841 /* define if struct passwd has pw_gecos */
842 #undef HAVE_PW_GECOS
843
844 /* define if struct passwd has pw_passwd */
845 #undef HAVE_PW_PASSWD
846
847 /* define if toupper() requires islower() */
848 #undef C_UPPER_LOWER
849
850 /* define as empty if volatile is not supported */
851 #undef volatile
852
853 /* define if cross compiling */
854 #undef CROSS_COMPILING
855
856 /* The number of bytes in type short */
857 #undef SIZEOF_SHORT
858
859 /* The number of bytes in type int */
860 #undef SIZEOF_INT
861
862 /* The number of bytes in type long */
863 #undef SIZEOF_LONG
864
865 /* define to you inet_aton(3) is available */
866 #undef HAVE_INET_ATON
867
868 /* if you have spawnlp() */
869 #undef HAVE_SPAWNLP
870
871 /* define to snprintf routine */
872 #undef snprintf
873
874 /* define to vsnprintf routine */
875 #undef vsnprintf
876
877 /* define if sys_errlist is not declared in stdio.h or errno.h */
878 #undef DECL_SYS_ERRLIST
879
880 /* define if you actually have sys_errlist in your libs */
881 #undef HAVE_SYS_ERRLIST
882
883 /* define this to add debugging code */
884 #undef LDAP_DEBUG
885
886 /* define this to add syslog code */
887 #undef LDAP_SYSLOG
888
889 /* define this to remove -lldap cache support */
890 #undef LDAP_NOCACHE
891
892 /* define this for LDAP process title support */
893 #undef LDAP_PROCTITLE
894
895 /* define to support PF_LOCAL */
896 #undef LDAP_PF_LOCAL
897
898 /* define to support PF_INET6 */
899 #undef LDAP_PF_INET6
900
901 /* define to support cleartext passwords */
902 #undef SLAPD_CLEARTEXT
903
904 /* define to support crypt(3) passwords */
905 #undef SLAPD_CRYPT
906
907 /* define to support Kerberos passwords */
908 #undef SLAPD_KPASSWD
909
910 /* define to support SASL passwords */
911 #undef SLAPD_SPASSWD
912
913 /* define to support phonetic */
914 #undef SLAPD_PHONETIC
915
916 /* define to support reverse lookups */
917 #undef SLAPD_RLOOKUPS
918
919 /* define to support per-object ACIs */
920 #undef SLAPD_ACI_ENABLED
921
922 /* define to support modules */
923 #undef SLAPD_MODULES
924
925 /* define to support BDB backend */
926 #undef SLAPD_BDB
927
928 /* define to support dynamic BDB backend */
929 #undef SLAPD_BDB_DYNAMIC
930
931 /* define to support DNS SRV backend */
932 #undef SLAPD_DNSSRV
933
934 /* define to support dynamic DNS SRV backend */
935 #undef SLAPD_DNSSRV_DYNAMIC
936
937 /* define to support LDAP backend */
938 #undef SLAPD_LDAP
939
940 /* define to support dynamic LDAP backend */
941 #undef SLAPD_LDAP_DYNAMIC
942
943 /* define to support LDBM backend */
944 #undef SLAPD_LDBM
945
946 /* define to support dynamic LDBM backend */
947 #undef SLAPD_LDBM_DYNAMIC
948
949 /* define to support LDAP Metadirectory backend */
950 #undef SLAPD_META
951
952 /* define to support dynamic LDAP Metadirectory backend */
953 #undef SLAPD_META_DYNAMIC
954
955 /* define to support cn=Monitor backend */
956 #undef SLAPD_MONITOR
957
958 /* define to support dynamic cn=Monitor backend */
959 #undef SLAPD_MONITOR_DYNAMIC
960
961 /* define to support PASSWD backend */
962 #undef SLAPD_PASSWD
963
964 /* define to support dynamic PASSWD backend */
965 #undef SLAPD_PASSWD_DYNAMIC
966
967 /* define to support PERL backend */
968 #undef SLAPD_PERL
969
970 /* define to support dynamic PERL backend */
971 #undef SLAPD_PERL_DYNAMIC
972
973 /* define to support SHELL backend */
974 #undef SLAPD_SHELL
975
976 /* define to support dynamic SHELL backend */
977 #undef SLAPD_SHELL_DYNAMIC
978
979 /* define to support TCL backend */
980 #undef SLAPD_TCL
981
982 /* define to support dynamic TCL backend */
983 #undef SLAPD_TCL_DYNAMIC
984
985 /* define to support SQL backend */
986 #undef SLAPD_SQL
987
988 /* define to support dynamic SQL backend */
989 #undef SLAPD_SQL_DYNAMIC
990
991 /* define to enable rewriting in back-ldap and back-meta */
992 #undef ENABLE_REWRITE
993
994
995 /* begin of postamble */
996
997 #ifdef _WIN32
998         /* don't suck in all of the win32 api */
999 #       define WIN32_LEAN_AND_MEAN 1
1000 #endif
1001
1002 #ifndef LDAP_NEEDS_PROTOTYPES
1003 /* force LDAP_P to always include prototypes */
1004 #define LDAP_NEEDS_PROTOTYPES 1
1005 #endif
1006
1007 #ifdef HAVE_STDDEF_H
1008 #       include <stddef.h>
1009 #endif
1010
1011 #if defined(LDAP_DEVEL) && !defined(LDAP_TEST)
1012 #define LDAP_TEST
1013 #endif
1014 #if defined(LDAP_TEST) && !defined(LDAP_DEBUG)
1015 #define LDAP_DEBUG
1016 #endif
1017
1018 #include "ldap_cdefs.h"
1019 #include "ldap_features.h"
1020
1021 #include "ac/assert.h"
1022
1023 #endif /* _LDAP_PORTABLE_H */