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