]> git.sur5r.net Git - openldap/blobdiff - include/portable.h.in
Update pthread checks:
[openldap] / include / portable.h.in
index 8123ab6dc6f6bccd8930d57e3438f3cf6e27a520..4501493731b747910b0f1a7235cb6a26080c616a 100644 (file)
@@ -106,14 +106,22 @@ is provided ``as is'' without express or implied warranty.
 /* Define to `int' if <sys/types.h> doesn't define.  */
 #undef uid_t
 
+/* Define if your processor stores words with the most significant
+   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
+#undef WORDS_BIGENDIAN
+
 /* define this if needed to get reentrant functions */
+#undef REENTRANT
 #undef _REENTRANT
 
 /* define this if needed to get threadsafe functions */
+#undef THREADSAFE
+#undef _THREADSAFE
+#undef THREAD_SAFE
 #undef _THREAD_SAFE
 
-/* define this if needed to get threadsafe functions */
-#undef _THREADSAFE
+/* define this if cross compiling */
+#undef CROSS_COMPILING
 
 /* define this if toupper() requires tolower() check */
 #undef C_UPPER_LOWER
@@ -121,6 +129,9 @@ is provided ``as is'' without express or implied warranty.
 /* define this if sys_errlist is not defined in stdio.h or errno.h */
 #undef DECL_SYS_ERRLIST
 
+/* define this if TIOCGWINSZ is defined in sys/ioctl.h */
+#undef GWINSZ_IN_SYS_IOCTL
+
 /* define if you have berkeley db */
 #undef HAVE_BERKELEY_DB
 
@@ -157,12 +168,12 @@ is provided ``as is'' without express or implied warranty.
 /* define if you have Mach CThreads */
 #undef HAVE_MACH_CTHREADS
 
+/* define if you have POSIX termios */
+#undef HAVE_POSIX_TERMIOS
+
 /* define if you have PP */
 #undef HAVE_PP
 
-/* define if you have a preemptive POSIX Threads implementation */
-#undef HAVE_PREEMPTIVE_PTHREADS
-
 /* define if you have POSIX Threads */
 #undef HAVE_PTHREADS
 
@@ -172,6 +183,9 @@ is provided ``as is'' without express or implied warranty.
 /* define if your POSIX Threads implementation is circa Draft 4 */
 #undef HAVE_PTHREADS_D4
 
+/* define if you have ptrdiff_t */
+#undef HAVE_PTRDIFF_T
+
 /* define if you have sched_yield() */
 #ifdef __notdef__
 /* see second sched_yield define */
@@ -193,6 +207,9 @@ is provided ``as is'' without express or implied warranty.
 /* define if you have XTPP */
 #undef HAVE_XTPP
 
+/* define this if select() implicitly yields in thread environments */
+#undef HAVE_YIELDING_SELECT
+
 /* define this for connectionless LDAP support */
 #undef LDAP_CONNECTIONLESS
 
@@ -220,21 +237,18 @@ is provided ``as is'' without express or implied warranty.
 /* define this if you want no thread support */
 #undef NO_THREADS
 
-/* define this if the thread package is preemptive */
-#undef PREEMPTIVE_THREADS
-
 /* define this for ACL Group support */
 #undef SLAPD_ACLGROUPS
 
+/* define this for ClearText password support */
+#undef SLAPD_CLEARTEXT
+
 /* define this for crypt(3) password support */
 #undef SLAPD_CRYPT
 
 /* define this to use SLAPD LDBM backend */
 #undef SLAPD_LDBM
 
-/* define this for MD5 password support */
-#undef SLAPD_MD5
-
 /* define this to use SLAPD passwd backend */
 #undef SLAPD_PASSWD
 
@@ -244,9 +258,6 @@ is provided ``as is'' without express or implied warranty.
 /* define this for Reverse Lookup support */
 #undef SLAPD_RLOOKUPS
 
-/* define this for SHA1 password support */
-#undef SLAPD_SHA1
-
 /* define this to use SLAPD shell backend */
 #undef SLAPD_SHELL
 
@@ -256,15 +267,39 @@ is provided ``as is'' without express or implied warranty.
  LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
 */
 
+/* The number of bytes in a int.  */
+#undef SIZEOF_INT
+
+/* The number of bytes in a long.  */
+#undef SIZEOF_LONG
+
+/* The number of bytes in a short.  */
+#undef SIZEOF_SHORT
+
 /* Define if you have the bcopy function.  */
 #undef HAVE_BCOPY
 
+/* Define if you have the feof_unlocked function.  */
+#undef HAVE_FEOF_UNLOCKED
+
 /* Define if you have the flock function.  */
 #undef HAVE_FLOCK
 
+/* Define if you have the flockfile function.  */
+#undef HAVE_FLOCKFILE
+
+/* Define if you have the ftrylockfile function.  */
+#undef HAVE_FTRYLOCKFILE
+
 /* Define if you have the getdtablesize function.  */
 #undef HAVE_GETDTABLESIZE
 
+/* Define if you have the gethostbyaddr_r function.  */
+#undef HAVE_GETHOSTBYADDR_R
+
+/* Define if you have the gethostbyname_r function.  */
+#undef HAVE_GETHOSTBYNAME_R
+
 /* Define if you have the gethostname function.  */
 #undef HAVE_GETHOSTNAME
 
@@ -277,6 +312,9 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the gettimeofday function.  */
 #undef HAVE_GETTIMEOFDAY
 
+/* Define if you have the gmtime_r function.  */
+#undef HAVE_GMTIME_R
+
 /* Define if you have the lockf function.  */
 #undef HAVE_LOCKF
 
@@ -289,9 +327,6 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the mkstemp function.  */
 #undef HAVE_MKSTEMP
 
-/* Define if you have the mktime function.  */
-#undef HAVE_MKTIME
-
 /* Define if you have the pthread_attr_create function.  */
 #undef HAVE_PTHREAD_ATTR_CREATE
 
@@ -319,6 +354,9 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the pthread_yield function.  */
 #undef HAVE_PTHREAD_YIELD
 
+/* Define if you have the putc_unlocked function.  */
+#undef HAVE_PUTC_UNLOCKED
+
 /* Define if you have the res_search function.  */
 #undef HAVE_RES_SEARCH
 
@@ -352,6 +390,9 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the strerror function.  */
 #undef HAVE_STRERROR
 
+/* Define if you have the strpbrk function.  */
+#undef HAVE_STRPBRK
+
 /* Define if you have the strrchr function.  */
 #undef HAVE_STRRCHR
 
@@ -361,8 +402,11 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the strstr function.  */
 #undef HAVE_STRSTR
 
-/* Define if you have the strtod function.  */
-#undef HAVE_STRTOD
+/* Define if you have the strtok function.  */
+#undef HAVE_STRTOK
+
+/* Define if you have the strtok_r function.  */
+#undef HAVE_STRTOK_R
 
 /* Define if you have the strtol function.  */
 #undef HAVE_STRTOL
@@ -379,12 +423,21 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the thr_setconcurrency function.  */
 #undef HAVE_THR_SETCONCURRENCY
 
+/* Define if you have the unlocked_feof function.  */
+#undef HAVE_UNLOCKED_FEOF
+
+/* Define if you have the unlocked_putc function.  */
+#undef HAVE_UNLOCKED_PUTC
+
 /* Define if you have the vsnprintf function.  */
 #undef HAVE_VSNPRINTF
 
 /* Define if you have the waitpid function.  */
 #undef HAVE_WAITPID
 
+/* Define if you have the <crypt.h> header file.  */
+#undef HAVE_CRYPT_H
+
 /* Define if you have the <db.h> header file.  */
 #undef HAVE_DB_H
 
@@ -436,6 +489,9 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the <malloc.h> header file.  */
 #undef HAVE_MALLOC_H
 
+/* Define if you have the <memory.h> header file.  */
+#undef HAVE_MEMORY_H
+
 /* Define if you have the <ncurses.h> header file.  */
 #undef HAVE_NCURSES_H
 
@@ -445,6 +501,9 @@ is provided ``as is'' without express or implied warranty.
 /* Define if you have the <ndir.h> header file.  */
 #undef HAVE_NDIR_H
 
+/* Define if you have the <psap.h> header file.  */
+#undef HAVE_PSAP_H
+
 /* Define if you have the <pthread.h> header file.  */
 #undef HAVE_PTHREAD_H