Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I am trying to set up openldap-2.4.23 on the Ubuntu Server 10.04 machine. I followed the instruction as in the link OpenLDAP Software 2.4 Administrator's Guide: A Quick-Start Guide. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    9

    Lightbulb could not run ./configure successful during openldap


    Hi,

    I am trying to set up openldap-2.4.23 on the Ubuntu Server 10.04 machine. I followed the instruction as in the link OpenLDAP Software 2.4 Administrator's Guide: A Quick-Start Guide. But I got stuck at running ./configure.

    checking db.h usability... no
    checking db.h presence... no
    checking for db.h... no
    configure: error: BDB/HDB: BerkeleyDB not available

    I have tried to use the following to fix it but to no avail
    CPPFLAGS="-I/usr/local/BerkeleyDB/include"
    export CPPFLAGS
    LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib"
    export LDFLAGS
    LD_LIBRARY_PATH="/usr/local/BerkeleyDB/lib"
    export LD_LIBRARY_PATH

    ./configure

    I ended up looking into the config.log (shown below) but unable to know what's happening as I am still new to Ubuntu OS.
    Code:
    ====================================================================
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
     
    It was created by configure, which was
    generated by GNU Autoconf 2.61.  Invocation command line was
    
      $ ./configure 
    
    ## --------- ##
    ## Platform. ##
    ## --------- ##
    
    hostname = Ubuntu-MailServer
    uname -m = i686
    uname -r = 2.6.32-24-generic-pae
    uname -s = Linux
    uname -v = #39-Ubuntu SMP Wed Jul 28 07:39:26 UTC 2010
    
    /usr/bin/uname -p = unknown
    /bin/uname -X     = unknown
    
    /bin/arch              = unknown
    /usr/bin/arch -k       = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo      = unknown
    /bin/machine           = unknown
    /usr/bin/oslevel       = unknown
    /bin/universe          = unknown
    
    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /bin
    PATH: /usr/games
    
    
    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##
    
    configure:2150: checking build system type
    configure:2168: result: i686-pc-linux-gnu
    configure:2190: checking host system type
    configure:2205: result: i686-pc-linux-gnu
    configure:2227: checking target system type
    configure:2242: result: i686-pc-linux-gnu
    configure:2285: checking for a BSD-compatible install
    configure:2341: result: /usr/bin/install -c
    configure:2352: checking whether build environment is sane
    configure:2395: result: yes
    configure:2460: checking for gawk
    configure:2476: found /usr/bin/gawk
    configure:2487: result: gawk
    configure:2498: checking whether make sets $(MAKE)
    configure:2519: result: yes
    configure:2744: checking configure arguments
    configure:4446: result: done
    configure:4622: checking for cc
    configure:4638: found /usr/bin/cc
    configure:4649: result: cc
    configure:4674: checking for ar
    configure:4690: found /usr/bin/ar
    configure:4701: result: ar
    configure:4761: checking for style of include used by make
    configure:4789: result: GNU
    configure:5127: checking for C compiler version
    configure:5134: cc --version >&5
    cc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
    Copyright (C) 2009 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    configure:5137: $? = 0
    configure:5144: cc -v >&5
    Using built-in specs.
    Target: i486-linux-gnu
    Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
    Thread model: posix
    gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
    configure:5147: $? = 0
    configure:5154: cc -V >&5
    cc: '-V' option must have argument
    configure:5157: $? = 1
    configure:5180: checking for C compiler default output file name
    configure:5207: cc   -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:5210: $? = 0
    configure:5248: result: a.out
    configure:5265: checking whether the C compiler works
    configure:5275: ./a.out
    configure:5278: $? = 0
    configure:5295: result: yes
    configure:5302: checking whether we are cross compiling
    configure:5304: result: no
    configure:5307: checking for suffix of executables
    configure:5314: cc -o conftest   -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:5317: $? = 0
    configure:5341: result: 
    configure:5347: checking for suffix of object files
    configure:5373: cc -c   conftest.c >&5
    configure:5376: $? = 0
    configure:5399: result: o
    configure:5403: checking whether we are using the GNU C compiler
    configure:5432: cc -c   conftest.c >&5
    configure:5438: $? = 0
    configure:5455: result: yes
    configure:5460: checking whether cc accepts -g
    configure:5490: cc -c -g  conftest.c >&5
    configure:5496: $? = 0
    configure:5595: result: yes
    configure:5612: checking for cc option to accept ISO C89
    configure:5686: cc  -c -g -O2  conftest.c >&5
    configure:5692: $? = 0
    configure:5715: result: none needed
    configure:5735: checking dependency style of cc
    configure:5825: result: none
    configure:5842: checking for a sed that does not truncate output
    configure:5896: result: /bin/sed
    configure:5899: checking for grep that handles long lines and -e
    configure:5973: result: /bin/grep
    configure:5978: checking for egrep
    configure:6056: result: /bin/grep -E
    configure:6072: checking for ld used by cc
    configure:6139: result: /usr/bin/ld
    configure:6148: checking if the linker (/usr/bin/ld) is GNU ld
    configure:6163: result: yes
    configure:6168: checking for /usr/bin/ld option to reload object files
    configure:6175: result: -r
    configure:6193: checking for BSD-compatible nm
    configure:6235: result: /usr/bin/nm -B
    configure:6239: checking whether ln -s works
    configure:6243: result: yes
    configure:6250: checking how to recognise dependent libraries
    configure:6422: result: pass_all
    configure:6923: checking how to run the C preprocessor
    configure:6963: cc -E  conftest.c
    configure:6969: $? = 0
    configure:7000: cc -E  conftest.c
    conftest.c:15:28: error: ac_nonexistent.h: No such file or directory
    configure:7006: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | /* end confdefs.h.  */
    | #include <ac_nonexistent.h>
    configure:7039: result: cc -E
    configure:7068: cc -E  conftest.c
    configure:7074: $? = 0
    configure:7105: cc -E  conftest.c
    conftest.c:15:28: error: ac_nonexistent.h: No such file or directory
    configure:7111: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | /* end confdefs.h.  */
    | #include <ac_nonexistent.h>
    configure:7149: checking for ANSI C header files
    configure:7179: cc -c -g -O2  conftest.c >&5
    configure:7185: $? = 0
    configure:7284: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:7287: $? = 0
    configure:7293: ./conftest
    configure:7296: $? = 0
    configure:7313: result: yes
    configure:7337: checking for sys/types.h
    configure:7358: cc -c -g -O2  conftest.c >&5
    configure:7364: $? = 0
    configure:7380: result: yes
    configure:7337: checking for sys/stat.h
    configure:7358: cc -c -g -O2  conftest.c >&5
    configure:7364: $? = 0
    configure:7380: result: yes
    configure:7337: checking for stdlib.h
    configure:7358: cc -c -g -O2  conftest.c >&5
    configure:7364: $? = 0
    configure:7380: result: yes
    configure:7337: checking for string.h
    configure:7358: cc -c -g -O2  conftest.c >&5
    configure:7364: $? = 0
    configure:7380: result: yes
    configure:7337: checking for memory.h
    configure:7358: cc -c -g -O2  conftest.c >&5
    configure:7364: $? = 0
    configure:7380: result: yes
    configure:7337: checking for strings.h
    configure:7358: cc -c -g -O2  conftest.c >&5
    configure:7364: $? = 0
    configure:7380: result: yes
    configure:7337: checking for inttypes.h
    configure:7358: cc -c -g -O2  conftest.c >&5
    configure:7364: $? = 0
    configure:7380: result: yes
    configure:7337: checking for stdint.h
    configure:7358: cc -c -g -O2  conftest.c >&5
    configure:7364: $? = 0
    configure:7380: result: yes
    configure:7337: checking for unistd.h
    configure:7358: cc -c -g -O2  conftest.c >&5
    configure:7364: $? = 0
    configure:7380: result: yes
    configure:7407: checking dlfcn.h usability
    configure:7424: cc -c -g -O2  conftest.c >&5
    configure:7430: $? = 0
    configure:7444: result: yes
    configure:7448: checking dlfcn.h presence
    configure:7463: cc -E  conftest.c
    configure:7469: $? = 0
    configure:7483: result: yes
    configure:7516: checking for dlfcn.h
    configure:7524: result: yes
    configure:7541: checking the maximum length of command line arguments
    configure:7633: result: 32768
    configure:7644: checking command to parse /usr/bin/nm -B output from cc object
    configure:7740: cc -c -g -O2  conftest.c >&5
    configure:7743: $? = 0
    configure:7747: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[     ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][     ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
    configure:7750: $? = 0
    configure:7802: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c conftstm.o >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:7805: $? = 0
    configure:7843: result: ok
    configure:7847: checking for objdir
    configure:7862: result: .libs
    configure:8050: checking for ranlib
    configure:8066: found /usr/bin/ranlib
    configure:8077: result: ranlib
    configure:8146: checking for strip
    configure:8162: found /usr/bin/strip
    configure:8173: result: strip
    configure:8474: checking if cc static flag  works
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:8502: result: yes
    configure:8520: checking if cc supports -fno-rtti -fno-exceptions
    configure:8538: cc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
    cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
    configure:8542: $? = 0
    configure:8555: result: no
    configure:8570: checking for cc option to produce PIC
    configure:8774: result: -fPIC
    configure:8782: checking if cc PIC flag -fPIC works
    configure:8800: cc -c -g -O2  -fPIC -DPIC conftest.c >&5
    configure:8804: $? = 0
    configure:8817: result: yes
    configure:8841: checking if cc supports -c -o file.o
    configure:8862: cc -c -g -O2  -o out/conftest2.o conftest.c >&5
    configure:8866: $? = 0
    configure:8888: result: yes
    configure:8914: checking whether the cc linker (/usr/bin/ld) supports shared libraries
    configure:9806: result: yes
    configure:9832: checking whether -lc should be explicitly linked in
    configure:9837: cc -c -g -O2  conftest.c >&5
    configure:9840: $? = 0
    configure:9854: cc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
    configure:9857: $? = 0
    configure:9869: result: no
    configure:9877: checking dynamic linker characteristics
    configure:10431: result: GNU/Linux ld.so
    configure:10435: checking how to hardcode library paths into programs
    configure:10460: result: immediate
    configure:10474: checking whether stripping libraries is possible
    configure:10479: result: yes
    configure:10602: checking for shl_load
    configure:10658: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    /tmp/ccGpH8G1.o: In function `main':
    /home/pbjuser/Downloads/openldap-2.4.23/conftest.c:60: undefined reference to `shl_load'
    collect2: ld returned 1 exit status
    configure:10664: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h.  */
    | /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
    |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    | #define shl_load innocuous_shl_load
    | 
    | /* System header to define __stub macros and hopefully few prototypes,
    |     which can conflict with char shl_load (); below.
    |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    |     <limits.h> exists even on freestanding compilers.  */
    | 
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | 
    | #undef shl_load
    | 
    | /* Override any GCC internal prototype to avoid an error.
    |    Use char because int might match the return type of a GCC
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char shl_load ();
    | /* The GNU C library defines this for functions which it implements
    |     to always fail with ENOSYS.  Some functions are actually named
    |     something starting with __ and the normal name is an alias.  */
    | #if defined __stub_shl_load || defined __stub___shl_load
    | choke me
    | #endif
    | 
    | int
    | main ()
    | {
    | return shl_load ();
    |   ;
    |   return 0;
    | }
    configure:10681: result: no
    configure:10686: checking for shl_load in -ldld
    configure:10721: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -ldld   >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    /usr/bin/ld: cannot find -ldld
    collect2: ld returned 1 exit status
    configure:10727: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h.  */
    | 
    | /* Override any GCC internal prototype to avoid an error.
    |    Use char because int might match the return type of a GCC
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char shl_load ();
    | int
    | main ()
    | {
    | return shl_load ();
    |   ;
    |   return 0;
    | }
    configure:10745: result: no
    configure:10750: checking for dlopen
    configure:10806: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    /tmp/ccaLVEEa.o: In function `main':
    /home/pbjuser/Downloads/openldap-2.4.23/conftest.c:60: undefined reference to `dlopen'
    collect2: ld returned 1 exit status
    configure:10812: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h.  */
    | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
    |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    | #define dlopen innocuous_dlopen
    | 
    | /* System header to define __stub macros and hopefully few prototypes,
    |     which can conflict with char dlopen (); below.
    |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    |     <limits.h> exists even on freestanding compilers.  */
    | 
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | 
    | #undef dlopen
    | 
    | /* Override any GCC internal prototype to avoid an error.
    |    Use char because int might match the return type of a GCC
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char dlopen ();
    | /* The GNU C library defines this for functions which it implements
    |     to always fail with ENOSYS.  Some functions are actually named
    |     something starting with __ and the normal name is an alias.  */
    | #if defined __stub_dlopen || defined __stub___dlopen
    | choke me
    | #endif
    | 
    | int
    | main ()
    | {
    | return dlopen ();
    |   ;
    |   return 0;
    | }
    configure:10829: result: no
    configure:10834: checking for dlopen in -ldl
    configure:10869: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -ldl   >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:10875: $? = 0
    configure:10893: result: yes
    configure:11062: checking whether a program can dlopen itself
    configure:11134: cc -o conftest -g -O2  -DHAVE_DLFCN_H -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib -Wl,--export-dynamic conftest.c -ldl  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure: In function 'main':
    configure:11130: warning: incompatible implicit declaration of built-in function 'exit'
    configure:11137: $? = 0
    configure:11155: result: yes
    configure:11160: checking whether a statically linked program can dlopen itself
    configure:11232: cc -o conftest -g -O2  -DHAVE_DLFCN_H -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib -Wl,--export-dynamic  conftest.c -ldl  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure: In function 'main':
    configure:11228: warning: incompatible implicit declaration of built-in function 'exit'
    configure:11235: $? = 0
    configure:11253: result: yes
    configure:11276: checking if libtool supports shared libraries
    configure:11278: result: yes
    configure:11281: checking whether to build shared libraries
    configure:11302: result: yes
    configure:11305: checking whether to build static libraries
    configure:11309: result: yes
    configure:11401: creating libtool
    configure:12462: checking how to run the C preprocessor
    configure:12578: result: cc -E
    configure:12607: cc -E  conftest.c
    configure:12613: $? = 0
    configure:12644: cc -E  conftest.c
    conftest.c:26:28: error: ac_nonexistent.h: No such file or directory
    configure:12650: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h.  */
    | #include <ac_nonexistent.h>
    configure:12687: checking whether we are using MS Visual C++
    configure:12709: cc -E  conftest.c
    conftest.c:28:36: error: __FOO__/generate_error.h: No such file or directory
    configure:12715: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h.  */
    | 
    | #ifndef _MSC_VER
    | #include <__FOO__/generate_error.h>
    | #endif
    | 
    configure:12730: result: no
    configure:12747: checking for be_app in -lbe
    configure:12782: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lbe -lroot -lnet  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    /usr/bin/ld: cannot find -lbe
    collect2: ld returned 1 exit status
    configure:12788: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | /* end confdefs.h.  */
    | 
    | /* Override any GCC internal prototype to avoid an error.
    |    Use char because int might match the return type of a GCC
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char be_app ();
    | int
    | main ()
    | {
    | return be_app ();
    |   ;
    |   return 0;
    | }
    configure:12806: result: no
    configure:13128: checking for C compiler version
    configure:13135: cc --version >&5
    cc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
    Copyright (C) 2009 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    configure:13138: $? = 0
    configure:13145: cc -v >&5
    Using built-in specs.
    Target: i486-linux-gnu
    Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
    Thread model: posix
    gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
    configure:13148: $? = 0
    configure:13155: cc -V >&5
    cc: '-V' option must have argument
    configure:13158: $? = 1
    configure:13161: checking whether we are using the GNU C compiler
    configure:13213: result: yes
    configure:13218: checking whether cc accepts -g
    configure:13353: result: yes
    configure:13370: checking for cc option to accept ISO C89
    configure:13473: result: none needed
    configure:13493: checking dependency style of cc
    configure:13583: result: none
    configure:13612: checking for cc depend flag
    configure:13624: cc -M conftest.c
    configure:13627: $? = 0
    configure:13641: result: -M
    configure:13662: checking for afopen in -ls
    configure:13697: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -ls   >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    /usr/bin/ld: cannot find -ls
    collect2: ld returned 1 exit status
    configure:13703: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | /* end confdefs.h.  */
    | 
    | /* Override any GCC internal prototype to avoid an error.
    |    Use char because int might match the return type of a GCC
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char afopen ();
    | int
    | main ()
    | {
    | return afopen ();
    |   ;
    |   return 0;
    | }
    configure:13721: result: no
    configure:14002: checking for EBCDIC
    configure:14025: cc -E  conftest.c
    conftest.c:29:38: error: __ASCII__/generate_error.h: No such file or directory
    configure:14031: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | /* end confdefs.h.  */
    | 
    | #if !('M' == 0xd4)
    | #include <__ASCII__/generate_error.h>
    | #endif
    | 
    configure:14046: result: no
    configure:14056: checking for ANSI C header files
    configure:14077: cc -E  conftest.c
    configure:14083: $? = 0
    configure:14173: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    conftest.c: In function 'main':
    conftest.c:37: warning: incompatible implicit declaration of built-in function 'exit'
    configure:14176: $? = 0
    configure:14182: ./conftest
    configure:14185: $? = 0
    configure:14202: result: yes
    configure:14226: checking for dirent.h that defines DIR
    configure:14255: cc -c -g -O2  conftest.c >&5
    configure:14261: $? = 0
    configure:14277: result: yes
    configure:14290: checking for library containing opendir
    configure:14331: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:14337: $? = 0
    configure:14365: result: none required
    configure:14459: checking for sys/wait.h that is POSIX.1 compatible
    configure:14495: cc -c -g -O2  conftest.c >&5
    configure:14501: $? = 0
    configure:14516: result: yes
    configure:14526: checking whether termios.h defines TIOCGWINSZ
    configure:14553: result: no
    configure:14557: checking whether sys/ioctl.h defines TIOCGWINSZ
    configure:14584: result: yes
    configure:14706: checking arpa/inet.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking arpa/inet.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for arpa/inet.h
    configure:14823: result: yes
    configure:14706: checking arpa/nameser.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking arpa/nameser.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for arpa/nameser.h
    configure:14823: result: yes
    configure:14706: checking assert.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking assert.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for assert.h
    configure:14823: result: yes
    configure:14706: checking bits/types.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking bits/types.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for bits/types.h
    configure:14823: result: yes
    configure:14706: checking conio.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    conftest.c:68:19: error: conio.h: No such file or directory
    configure:14729: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <conio.h>
    configure:14743: result: no
    configure:14747: checking conio.h presence
    configure:14762: cc -E  conftest.c
    conftest.c:35:19: error: conio.h: No such file or directory
    configure:14768: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | /* end confdefs.h.  */
    | #include <conio.h>
    configure:14782: result: no
    configure:14815: checking for conio.h
    configure:14823: result: no
    configure:14706: checking crypt.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking crypt.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for crypt.h
    configure:14823: result: yes
    configure:14706: checking direct.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    conftest.c:69:20: error: direct.h: No such file or directory
    configure:14729: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <direct.h>
    configure:14743: result: no
    configure:14747: checking direct.h presence
    configure:14762: cc -E  conftest.c
    conftest.c:36:20: error: direct.h: No such file or directory
    configure:14768: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | /* end confdefs.h.  */
    | #include <direct.h>
    configure:14782: result: no
    configure:14815: checking for direct.h
    configure:14823: result: no
    configure:14706: checking errno.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking errno.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for errno.h
    configure:14823: result: yes
    configure:14706: checking fcntl.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking fcntl.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for fcntl.h
    configure:14823: result: yes
    configure:14706: checking filio.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    conftest.c:71:19: error: filio.h: No such file or directory
    configure:14729: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <filio.h>
    configure:14743: result: no
    configure:14747: checking filio.h presence
    configure:14762: cc -E  conftest.c
    conftest.c:38:19: error: filio.h: No such file or directory
    configure:14768: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | /* end confdefs.h.  */
    | #include <filio.h>
    configure:14782: result: no
    configure:14815: checking for filio.h
    configure:14823: result: no
    configure:14706: checking getopt.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking getopt.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for getopt.h
    configure:14823: result: yes
    configure:14706: checking grp.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking grp.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for grp.h
    configure:14823: result: yes
    configure:14706: checking io.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    conftest.c:73:16: error: io.h: No such file or directory
    configure:14729: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <io.h>
    configure:14743: result: no
    configure:14747: checking io.h presence
    configure:14762: cc -E  conftest.c
    conftest.c:40:16: error: io.h: No such file or directory
    configure:14768: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | /* end confdefs.h.  */
    | #include <io.h>
    configure:14782: result: no
    configure:14815: checking for io.h
    configure:14823: result: no
    configure:14706: checking libutil.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    conftest.c:73:21: error: libutil.h: No such file or directory
    configure:14729: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <libutil.h>
    configure:14743: result: no
    configure:14747: checking libutil.h presence
    configure:14762: cc -E  conftest.c
    conftest.c:40:21: error: libutil.h: No such file or directory
    configure:14768: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | /* end confdefs.h.  */
    | #include <libutil.h>
    configure:14782: result: no
    configure:14815: checking for libutil.h
    configure:14823: result: no
    configure:14706: checking limits.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking limits.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for limits.h
    configure:14823: result: yes
    configure:14706: checking locale.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking locale.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for locale.h
    configure:14823: result: yes
    configure:14706: checking malloc.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking malloc.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for malloc.h
    configure:14823: result: yes
    configure:14696: checking for memory.h
    configure:14702: result: yes
    configure:14706: checking psap.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    conftest.c:77:18: error: psap.h: No such file or directory
    configure:14729: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <psap.h>
    configure:14743: result: no
    configure:14747: checking psap.h presence
    configure:14762: cc -E  conftest.c
    conftest.c:44:18: error: psap.h: No such file or directory
    configure:14768: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | /* end confdefs.h.  */
    | #include <psap.h>
    configure:14782: result: no
    configure:14815: checking for psap.h
    configure:14823: result: no
    configure:14706: checking pwd.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking pwd.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for pwd.h
    configure:14823: result: yes
    configure:14706: checking process.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    conftest.c:78:21: error: process.h: No such file or directory
    configure:14729: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <process.h>
    configure:14743: result: no
    configure:14747: checking process.h presence
    configure:14762: cc -E  conftest.c
    conftest.c:45:21: error: process.h: No such file or directory
    configure:14768: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | /* end confdefs.h.  */
    | #include <process.h>
    configure:14782: result: no
    configure:14815: checking for process.h
    configure:14823: result: no
    configure:14706: checking sgtty.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking sgtty.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for sgtty.h
    configure:14823: result: yes
    configure:14706: checking shadow.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking shadow.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for shadow.h
    configure:14823: result: yes
    configure:14706: checking stddef.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking stddef.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for stddef.h
    configure:14823: result: yes
    configure:14696: checking for string.h
    configure:14702: result: yes
    configure:14696: checking for strings.h
    configure:14702: result: yes
    configure:14706: checking sysexits.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking sysexits.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for sysexits.h
    configure:14823: result: yes
    configure:14706: checking sys/file.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking sys/file.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for sys/file.h
    configure:14823: result: yes
    configure:14706: checking sys/filio.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    conftest.c:85:23: error: sys/filio.h: No such file or directory
    configure:14729: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <sys/filio.h>
    configure:14743: result: no
    configure:14747: checking sys/filio.h presence
    configure:14762: cc -E  conftest.c
    conftest.c:52:23: error: sys/filio.h: No such file or directory
    configure:14768: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | /* end confdefs.h.  */
    | #include <sys/filio.h>
    configure:14782: result: no
    configure:14815: checking for sys/filio.h
    configure:14823: result: no
    configure:14706: checking sys/fstyp.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    conftest.c:85:23: error: sys/fstyp.h: No such file or directory
    configure:14729: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <sys/fstyp.h>
    configure:14743: result: no
    configure:14747: checking sys/fstyp.h presence
    configure:14762: cc -E  conftest.c
    conftest.c:52:23: error: sys/fstyp.h: No such file or directory
    configure:14768: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | /* end confdefs.h.  */
    | #include <sys/fstyp.h>
    configure:14782: result: no
    configure:14815: checking for sys/fstyp.h
    configure:14823: result: no
    configure:14706: checking sys/errno.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking sys/errno.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for sys/errno.h
    configure:14823: result: yes
    configure:14706: checking sys/ioctl.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking sys/ioctl.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for sys/ioctl.h
    configure:14823: result: yes
    configure:14706: checking sys/param.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking sys/param.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for sys/param.h
    configure:14823: result: yes
    configure:14706: checking sys/privgrp.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    conftest.c:88:25: error: sys/privgrp.h: No such file or directory
    configure:14729: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <sys/privgrp.h>
    configure:14743: result: no
    configure:14747: checking sys/privgrp.h presence
    configure:14762: cc -E  conftest.c
    conftest.c:55:25: error: sys/privgrp.h: No such file or directory
    configure:14768: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | /* end confdefs.h.  */
    | #include <sys/privgrp.h>
    configure:14782: result: no
    configure:14815: checking for sys/privgrp.h
    configure:14823: result: no
    configure:14706: checking sys/resource.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking sys/resource.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for sys/resource.h
    configure:14823: result: yes
    configure:14706: checking sys/select.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking sys/select.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for sys/select.h
    configure:14823: result: yes
    configure:14706: checking sys/socket.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking sys/socket.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for sys/socket.h
    configure:14823: result: yes
    configure:14696: checking for sys/stat.h
    configure:14702: result: yes
    configure:14706: checking sys/syslog.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking sys/syslog.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for sys/syslog.h
    configure:14823: result: yes
    configure:14706: checking sys/time.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking sys/time.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for sys/time.h
    configure:14823: result: yes
    configure:14696: checking for sys/types.h
    configure:14702: result: yes
    configure:14706: checking sys/uio.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking sys/uio.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for sys/uio.h
    configure:14823: result: yes
    configure:14706: checking sys/vmount.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    conftest.c:96:24: error: sys/vmount.h: No such file or directory
    configure:14729: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <sys/vmount.h>
    configure:14743: result: no
    configure:14747: checking sys/vmount.h presence
    configure:14762: cc -E  conftest.c
    conftest.c:63:24: error: sys/vmount.h: No such file or directory
    configure:14768: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | /* end confdefs.h.  */
    | #include <sys/vmount.h>
    configure:14782: result: no
    configure:14815: checking for sys/vmount.h
    configure:14823: result: no
    configure:14706: checking syslog.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking syslog.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for syslog.h
    configure:14823: result: yes
    configure:14706: checking termios.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking termios.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for termios.h
    configure:14823: result: yes
    configure:14696: checking for unistd.h
    configure:14702: result: yes
    configure:14706: checking utime.h usability
    configure:14723: cc -c -g -O2  conftest.c >&5
    configure:14729: $? = 0
    configure:14743: result: yes
    configure:14747: checking utime.h presence
    configure:14762: cc -E  conftest.c
    configure:14768: $? = 0
    configure:14782: result: yes
    configure:14815: checking for utime.h
    configure:14823: result: yes
    configure:14993: checking for resolv.h
    configure:15016: cc -c -g -O2  conftest.c >&5
    configure:15022: $? = 0
    configure:15038: result: yes
    configure:15054: checking for netinet/tcp.h
    configure:15077: cc -c -g -O2  conftest.c >&5
    configure:15083: $? = 0
    configure:15099: result: yes
    configure:15115: checking for sys/ucred.h
    configure:15140: cc -c -g -O2  conftest.c >&5
    conftest.c:107:23: error: sys/ucred.h: No such file or directory
    configure:15146: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #ifdef HAVE_SYS_PARAM_H
    | #include <sys/param.h>
    | #endif
    | 
    | 
    | #include <sys/ucred.h>
    configure:15162: result: no
    configure:15180: checking for sigaction
    configure:15236: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:15242: $? = 0
    configure:15260: result: yes
    configure:15180: checking for sigset
    configure:15236: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:15242: $? = 0
    configure:15260: result: yes
    configure:15445: checking for socket
    configure:15501: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:15507: $? = 0
    configure:15524: result: yes
    configure:15930: checking for select
    configure:15986: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:15992: $? = 0
    configure:16009: result: yes
    configure:16027: checking for sys/select.h
    configure:16033: result: yes
    configure:16027: checking for sys/socket.h
    configure:16033: result: yes
    configure:16167: checking types of arguments for select
    configure:16205: cc -c -g -O2  conftest.c >&5
    configure:16211: $? = 0
    configure:16232: result: int,fd_set *,struct timeval *
    configure:16262: checking for poll
    configure:16318: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:16324: $? = 0
    configure:16342: result: yes
    configure:16369: checking poll.h usability
    configure:16386: cc -c -g -O2  conftest.c >&5
    configure:16392: $? = 0
    configure:16406: result: yes
    configure:16410: checking poll.h presence
    configure:16425: cc -E  conftest.c
    configure:16431: $? = 0
    configure:16445: result: yes
    configure:16478: checking for poll.h
    configure:16486: result: yes
    configure:16369: checking sys/poll.h usability
    configure:16386: cc -c -g -O2  conftest.c >&5
    configure:16392: $? = 0
    configure:16406: result: yes
    configure:16410: checking sys/poll.h presence
    configure:16425: cc -E  conftest.c
    configure:16431: $? = 0
    configure:16445: result: yes
    configure:16478: checking for sys/poll.h
    configure:16486: result: yes
    configure:16516: checking sys/epoll.h usability
    configure:16533: cc -c -g -O2  conftest.c >&5
    configure:16539: $? = 0
    configure:16553: result: yes
    configure:16557: checking sys/epoll.h presence
    configure:16572: cc -E  conftest.c
    configure:16578: $? = 0
    configure:16592: result: yes
    configure:16625: checking for sys/epoll.h
    configure:16633: result: yes
    configure:16647: checking for epoll system call
    configure:16671: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    conftest.c: In function 'main':
    conftest.c:83: warning: incompatible implicit declaration of built-in function 'exit'
    configure:16674: $? = 0
    configure:16680: ./conftest
    configure:16683: $? = 0
    configure:16685: result: yes
    configure:16722: checking sys/devpoll.h usability
    configure:16739: cc -c -g -O2  conftest.c >&5
    conftest.c:114:25: error: sys/devpoll.h: No such file or directory
    configure:16745: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <sys/devpoll.h>
    configure:16759: result: no
    configure:16763: checking sys/devpoll.h presence
    configure:16778: cc -E  conftest.c
    conftest.c:81:25: error: sys/devpoll.h: No such file or directory
    configure:16784: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | /* end confdefs.h.  */
    | #include <sys/devpoll.h>
    configure:16798: result: no
    configure:16831: checking for sys/devpoll.h
    configure:16839: result: no
    configure:16915: checking declaration of sys_errlist
    configure:16948: cc -c -g -O2  conftest.c >&5
    configure:16954: $? = 0
    configure:16970: result: yes
    configure:17046: checking for strerror
    configure:17102: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:17108: $? = 0
    configure:17126: result: yes
    configure:17046: checking for strerror_r
    configure:17102: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:17108: $? = 0
    configure:17126: result: yes
    configure:17138: checking non-posix strerror_r
    configure:17186: cc -c -g -O2  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:90: error: invalid type argument of 'unary *' (have 'int')
    conftest.c:91: warning: initialization makes pointer from integer without a cast
    configure:17192: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | /* end confdefs.h.  */
    | #include <string.h>
    | int
    | main ()
    | {
    |    /* from autoconf 2.59 */
    |                 char buf[100];
    |                 char x = *strerror_r (0, buf, sizeof buf);
    |                 char *p = strerror_r (0, buf, sizeof buf);
    | 
    |   ;
    |   return 0;
    | }
    configure:17261: result: no
    configure:17406: checking for regex.h
    configure:17431: cc -c -g -O2  conftest.c >&5
    configure:17437: $? = 0
    configure:17453: result: yes
    configure:17470: checking for library containing regfree
    configure:17511: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:17517: $? = 0
    configure:17545: result: none required
    configure:17559: checking for compatible POSIX regex
    configure:17604: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:17607: $? = 0
    configure:17613: ./conftest
    configure:17616: $? = 0
    configure:17632: result: yes
    configure:17658: checking sys/uuid.h usability
    configure:17675: cc -c -g -O2  conftest.c >&5
    conftest.c:118:22: error: sys/uuid.h: No such file or directory
    configure:17681: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <sys/uuid.h>
    configure:17695: result: no
    configure:17699: checking sys/uuid.h presence
    configure:17714: cc -E  conftest.c
    conftest.c:85:22: error: sys/uuid.h: No such file or directory
    configure:17720: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | /* end confdefs.h.  */
    | #include <sys/uuid.h>
    configure:17734: result: no
    configure:17767: checking for sys/uuid.h
    configure:17775: result: no
    configure:17990: checking uuid/uuid.h usability
    configure:18007: cc -c -g -O2  conftest.c >&5
    conftest.c:118:23: error: uuid/uuid.h: No such file or directory
    configure:18013: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <uuid/uuid.h>
    configure:18027: result: no
    configure:18031: checking uuid/uuid.h presence
    configure:18046: cc -E  conftest.c
    conftest.c:85:23: error: uuid/uuid.h: No such file or directory
    configure:18052: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | /* end confdefs.h.  */
    | #include <uuid/uuid.h>
    configure:18066: result: no
    configure:18099: checking for uuid/uuid.h
    configure:18107: result: no
    configure:18308: checking to see if -lrpcrt4 is needed for win32 UUID support
    configure:18339: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -lrpcrt4 >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    conftest.c:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'UuidCreate'
    conftest.c:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'UuidToStringA'
    configure:18345: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | /* end confdefs.h.  */
    | 
    |         int __stdcall UuidCreate(void *);
    |         int __stdcall UuidToStringA(void *,void **);
    | 
    | int
    | main ()
    | {
    | 
    |         UuidCreate(0);
    |         UuidToStringA(0,0);
    | 
    |   ;
    |   return 0;
    | }
    configure:18365: result: no
    configure:18371: checking for resolver link (default)
    configure:18442: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c   >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    /tmp/cci1Z5Ch.o: In function `main':
    /home/pbjuser/Downloads/openldap-2.4.23/conftest.c:109: undefined reference to `__res_query'
    /home/pbjuser/Downloads/openldap-2.4.23/conftest.c:128: undefined reference to `__dn_expand'
    collect2: ld returned 1 exit status
    configure:18448: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | /* end confdefs.h.  */
    | 
    | #ifdef HAVE_SYS_TYPES_H
    | #    include <sys/types.h>
    | #endif
    | #include <netinet/in.h>
    | #ifdef HAVE_ARPA_NAMESER_H
    | #    include <arpa/nameser.h>
    | #endif
    | #ifdef HAVE_RESOLV_H
    | #    include <resolv.h>
    | #endif
    | 
    | int
    | main ()
    | {
    | {
    |     int len, status;
    |     char *request = NULL;
    |     unsigned char reply[64*1024];
    |     unsigned char host[64*1024];
    |     unsigned char *p;
    | 
    | #ifdef NS_HFIXEDSZ
    |     /* Bind 8/9 interface */
    |     len = res_query(request, ns_c_in, ns_t_srv, reply, sizeof(reply));
    | #else
    |     /* Bind 4 interface */
    | # ifndef T_SRV
    | #  define T_SRV 33
    | # endif
    |     len = res_query(request, C_IN, T_SRV, reply, sizeof(reply));
    | #endif
    |     p = reply;
    | #ifdef NS_HFIXEDSZ
    |     /* Bind 8/9 interface */
    |     p += NS_HFIXEDSZ;
    | #elif defined(HFIXEDSZ)
    |     /* Bind 4 interface w/ HFIXEDSZ */
    |     p += HFIXEDSZ;
    | #else
    |     /* Bind 4 interface w/o HFIXEDSZ */
    |     p += sizeof(HEADER);
    | #endif
    |     status = dn_expand( reply, reply+len, p, host, sizeof(host));
    | }
    |   ;
    |   return 0;
    | }
    configure:18468: result: no
    configure:18477: checking for resolver link (-lresolv)
    configure:18548: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:18554: $? = 0
    configure:18574: result: yes
    configure:18721: checking for hstrerror
    configure:18777: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:18783: $? = 0
    configure:18801: result: yes
    configure:18819: checking for getaddrinfo
    configure:18875: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:18881: $? = 0
    configure:18899: result: yes
    configure:18819: checking for getnameinfo
    configure:18875: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:18881: $? = 0
    configure:18899: result: yes
    configure:18819: checking for gai_strerror
    configure:18875: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:18881: $? = 0
    configure:18899: result: yes
    configure:18819: checking for inet_ntop
    configure:18875: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:18881: $? = 0
    configure:18899: result: yes
    configure:18918: checking INET6_ADDRSTRLEN
    configure:18946: result: yes
    configure:18950: checking struct sockaddr_storage
    configure:18982: cc -c -g -O2  conftest.c >&5
    configure:18988: $? = 0
    configure:19003: result: yes
    configure:19038: checking sys/un.h usability
    configure:19055: cc -c -g -O2  conftest.c >&5
    configure:19061: $? = 0
    configure:19075: result: yes
    configure:19079: checking sys/un.h presence
    configure:19094: cc -E  conftest.c
    configure:19100: $? = 0
    configure:19114: result: yes
    configure:19147: checking for sys/un.h
    configure:19155: result: yes
    configure:19200: checking openssl/ssl.h usability
    configure:19217: cc -c -g -O2  conftest.c >&5
    conftest.c:125:25: error: openssl/ssl.h: No such file or directory
    configure:19223: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <openssl/ssl.h>
    configure:19237: result: no
    configure:19241: checking openssl/ssl.h presence
    configure:19256: cc -E  conftest.c
    conftest.c:92:25: error: openssl/ssl.h: No such file or directory
    configure:19262: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | /* end confdefs.h.  */
    | #include <openssl/ssl.h>
    configure:19276: result: no
    configure:19309: checking for openssl/ssl.h
    configure:19317: result: no
    configure:19557: checking gnutls/gnutls.h usability
    configure:19574: cc -c -g -O2  conftest.c >&5
    conftest.c:125:27: error: gnutls/gnutls.h: No such file or directory
    configure:19580: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <gnutls/gnutls.h>
    configure:19594: result: no
    configure:19598: checking gnutls/gnutls.h presence
    configure:19613: cc -E  conftest.c
    conftest.c:92:27: error: gnutls/gnutls.h: No such file or directory
    configure:19619: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | /* end confdefs.h.  */
    | #include <gnutls/gnutls.h>
    configure:19633: result: no
    configure:19666: checking for gnutls/gnutls.h
    configure:19674: result: no
    configure:19782: WARNING: Could not locate TLS/SSL package
    configure:19784: WARNING: TLS data protection not supported!
    configure:19814: checking for _beginthread
    configure:19870: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    /tmp/ccTDZiE4.o: In function `main':
    /home/pbjuser/Downloads/openldap-2.4.23/conftest.c:126: undefined reference to `_beginthread'
    collect2: ld returned 1 exit status
    configure:19876: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | /* end confdefs.h.  */
    | /* Define _beginthread to an innocuous variant, in case <limits.h> declares _beginthread.
    |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    | #define _beginthread innocuous__beginthread
    | 
    | /* System header to define __stub macros and hopefully few prototypes,
    |     which can conflict with char _beginthread (); below.
    |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    |     <limits.h> exists even on freestanding compilers.  */
    | 
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | 
    | #undef _beginthread
    | 
    | /* Override any GCC internal prototype to avoid an error.
    |    Use char because int might match the return type of a GCC
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char _beginthread ();
    | /* The GNU C library defines this for functions which it implements
    |     to always fail with ENOSYS.  Some functions are actually named
    |     something starting with __ and the normal name is an alias.  */
    | #if defined __stub__beginthread || defined __stub____beginthread
    | choke me
    | #endif
    | 
    | int
    | main ()
    | {
    | return _beginthread ();
    |   ;
    |   return 0;
    | }
    configure:19893: result: no
    configure:19949: checking pthread.h usability
    configure:19966: cc -c -g -O2  conftest.c >&5
    configure:19972: $? = 0
    configure:19986: result: yes
    configure:19990: checking pthread.h presence
    configure:20005: cc -E  conftest.c
    configure:20011: $? = 0
    configure:20025: result: yes
    configure:20058: checking for pthread.h
    configure:20066: result: yes
    configure:20081: checking POSIX thread version
    configure:20112: cc -c -g -O2  conftest.c >&5
    configure:20118: $? = 0
    configure:20210: result: 10
    configure:20230: checking for LinuxThreads pthread.h
    configure:20253: result: no
    configure:20264: checking for GNU Pth pthread.h
    configure:20291: result: no
    configure:20311: checking sched.h usability
    configure:20328: cc -c -g -O2  conftest.c >&5
    configure:20334: $? = 0
    configure:20348: result: yes
    configure:20352: checking sched.h presence
    configure:20367: cc -E  conftest.c
    configure:20373: $? = 0
    configure:20387: result: yes
    configure:20420: checking for sched.h
    configure:20428: result: yes
    configure:20444: checking for pthread_create in default libraries
    configure:20639: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    /tmp/ccTLQiou.o: In function `main':
    /home/pbjuser/Downloads/openldap-2.4.23/conftest.c:139: undefined reference to `pthread_create'
    collect2: ld returned 1 exit status
    configure:20642: $? = 1
    configure: program exited with status 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_PTHREAD_H 1
    | #define HAVE_PTHREADS 10
    | #define HAVE_SCHED_H 1
    | /* end confdefs.h.  */
    | 
    | /* pthread test headers */
    | #include <pthread.h>
    | #if HAVE_PTHREADS < 7
    | #include <errno.h>
    | #endif
    | #ifndef NULL
    | #define NULL (void*)0
    | #endif
    | 
    | static void *task(p)
    |     void *p;
    | {
    |     return (void *) (p == NULL);
    | }
    | 
    | 
    | int main(argc, argv)
    |     int argc;
    |     char **argv;
    | {
    | 
    |     /* pthread test function */
    | #ifndef PTHREAD_CREATE_DETACHED
    | #define    PTHREAD_CREATE_DETACHED    1
    | #endif
    |     pthread_t t;
    |     int status;
    |     int detach = PTHREAD_CREATE_DETACHED;
    | 
    | #if HAVE_PTHREADS > 4
    |     /* Final pthreads */
    |     pthread_attr_t attr;
    | 
    |     status = pthread_attr_init(&attr);
    |     if( status ) return status;
    | 
    | #if HAVE_PTHREADS < 7
    |     status = pthread_attr_setdetachstate(&attr, &detach);
    |     if( status < 0 ) status = errno;
    | #else
    |     status = pthread_attr_setdetachstate(&attr, detach);
    | #endif
    |     if( status ) return status;
    |     status = pthread_create( &t, &attr, task, NULL );
    | #if HAVE_PTHREADS < 7
    |     if( status < 0 ) status = errno;
    | #endif
    |     if( status ) return status;
    | #else
    |     /* Draft 4 pthreads */
    |     status = pthread_create( &t, pthread_attr_default, task, NULL );
    |     if( status ) return errno;
    | 
    |     /* give thread a chance to complete */
    |     /* it should remain joinable and hence detachable */
    |     sleep( 1 );
    | 
    |     status = pthread_detach( &t );
    |     if( status ) return errno;
    | #endif
    | 
    | #ifdef HAVE_LINUX_THREADS
    |     pthread_kill_other_threads_np();
    | #endif
    | 
    |     return 0;
    | 
    | }
    | 
    configure:20667: result: no
    configure:20678: checking for pthread link with -kthread
    configure:20877: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -kthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    cc: unrecognized option '-kthread'
    /tmp/cc9SlGrz.o: In function `main':
    /home/pbjuser/Downloads/openldap-2.4.23/conftest.c:139: undefined reference to `pthread_create'
    collect2: ld returned 1 exit status
    configure:20880: $? = 1
    configure: program exited with status 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_PTHREAD_H 1
    | #define HAVE_PTHREADS 10
    | #define HAVE_SCHED_H 1
    | /* end confdefs.h.  */
    | 
    | /* pthread test headers */
    | #include <pthread.h>
    | #if HAVE_PTHREADS < 7
    | #include <errno.h>
    | #endif
    | #ifndef NULL
    | #define NULL (void*)0
    | #endif
    | 
    | static void *task(p)
    |     void *p;
    | {
    |     return (void *) (p == NULL);
    | }
    | 
    | 
    | int main(argc, argv)
    |     int argc;
    |     char **argv;
    | {
    | 
    |     /* pthread test function */
    | #ifndef PTHREAD_CREATE_DETACHED
    | #define    PTHREAD_CREATE_DETACHED    1
    | #endif
    |     pthread_t t;
    |     int status;
    |     int detach = PTHREAD_CREATE_DETACHED;
    | 
    | #if HAVE_PTHREADS > 4
    |     /* Final pthreads */
    |     pthread_attr_t attr;
    | 
    |     status = pthread_attr_init(&attr);
    |     if( status ) return status;
    | 
    | #if HAVE_PTHREADS < 7
    |     status = pthread_attr_setdetachstate(&attr, &detach);
    |     if( status < 0 ) status = errno;
    | #else
    |     status = pthread_attr_setdetachstate(&attr, detach);
    | #endif
    |     if( status ) return status;
    |     status = pthread_create( &t, &attr, task, NULL );
    | #if HAVE_PTHREADS < 7
    |     if( status < 0 ) status = errno;
    | #endif
    |     if( status ) return status;
    | #else
    |     /* Draft 4 pthreads */
    |     status = pthread_create( &t, pthread_attr_default, task, NULL );
    |     if( status ) return errno;
    | 
    |     /* give thread a chance to complete */
    |     /* it should remain joinable and hence detachable */
    |     sleep( 1 );
    | 
    |     status = pthread_detach( &t );
    |     if( status ) return errno;
    | #endif
    | 
    | #ifdef HAVE_LINUX_THREADS
    |     pthread_kill_other_threads_np();
    | #endif
    | 
    |     return 0;
    | 
    | }
    | 
    configure:20909: result: no
    configure:20921: checking for pthread link with -pthread
    configure:21120: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:21123: $? = 0
    configure:21129: ./conftest
    configure:21132: $? = 0
    configure:21152: result: yes
    configure:24340: checking for sched_yield
    configure:24396: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:24402: $? = 0
    configure:24420: result: yes
    configure:24340: checking for pthread_yield
    configure:24396: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:24402: $? = 0
    configure:24420: result: yes
    configure:24340: checking for thr_yield
    configure:24396: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    /tmp/cc9i4iTQ.o: In function `main':
    /home/pbjuser/Downloads/openldap-2.4.23/conftest.c:131: undefined reference to `thr_yield'
    collect2: ld returned 1 exit status
    configure:24402: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_PTHREAD_H 1
    | #define HAVE_PTHREADS 10
    | #define HAVE_SCHED_H 1
    | #define HAVE_SCHED_YIELD 1
    | #define HAVE_PTHREAD_YIELD 1
    | /* end confdefs.h.  */
    | /* Define thr_yield to an innocuous variant, in case <limits.h> declares thr_yield.
    |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    | #define thr_yield innocuous_thr_yield
    | 
    | /* System header to define __stub macros and hopefully few prototypes,
    |     which can conflict with char thr_yield (); below.
    |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    |     <limits.h> exists even on freestanding compilers.  */
    | 
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | 
    | #undef thr_yield
    | 
    | /* Override any GCC internal prototype to avoid an error.
    |    Use char because int might match the return type of a GCC
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char thr_yield ();
    | /* The GNU C library defines this for functions which it implements
    |     to always fail with ENOSYS.  Some functions are actually named
    |     something starting with __ and the normal name is an alias.  */
    | #if defined __stub_thr_yield || defined __stub___thr_yield
    | choke me
    | #endif
    | 
    | int
    | main ()
    | {
    | return thr_yield ();
    |   ;
    |   return 0;
    | }
    configure:24420: result: no
    configure:24519: checking for pthread_kill
    configure:24575: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:24581: $? = 0
    configure:24599: result: yes
    configure:24610: checking for pthread_rwlock_destroy with <pthread.h>
    configure:24640: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:24646: $? = 0
    configure:24664: result: yes
    configure:24674: checking for pthread_detach with <pthread.h>
    configure:24706: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    conftest.c: In function 'main':
    conftest.c:108: warning: passing argument 1 of 'pthread_detach' makes integer from pointer without a cast
    /usr/include/pthread.h:265: note: expected 'pthread_t' but argument is of type 'void *'
    configure:24712: $? = 0
    configure:24730: result: yes
    configure:24757: checking for pthread_setconcurrency
    configure:24813: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:24819: $? = 0
    configure:24837: result: yes
    configure:24757: checking for pthread_getconcurrency
    configure:24813: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:24819: $? = 0
    configure:24837: result: yes
    configure:24757: checking for thr_setconcurrency
    configure:24813: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    /tmp/ccWp2ivb.o: In function `main':
    /home/pbjuser/Downloads/openldap-2.4.23/conftest.c:136: undefined reference to `thr_setconcurrency'
    collect2: ld returned 1 exit status
    configure:24819: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_PTHREAD_H 1
    | #define HAVE_PTHREADS 10
    | #define HAVE_SCHED_H 1
    | #define HAVE_SCHED_YIELD 1
    | #define HAVE_PTHREAD_YIELD 1
    | #define HAVE_PTHREAD_KILL 1
    | #define HAVE_PTHREAD_RWLOCK_DESTROY 1
    | #define HAVE_PTHREAD_DETACH 1
    | #define HAVE_PTHREAD_SETCONCURRENCY 1
    | #define HAVE_PTHREAD_GETCONCURRENCY 1
    | /* end confdefs.h.  */
    | /* Define thr_setconcurrency to an innocuous variant, in case <limits.h> declares thr_setconcurrency.
    |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    | #define thr_setconcurrency innocuous_thr_setconcurrency
    | 
    | /* System header to define __stub macros and hopefully few prototypes,
    |     which can conflict with char thr_setconcurrency (); below.
    |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    |     <limits.h> exists even on freestanding compilers.  */
    | 
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | 
    | #undef thr_setconcurrency
    | 
    | /* Override any GCC internal prototype to avoid an error.
    |    Use char because int might match the return type of a GCC
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char thr_setconcurrency ();
    | /* The GNU C library defines this for functions which it implements
    |     to always fail with ENOSYS.  Some functions are actually named
    |     something starting with __ and the normal name is an alias.  */
    | #if defined __stub_thr_setconcurrency || defined __stub___thr_setconcurrency
    | choke me
    | #endif
    | 
    | int
    | main ()
    | {
    | return thr_setconcurrency ();
    |   ;
    |   return 0;
    | }
    configure:24837: result: no
    configure:24757: checking for thr_getconcurrency
    configure:24813: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    /tmp/ccUtYYjg.o: In function `main':
    /home/pbjuser/Downloads/openldap-2.4.23/conftest.c:136: undefined reference to `thr_getconcurrency'
    collect2: ld returned 1 exit status
    configure:24819: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_PTHREAD_H 1
    | #define HAVE_PTHREADS 10
    | #define HAVE_SCHED_H 1
    | #define HAVE_SCHED_YIELD 1
    | #define HAVE_PTHREAD_YIELD 1
    | #define HAVE_PTHREAD_KILL 1
    | #define HAVE_PTHREAD_RWLOCK_DESTROY 1
    | #define HAVE_PTHREAD_DETACH 1
    | #define HAVE_PTHREAD_SETCONCURRENCY 1
    | #define HAVE_PTHREAD_GETCONCURRENCY 1
    | /* end confdefs.h.  */
    | /* Define thr_getconcurrency to an innocuous variant, in case <limits.h> declares thr_getconcurrency.
    |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    | #define thr_getconcurrency innocuous_thr_getconcurrency
    | 
    | /* System header to define __stub macros and hopefully few prototypes,
    |     which can conflict with char thr_getconcurrency (); below.
    |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    |     <limits.h> exists even on freestanding compilers.  */
    | 
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | 
    | #undef thr_getconcurrency
    | 
    | /* Override any GCC internal prototype to avoid an error.
    |    Use char because int might match the return type of a GCC
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char thr_getconcurrency ();
    | /* The GNU C library defines this for functions which it implements
    |     to always fail with ENOSYS.  Some functions are actually named
    |     something starting with __ and the normal name is an alias.  */
    | #if defined __stub_thr_getconcurrency || defined __stub___thr_getconcurrency
    | choke me
    | #endif
    | 
    | int
    | main ()
    | {
    | return thr_getconcurrency ();
    |   ;
    |   return 0;
    | }
    configure:24837: result: no
    configure:24853: checking for pthread_kill_other_threads_np
    configure:24909: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    /tmp/cc2DdCHk.o: In function `main':
    /home/pbjuser/Downloads/openldap-2.4.23/conftest.c:136: undefined reference to `pthread_kill_other_threads_np'
    collect2: ld returned 1 exit status
    configure:24915: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_PTHREAD_H 1
    | #define HAVE_PTHREADS 10
    | #define HAVE_SCHED_H 1
    | #define HAVE_SCHED_YIELD 1
    | #define HAVE_PTHREAD_YIELD 1
    | #define HAVE_PTHREAD_KILL 1
    | #define HAVE_PTHREAD_RWLOCK_DESTROY 1
    | #define HAVE_PTHREAD_DETACH 1
    | #define HAVE_PTHREAD_SETCONCURRENCY 1
    | #define HAVE_PTHREAD_GETCONCURRENCY 1
    | /* end confdefs.h.  */
    | /* Define pthread_kill_other_threads_np to an innocuous variant, in case <limits.h> declares pthread_kill_other_threads_np.
    |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    | #define pthread_kill_other_threads_np innocuous_pthread_kill_other_threads_np
    | 
    | /* System header to define __stub macros and hopefully few prototypes,
    |     which can conflict with char pthread_kill_other_threads_np (); below.
    |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    |     <limits.h> exists even on freestanding compilers.  */
    | 
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | 
    | #undef pthread_kill_other_threads_np
    | 
    | /* Override any GCC internal prototype to avoid an error.
    |    Use char because int might match the return type of a GCC
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char pthread_kill_other_threads_np ();
    | /* The GNU C library defines this for functions which it implements
    |     to always fail with ENOSYS.  Some functions are actually named
    |     something starting with __ and the normal name is an alias.  */
    | #if defined __stub_pthread_kill_other_threads_np || defined __stub___pthread_kill_other_threads_np
    | choke me
    | #endif
    | 
    | int
    | main ()
    | {
    | return pthread_kill_other_threads_np ();
    |   ;
    |   return 0;
    | }
    configure:24933: result: no
    configure:24943: checking for LinuxThreads implementation
    configure:24950: result: no
    configure:24956: checking for LinuxThreads consistency
    configure:24973: result: no
    configure:24983: checking if pthread_create() works
    configure:25075: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:25078: $? = 0
    configure:25084: ./conftest
    configure:25087: $? = 0
    configure:25103: result: yes
    configure:25123: checking if select yields when using pthreads
    configure:25219: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c  -pthread -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    conftest.c: In function 'task':
    conftest.c:132: warning: incompatible implicit declaration of built-in function 'exit'
    conftest.c:135: warning: incompatible implicit declaration of built-in function 'exit'
    conftest.c: In function 'main':
    conftest.c:147: warning: incompatible implicit declaration of built-in function 'exit'
    conftest.c:174: warning: incompatible implicit declaration of built-in function 'exit'
    configure:25222: $? = 0
    configure:25228: ./conftest
    configure:25231: $? = 2
    configure: program exited with status 2
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_PTHREAD_H 1
    | #define HAVE_PTHREADS 10
    | #define HAVE_SCHED_H 1
    | #define HAVE_SCHED_YIELD 1
    | #define HAVE_PTHREAD_YIELD 1
    | #define HAVE_PTHREAD_KILL 1
    | #define HAVE_PTHREAD_RWLOCK_DESTROY 1
    | #define HAVE_PTHREAD_DETACH 1
    | #define HAVE_PTHREAD_SETCONCURRENCY 1
    | #define HAVE_PTHREAD_GETCONCURRENCY 1
    | /* end confdefs.h.  */
    | 
    | #include <sys/types.h>
    | #include <sys/time.h>
    | #include <unistd.h>
    | #include <pthread.h>
    | #ifndef NULL
    | #define NULL (void*) 0
    | #endif
    | 
    | static int fildes[2];
    | 
    | static void *task(p)
    |     void *p;
    | {
    |     int i;
    |     struct timeval tv;
    | 
    |     fd_set rfds;
    | 
    |     tv.tv_sec=10;
    |     tv.tv_usec=0;
    | 
    |     FD_ZERO(&rfds);
    |     FD_SET(fildes[0], &rfds);
    | 
    |     /* we're not interested in any fds */
    |     i = select(FD_SETSIZE, &rfds, NULL, NULL, &tv);
    | 
    |     if(i < 0) {
    |         perror("select");
    |         exit(10);
    |     }
    | 
    |     exit(0); /* if we exit here, the select blocked the whole process */
    | }
    | 
    | int main(argc, argv)
    |     int argc;
    |     char **argv;
    | {
    |     pthread_t t;
    | 
    |     /* create a pipe to select */
    |     if(pipe(&fildes[0])) {
    |         perror("select");
    |         exit(1);
    |     }
    | 
    | #ifdef HAVE_PTHREAD_SETCONCURRENCY
    |     (void) pthread_setconcurrency(2);
    | #else
    | #ifdef HAVE_THR_SETCONCURRENCY
    |     /* Set Solaris LWP concurrency to 2 */
    |     thr_setconcurrency(2);
    | #endif
    | #endif
    | 
    | #if HAVE_PTHREADS < 6
    |     pthread_create(&t, pthread_attr_default, task, NULL);
    | #else
    |     pthread_create(&t, NULL, task, NULL);
    | #endif
    | 
    |     /* make sure task runs first */
    | #ifdef HAVE_THR_YIELD
    |     thr_yield();
    | #elif defined( HAVE_SCHED_YIELD )
    |     sched_yield();
    | #elif defined( HAVE_PTHREAD_YIELD )
    |     pthread_yield();
    | #endif
    | 
    |     exit(2);
    | }
    configure:25247: result: yes
    configure:27261: checking for thread specific errno
    configure:27288: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:27294: $? = 0
    configure:27312: result: yes
    configure:27315: checking for thread specific h_errno
    configure:27342: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:27348: $? = 0
    configure:27366: result: yes
    configure:27421: checking for ctime_r
    configure:27477: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:27483: $? = 0
    configure:27501: result: yes
    configure:27421: checking for gmtime_r
    configure:27477: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:27483: $? = 0
    configure:27501: result: yes
    configure:27421: checking for localtime_r
    configure:27477: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:27483: $? = 0
    configure:27501: result: yes
    configure:27421: checking for gethostbyname_r
    configure:27477: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:27483: $? = 0
    configure:27501: result: yes
    configure:27421: checking for gethostbyaddr_r
    configure:27477: cc -o conftest -g -O2  -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib conftest.c -lresolv  >&5
    cc: unrecognized option '-R/usr/local/BerkeleyDB/lib'
    configure:27483: $? = 0
    configure:27501: result: yes
    configure:27515: checking number of arguments of ctime_r
    configure:27541: cc -c -g -O2  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:120: error: too many arguments to function 'ctime_r'
    configure:27547: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_PTHREAD_H 1
    | #define HAVE_PTHREADS 10
    | #define HAVE_SCHED_H 1
    | #define HAVE_SCHED_YIELD 1
    | #define HAVE_PTHREAD_YIELD 1
    | #define HAVE_PTHREAD_KILL 1
    | #define HAVE_PTHREAD_RWLOCK_DESTROY 1
    | #define HAVE_PTHREAD_DETACH 1
    | #define HAVE_PTHREAD_SETCONCURRENCY 1
    | #define HAVE_PTHREAD_GETCONCURRENCY 1
    | #define HAVE_YIELDING_SELECT 1
    | #define REENTRANT 1
    | #define _REENTRANT 1
    | #define THREAD_SAFE 1
    | #define _THREAD_SAFE 1
    | #define THREADSAFE 1
    | #define _THREADSAFE 1
    | #define _SGI_MP_SOURCE 1
    | #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1
    | #define HAVE_CTIME_R 1
    | #define HAVE_GMTIME_R 1
    | #define HAVE_LOCALTIME_R 1
    | #define HAVE_GETHOSTBYNAME_R 1
    | #define HAVE_GETHOSTBYADDR_R 1
    | /* end confdefs.h.  */
    | #include <time.h>
    | int
    | main ()
    | {
    | time_t ti; char *buffer; ctime_r(&ti,buffer,32);
    |   ;
    |   return 0;
    | }
    configure:27583: cc -c -g -O2  conftest.c >&5
    configure:27589: $? = 0
    configure:27619: result: 2
    configure:27633: checking number of arguments of gethostbyname_r
    configure:27666: cc -c -g -O2  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:128: warning: passing argument 5 of 'gethostbyname_r' from incompatible pointer type
    /usr/include/netdb.h:178: note: expected 'struct hostent ** __restrict__' but argument is of type 'int *'
    conftest.c:128: error: too few arguments to function 'gethostbyname_r'
    configure:27672: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_PTHREAD_H 1
    | #define HAVE_PTHREADS 10
    | #define HAVE_SCHED_H 1
    | #define HAVE_SCHED_YIELD 1
    | #define HAVE_PTHREAD_YIELD 1
    | #define HAVE_PTHREAD_KILL 1
    | #define HAVE_PTHREAD_RWLOCK_DESTROY 1
    | #define HAVE_PTHREAD_DETACH 1
    | #define HAVE_PTHREAD_SETCONCURRENCY 1
    | #define HAVE_PTHREAD_GETCONCURRENCY 1
    | #define HAVE_YIELDING_SELECT 1
    | #define REENTRANT 1
    | #define _REENTRANT 1
    | #define THREAD_SAFE 1
    | #define _THREAD_SAFE 1
    | #define THREADSAFE 1
    | #define _THREADSAFE 1
    | #define _SGI_MP_SOURCE 1
    | #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1
    | #define HAVE_CTIME_R 1
    | #define HAVE_GMTIME_R 1
    | #define HAVE_LOCALTIME_R 1
    | #define HAVE_GETHOSTBYNAME_R 1
    | #define HAVE_GETHOSTBYADDR_R 1
    | #define CTIME_R_NARGS 2
    | /* end confdefs.h.  */
    | #include <sys/types.h>
    | #include <sys/socket.h>
    | #include <netinet/in.h>
    | #include <netdb.h>
    | #define BUFSIZE (sizeof(struct hostent)+10)
    | int
    | main ()
    | {
    | struct hostent hent; char buffer[BUFSIZE];
    |         int bufsize=BUFSIZE;int h_errno;
    |         (void)gethostbyname_r("segovia.cs.purdue.edu", &hent,
    |             buffer, bufsize, &h_errno);
    |   ;
    |   return 0;
    | }
    configure:27716: cc -c -g -O2  conftest.c >&5
    configure:27722: $? = 0
    configure:27752: result: 6
    configure:27767: checking number of arguments of gethostbyaddr_r
    configure:27802: cc -c -g -O2  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:131: warning: passing argument 7 of 'gethostbyaddr_r' from incompatible pointer type
    /usr/include/netdb.h:171: note: expected 'struct hostent ** __restrict__' but argument is of type 'int *'
    conftest.c:131: error: too few arguments to function 'gethostbyaddr_r'
    configure:27808: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_PTHREAD_H 1
    | #define HAVE_PTHREADS 10
    | #define HAVE_SCHED_H 1
    | #define HAVE_SCHED_YIELD 1
    | #define HAVE_PTHREAD_YIELD 1
    | #define HAVE_PTHREAD_KILL 1
    | #define HAVE_PTHREAD_RWLOCK_DESTROY 1
    | #define HAVE_PTHREAD_DETACH 1
    | #define HAVE_PTHREAD_SETCONCURRENCY 1
    | #define HAVE_PTHREAD_GETCONCURRENCY 1
    | #define HAVE_YIELDING_SELECT 1
    | #define REENTRANT 1
    | #define _REENTRANT 1
    | #define THREAD_SAFE 1
    | #define _THREAD_SAFE 1
    | #define THREADSAFE 1
    | #define _THREADSAFE 1
    | #define _SGI_MP_SOURCE 1
    | #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1
    | #define HAVE_CTIME_R 1
    | #define HAVE_GMTIME_R 1
    | #define HAVE_LOCALTIME_R 1
    | #define HAVE_GETHOSTBYNAME_R 1
    | #define HAVE_GETHOSTBYADDR_R 1
    | #define CTIME_R_NARGS 2
    | #define GETHOSTBYNAME_R_NARGS 6
    | /* end confdefs.h.  */
    | #include <sys/types.h>
    | #include <sys/socket.h>
    | #include <netinet/in.h>
    | #include <netdb.h>
    | #define BUFSIZE (sizeof(struct hostent)+10)
    | int
    | main ()
    | {
    | struct hostent hent; char buffer[BUFSIZE];
    |         struct in_addr add;
    |         size_t alen=sizeof(struct in_addr);
    |         int bufsize=BUFSIZE;int h_errno;
    |         (void)gethostbyaddr_r( (void *)&(add.s_addr),
    |             alen, AF_INET, &hent, buffer, bufsize, &h_errno);
    |   ;
    |   return 0;
    | }
    configure:27855: cc -c -g -O2  conftest.c >&5
    configure:27861: $? = 0
    configure:27891: result: 8
    configure:27924: checking db.h usability
    configure:27941: cc -c -g -O2  conftest.c >&5
    conftest.c:152:16: error: db.h: No such file or directory
    configure:27947: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_PTHREAD_H 1
    | #define HAVE_PTHREADS 10
    | #define HAVE_SCHED_H 1
    | #define HAVE_SCHED_YIELD 1
    | #define HAVE_PTHREAD_YIELD 1
    | #define HAVE_PTHREAD_KILL 1
    | #define HAVE_PTHREAD_RWLOCK_DESTROY 1
    | #define HAVE_PTHREAD_DETACH 1
    | #define HAVE_PTHREAD_SETCONCURRENCY 1
    | #define HAVE_PTHREAD_GETCONCURRENCY 1
    | #define HAVE_YIELDING_SELECT 1
    | #define REENTRANT 1
    | #define _REENTRANT 1
    | #define THREAD_SAFE 1
    | #define _THREAD_SAFE 1
    | #define THREADSAFE 1
    | #define _THREADSAFE 1
    | #define _SGI_MP_SOURCE 1
    | #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1
    | #define HAVE_CTIME_R 1
    | #define HAVE_GMTIME_R 1
    | #define HAVE_LOCALTIME_R 1
    | #define HAVE_GETHOSTBYNAME_R 1
    | #define HAVE_GETHOSTBYADDR_R 1
    | #define CTIME_R_NARGS 2
    | #define GETHOSTBYNAME_R_NARGS 6
    | #define GETHOSTBYADDR_R_NARGS 8
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | #include <db.h>
    configure:27961: result: no
    configure:27965: checking db.h presence
    configure:27980: cc -E  conftest.c
    conftest.c:119:16: error: db.h: No such file or directory
    configure:27986: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define OPENLDAP_PACKAGE "OpenLDAP"
    | #define OPENLDAP_VERSION "2.4.23"
    | #define LDAP_VENDOR_VERSION 20423
    | #define LDAP_VENDOR_VERSION_MAJOR 2
    | #define LDAP_VENDOR_VERSION_MINOR 4
    | #define LDAP_VENDOR_VERSION_PATCH 23
    | #define HAVE_MKVERSION 1
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define EXEEXT ""
    | #define STDC_HEADERS 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_SYS_WAIT_H 1
    | #define GWINSZ_IN_SYS_IOCTL 1
    | #define HAVE_ARPA_INET_H 1
    | #define HAVE_ARPA_NAMESER_H 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_BITS_TYPES_H 1
    | #define HAVE_CRYPT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GETOPT_H 1
    | #define HAVE_GRP_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_MALLOC_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_PWD_H 1
    | #define HAVE_SGTTY_H 1
    | #define HAVE_SHADOW_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYSEXITS_H 1
    | #define HAVE_SYS_FILE_H 1
    | #define HAVE_SYS_ERRNO_H 1
    | #define HAVE_SYS_IOCTL_H 1
    | #define HAVE_SYS_PARAM_H 1
    | #define HAVE_SYS_RESOURCE_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_SYSLOG_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_UIO_H 1
    | #define HAVE_SYSLOG_H 1
    | #define HAVE_TERMIOS_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_RESOLV_H 1
    | #define HAVE_NETINET_TCP_H 1
    | #define HAVE_SIGACTION 1
    | #define HAVE_SIGSET 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_SOCKET_H 1
    | #define SELECT_TYPE_ARG1 int
    | #define SELECT_TYPE_ARG234 (fd_set *)
    | #define SELECT_TYPE_ARG5 (struct timeval *)
    | #define HAVE_POLL 1
    | #define HAVE_POLL_H 1
    | #define HAVE_SYS_POLL_H 1
    | #define HAVE_SYS_EPOLL_H 1
    | #define HAVE_EPOLL 1
    | #define HAVE_SYS_ERRLIST 1
    | #define HAVE_STRERROR 1
    | #define HAVE_STRERROR_R 1
    | #define HAVE_REGEX_H 1
    | #define HAVE_RES_QUERY 1
    | #define HAVE_HSTRERROR 1
    | #define HAVE_GETADDRINFO 1
    | #define HAVE_GETNAMEINFO 1
    | #define HAVE_GAI_STRERROR 1
    | #define HAVE_INET_NTOP 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_PTHREAD_H 1
    | #define HAVE_PTHREADS 10
    | #define HAVE_SCHED_H 1
    | #define HAVE_SCHED_YIELD 1
    | #define HAVE_PTHREAD_YIELD 1
    | #define HAVE_PTHREAD_KILL 1
    | #define HAVE_PTHREAD_RWLOCK_DESTROY 1
    | #define HAVE_PTHREAD_DETACH 1
    | #define HAVE_PTHREAD_SETCONCURRENCY 1
    | #define HAVE_PTHREAD_GETCONCURRENCY 1
    | #define HAVE_YIELDING_SELECT 1
    | #define REENTRANT 1
    | #define _REENTRANT 1
    | #define THREAD_SAFE 1
    | #define _THREAD_SAFE 1
    | #define THREADSAFE 1
    | #define _THREADSAFE 1
    | #define _SGI_MP_SOURCE 1
    | #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1
    | #define HAVE_CTIME_R 1
    | #define HAVE_GMTIME_R 1
    | #define HAVE_LOCALTIME_R 1
    | #define HAVE_GETHOSTBYNAME_R 1
    | #define HAVE_GETHOSTBYADDR_R 1
    | #define CTIME_R_NARGS 2
    | #define GETHOSTBYNAME_R_NARGS 6
    | #define GETHOSTBYADDR_R_NARGS 8
    | /* end confdefs.h.  */
    | #include <db.h>
    configure:28000: result: no
    configure:28033: checking for db.h
    configure:28041: result: no
    configure:29110: error: BDB/HDB: BerkeleyDB not available
    
    ## ---------------- ##
    ## Cache variables. ##
    ## ---------------- ##
    
    ac_cv_build=i686-pc-linux-gnu
    ac_cv_c_compiler_gnu=yes
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value='-L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib'
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_func__beginthread=no
    ac_cv_func_ctime_r=yes
    ac_cv_func_dlopen=no
    ac_cv_func_gai_strerror=yes
    ac_cv_func_getaddrinfo=yes
    ac_cv_func_gethostbyaddr_r=yes
    ac_cv_func_gethostbyname_r=yes
    ac_cv_func_getnameinfo=yes
    ac_cv_func_gmtime_r=yes
    ac_cv_func_hstrerror=yes
    ac_cv_func_inet_ntop=yes
    ac_cv_func_localtime_r=yes
    ac_cv_func_poll=yes
    ac_cv_func_pthread_getconcurrency=yes
    ac_cv_func_pthread_kill=yes
    ac_cv_func_pthread_kill_other_threads_np=no
    ac_cv_func_pthread_setconcurrency=yes
    ac_cv_func_pthread_yield=yes
    ac_cv_func_sched_yield=yes
    ac_cv_func_select=yes
    ac_cv_func_select_args='int,fd_set *,struct timeval *'
    ac_cv_func_shl_load=no
    ac_cv_func_sigaction=yes
    ac_cv_func_sigset=yes
    ac_cv_func_socket=yes
    ac_cv_func_strerror=yes
    ac_cv_func_strerror_r=yes
    ac_cv_func_thr_getconcurrency=no
    ac_cv_func_thr_setconcurrency=no
    ac_cv_func_thr_yield=no
    ac_cv_header_arpa_inet_h=yes
    ac_cv_header_arpa_nameser_h=yes
    ac_cv_header_assert_h=yes
    ac_cv_header_bits_types_h=yes
    ac_cv_header_conio_h=no
    ac_cv_header_crypt_h=yes
    ac_cv_header_db_h=no
    ac_cv_header_direct_h=no
    ac_cv_header_dirent_dirent_h=yes
    ac_cv_header_dlfcn_h=yes
    ac_cv_header_errno_h=yes
    ac_cv_header_fcntl_h=yes
    ac_cv_header_filio_h=no
    ac_cv_header_getopt_h=yes
    ac_cv_header_gnutls_gnutls_h=no
    ac_cv_header_grp_h=yes
    ac_cv_header_inttypes_h=yes
    ac_cv_header_io_h=no
    ac_cv_header_libutil_h=no
    ac_cv_header_limits_h=yes
    ac_cv_header_locale_h=yes
    ac_cv_header_malloc_h=yes
    ac_cv_header_memory_h=yes
    ac_cv_header_netinet_tcp_h=yes
    ac_cv_header_openssl_ssl_h=no
    ac_cv_header_poll_h=yes
    ac_cv_header_process_h=no
    ac_cv_header_psap_h=no
    ac_cv_header_pthread_h=yes
    ac_cv_header_pwd_h=yes
    ac_cv_header_regex_h=yes
    ac_cv_header_resolv_h=yes
    ac_cv_header_sched_h=yes
    ac_cv_header_sgtty_h=yes
    ac_cv_header_shadow_h=yes
    ac_cv_header_stdc=disable
    ac_cv_header_stddef_h=yes
    ac_cv_header_stdint_h=yes
    ac_cv_header_stdlib_h=yes
    ac_cv_header_string_h=yes
    ac_cv_header_strings_h=yes
    ac_cv_header_sys_devpoll_h=no
    ac_cv_header_sys_epoll_h=yes
    ac_cv_header_sys_errno_h=yes
    ac_cv_header_sys_file_h=yes
    ac_cv_header_sys_filio_h=no
    ac_cv_header_sys_fstyp_h=no
    ac_cv_header_sys_ioctl_h=yes
    ac_cv_header_sys_param_h=yes
    ac_cv_header_sys_poll_h=yes
    ac_cv_header_sys_privgrp_h=no
    ac_cv_header_sys_resource_h=yes
    ac_cv_header_sys_select_h=yes
    ac_cv_header_sys_socket_h=yes
    ac_cv_header_sys_stat_h=yes
    ac_cv_header_sys_syslog_h=yes
    ac_cv_header_sys_time_h=yes
    ac_cv_header_sys_types_h=yes
    ac_cv_header_sys_ucred_h=no
    ac_cv_header_sys_uio_h=yes
    ac_cv_header_sys_un_h=yes
    ac_cv_header_sys_uuid_h=no
    ac_cv_header_sys_vmount_h=no
    ac_cv_header_sys_wait_h=yes
    ac_cv_header_sysexits_h=yes
    ac_cv_header_syslog_h=yes
    ac_cv_header_termios_h=yes
    ac_cv_header_unistd_h=yes
    ac_cv_header_utime_h=yes
    ac_cv_header_uuid_uuid_h=no
    ac_cv_host=i686-pc-linux-gnu
    ac_cv_lib_be_be_app=no
    ac_cv_lib_dl_dlopen=yes
    ac_cv_lib_dld_shl_load=no
    ac_cv_lib_s_afopen=no
    ac_cv_objext=o
    ac_cv_path_EGREP='/bin/grep -E'
    ac_cv_path_GREP=/bin/grep
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_prog_AR=ar
    ac_cv_prog_AWK=gawk
    ac_cv_prog_CC=cc
    ac_cv_prog_CPP='cc -E'
    ac_cv_prog_ac_ct_RANLIB=ranlib
    ac_cv_prog_ac_ct_STRIP=strip
    ac_cv_prog_cc_c89=
    ac_cv_prog_cc_g=yes
    ac_cv_prog_make_make_set=yes
    ac_cv_search_opendir='none required'
    ac_cv_search_regfree='none required'
    ac_cv_shtool=build/shtool
    ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes
    ac_cv_sys_tiocgwinsz_in_termios_h=no
    ac_cv_target=i686-pc-linux-gnu
    am_cv_CC_dependencies_compiler_type=none
    lt_cv_deplibs_check_method=pass_all
    lt_cv_dlopen=dlopen
    lt_cv_dlopen_libs=-ldl
    lt_cv_dlopen_self=yes
    lt_cv_dlopen_self_static=yes
    lt_cv_file_magic_cmd='$MAGIC_CMD'
    lt_cv_file_magic_test_file=
    lt_cv_ld_reload_flag=-r
    lt_cv_objdir=.libs
    lt_cv_path_LD=/usr/bin/ld
    lt_cv_path_NM='/usr/bin/nm -B'
    lt_cv_path_SED=/bin/sed
    lt_cv_prog_compiler_c_o=yes
    lt_cv_prog_compiler_rtti_exceptions=no
    lt_cv_prog_gnu_ld=yes
    lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[     ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][     ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
    lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr) \&\2},/p'\'''
    lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\'''
    lt_cv_sys_max_cmd_len=32768
    lt_lt_cv_prog_compiler_c_o='"yes"'
    lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[     ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[     ][     ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"'
    lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/  {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
    lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"'
    ol_cv_berkeley_db=no
    ol_cv_c_posix_regex=yes
    ol_cv_cpp_ebcdic=no
    ol_cv_dcl_sys_errlist=yes
    ol_cv_errno_thread_specific=yes
    ol_cv_func_ctime_r_nargs2=yes
    ol_cv_func_ctime_r_nargs3=no
    ol_cv_func_ctime_r_nargs=2
    ol_cv_func_gethostbyaddr_r_nargs7=no
    ol_cv_func_gethostbyaddr_r_nargs8=yes
    ol_cv_func_gethostbyaddr_r_nargs=8
    ol_cv_func_gethostbyname_r_nargs5=no
    ol_cv_func_gethostbyname_r_nargs6=yes
    ol_cv_func_gethostbyname_r_nargs=6
    ol_cv_func_pthread_detach=yes
    ol_cv_func_pthread_rwlock_destroy=yes
    ol_cv_func_strerror_r=no
    ol_cv_h_errno_thread_specific=yes
    ol_cv_have_sys_errlist=yes
    ol_cv_header_gnu_pth_pthread_h=no
    ol_cv_header_linux_threads=no
    ol_cv_header_stdc=yes
    ol_cv_inet6_addrstrlen=yes
    ol_cv_lib_resolver=-lresolv
    ol_cv_linux_threads=no
    ol_cv_mkdep=-M
    ol_cv_msvc=no
    ol_cv_nonposix_strerror_r=no
    ol_cv_pthread_create=no
    ol_cv_pthread_create_works=yes
    ol_cv_pthread_kthread=no
    ol_cv_pthread_pthread=yes
    ol_cv_pthread_select_yields=yes
    ol_cv_pthread_version=10
    ol_cv_resolver_none=no
    ol_cv_resolver_resolv=yes
    ol_cv_struct_sockaddr_storage=yes
    ol_cv_sys_linux_threads=no
    
    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##
    
    ACLOCAL='${SHELL} /home/pbjuser/Downloads/openldap-2.4.23/build/missing --run aclocal-1.9'
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /home/pbjuser/Downloads/openldap-2.4.23/build/missing --run tar'
    AR='ar'
    AS='as'
    AUTH_LIBS=''
    AUTOCONF='${SHELL} /home/pbjuser/Downloads/openldap-2.4.23/build/missing --run autoconf'
    AUTOHEADER='${SHELL} /home/pbjuser/Downloads/openldap-2.4.23/build/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/pbjuser/Downloads/openldap-2.4.23/build/missing --run automake-1.9'
    AWK='gawk'
    BDB_LIBS=''
    BUILD_ACCESSLOG='no'
    BUILD_AUDITLOG='no'
    BUILD_BDB='no'
    BUILD_COLLECT=''
    BUILD_CONSTRAINT='no'
    BUILD_DDS='no'
    BUILD_DENYOP='no'
    BUILD_DEREF='no'
    BUILD_DNSSRV='no'
    BUILD_DYNGROUP='no'
    BUILD_DYNLIST='no'
    BUILD_HDB='no'
    BUILD_LASTMOD='no'
    BUILD_LDAP='no'
    BUILD_LIBS_DYNAMIC=''
    BUILD_MEMBEROF='no'
    BUILD_META='no'
    BUILD_MONITOR='no'
    BUILD_NDB='no'
    BUILD_NULL='no'
    BUILD_PASSWD='no'
    BUILD_PERL='no'
    BUILD_PPOLICY='no'
    BUILD_PROXYCACHE='no'
    BUILD_REFINT='no'
    BUILD_RELAY='no'
    BUILD_RETCODE='no'
    BUILD_RWM='no'
    BUILD_SEQMOD='no'
    BUILD_SHELL='no'
    BUILD_SLAPD='no'
    BUILD_SLAPI='no'
    BUILD_SOCK='no'
    BUILD_SQL='no'
    BUILD_SSSVLV='no'
    BUILD_SYNCPROV='no'
    BUILD_THREAD='yes'
    BUILD_TRANSLUCENT='no'
    BUILD_UNIQUE='no'
    BUILD_VALSORT='no'
    CC='cc'
    CCDEPMODE='depmode=none'
    CFLAGS='-g -O2'
    CPP='cc -E'
    CPPFLAGS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR='.deps'
    DLLTOOL='dlltool'
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP='/bin/grep -E'
    EXEEXT=''
    GREP='/bin/grep'
    ICU_LIBS=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
    KRB4_LIBS=''
    KRB5_LIBS=''
    LDAP_LIBS=''
    LDFLAGS='-L/usr/local/lib -L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib'
    LIBOBJS=''
    LIBS='-lresolv '
    LIBSLAPI=''
    LIBSLAPITOOLS=''
    LIBSRCS=''
    LIBTOOL='$(SHELL) $(top_builddir)/libtool'
    LN_S='ln -s'
    LTHREAD_LIBS=' -pthread'
    LTLIBOBJS=''
    LTSTATIC=''
    LUTIL_LIBS=''
    MAKEINFO='${SHELL} /home/pbjuser/Downloads/openldap-2.4.23/build/missing --run makeinfo'
    MODULES_LIBS=''
    MOD_PERL_LDFLAGS=''
    MYSQL=''
    OBJDUMP='objdump'
    OBJEXT='o'
    OL_MKDEP='cc'
    OL_MKDEP_FLAGS='-M'
    OPENLDAP_LIBRELEASE='2.4'
    OPENLDAP_LIBVERSION='7:6:5'
    OPENLDAP_RELEASE_DATE='2010/06/30'
    PACKAGE='OpenLDAP'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PERLBIN=''
    PERL_CPPFLAGS=''
    PLAT=''
    RANLIB='ranlib'
    SASL_LIBS=''
    SET_MAKE=''
    SHELL='/bin/bash'
    SLAPD_DYNAMIC_BACKENDS=''
    SLAPD_DYNAMIC_OVERLAYS=''
    SLAPD_GMP_LIBS=''
    SLAPD_LIBS=''
    SLAPD_MODULES_CPPFLAGS=''
    SLAPD_MODULES_LDFLAGS=''
    SLAPD_NDB_INCS=''
    SLAPD_NDB_LIBS=''
    SLAPD_NO_STATIC=''
    SLAPD_PERL_LDFLAGS=''
    SLAPD_SLAPI_DEPEND=''
    SLAPD_SLP_LIBS=''
    SLAPD_SQL_INCLUDES=''
    SLAPD_SQL_LDFLAGS=''
    SLAPD_SQL_LIBS=''
    SLAPD_STATIC_BACKENDS='back-ldif'
    SLAPD_STATIC_OVERLAYS=''
    SLAPI_LIBS=''
    STRIP='strip'
    TLS_LIBS=''
    VERSION='2.4.23'
    WITH_ACI_ENABLED=''
    WITH_MODULES_ENABLED='no'
    WITH_SASL=''
    WITH_TLS='no'
    WRAP_LIBS=''
    ac_ct_CC=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE='#'
    am__include='include'
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build='i686-pc-linux-gnu'
    build_alias=''
    build_cpu='i686'
    build_os='linux-gnu'
    build_vendor='pc'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='i686-pc-linux-gnu'
    host_alias=''
    host_cpu='i686'
    host_os='linux-gnu'
    host_vendor='pc'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='/home/pbjuser/Downloads/openldap-2.4.23/build/install-sh'
    ldap_subdir='/openldap'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='mkdir -p --'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='NONE'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='i686-pc-linux-gnu'
    target_alias=''
    target_cpu='i686'
    target_os='linux-gnu'
    target_vendor='pc'
    top_builddir='/home/pbjuser/Downloads/openldap-2.4.23'
    
    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##
    
    #define PACKAGE_NAME ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define PACKAGE_STRING ""
    #define PACKAGE_BUGREPORT ""
    #define OPENLDAP_PACKAGE "OpenLDAP"
    #define OPENLDAP_VERSION "2.4.23"
    #define LDAP_VENDOR_VERSION 20423
    #define LDAP_VENDOR_VERSION_MAJOR 2
    #define LDAP_VENDOR_VERSION_MINOR 4
    #define LDAP_VENDOR_VERSION_PATCH 23
    #define HAVE_MKVERSION 1
    #define STDC_HEADERS 1
    #define HAVE_SYS_TYPES_H 1
    #define HAVE_SYS_STAT_H 1
    #define HAVE_STDLIB_H 1
    #define HAVE_STRING_H 1
    #define HAVE_MEMORY_H 1
    #define HAVE_STRINGS_H 1
    #define HAVE_INTTYPES_H 1
    #define HAVE_STDINT_H 1
    #define HAVE_UNISTD_H 1
    #define HAVE_DLFCN_H 1
    #define EXEEXT ""
    #define STDC_HEADERS 1
    #define HAVE_DIRENT_H 1
    #define HAVE_SYS_WAIT_H 1
    #define GWINSZ_IN_SYS_IOCTL 1
    #define HAVE_ARPA_INET_H 1
    #define HAVE_ARPA_NAMESER_H 1
    #define HAVE_ASSERT_H 1
    #define HAVE_BITS_TYPES_H 1
    #define HAVE_CRYPT_H 1
    #define HAVE_ERRNO_H 1
    #define HAVE_FCNTL_H 1
    #define HAVE_GETOPT_H 1
    #define HAVE_GRP_H 1
    #define HAVE_LIMITS_H 1
    #define HAVE_LOCALE_H 1
    #define HAVE_MALLOC_H 1
    #define HAVE_MEMORY_H 1
    #define HAVE_PWD_H 1
    #define HAVE_SGTTY_H 1
    #define HAVE_SHADOW_H 1
    #define HAVE_STDDEF_H 1
    #define HAVE_STRING_H 1
    #define HAVE_STRINGS_H 1
    #define HAVE_SYSEXITS_H 1
    #define HAVE_SYS_FILE_H 1
    #define HAVE_SYS_ERRNO_H 1
    #define HAVE_SYS_IOCTL_H 1
    #define HAVE_SYS_PARAM_H 1
    #define HAVE_SYS_RESOURCE_H 1
    #define HAVE_SYS_SELECT_H 1
    #define HAVE_SYS_SOCKET_H 1
    #define HAVE_SYS_STAT_H 1
    #define HAVE_SYS_SYSLOG_H 1
    #define HAVE_SYS_TIME_H 1
    #define HAVE_SYS_TYPES_H 1
    #define HAVE_SYS_UIO_H 1
    #define HAVE_SYSLOG_H 1
    #define HAVE_TERMIOS_H 1
    #define HAVE_UNISTD_H 1
    #define HAVE_UTIME_H 1
    #define HAVE_RESOLV_H 1
    #define HAVE_NETINET_TCP_H 1
    #define HAVE_SIGACTION 1
    #define HAVE_SIGSET 1
    #define HAVE_SYS_SELECT_H 1
    #define HAVE_SYS_SOCKET_H 1
    #define SELECT_TYPE_ARG1 int
    #define SELECT_TYPE_ARG234 (fd_set *)
    #define SELECT_TYPE_ARG5 (struct timeval *)
    #define HAVE_POLL 1
    #define HAVE_POLL_H 1
    #define HAVE_SYS_POLL_H 1
    #define HAVE_SYS_EPOLL_H 1
    #define HAVE_EPOLL 1
    #define HAVE_SYS_ERRLIST 1
    #define HAVE_STRERROR 1
    #define HAVE_STRERROR_R 1
    #define HAVE_REGEX_H 1
    #define HAVE_RES_QUERY 1
    #define HAVE_HSTRERROR 1
    #define HAVE_GETADDRINFO 1
    #define HAVE_GETNAMEINFO 1
    #define HAVE_GAI_STRERROR 1
    #define HAVE_INET_NTOP 1
    #define HAVE_SYS_UN_H 1
    #define HAVE_PTHREAD_H 1
    #define HAVE_PTHREADS 10
    #define HAVE_SCHED_H 1
    #define HAVE_SCHED_YIELD 1
    #define HAVE_PTHREAD_YIELD 1
    #define HAVE_PTHREAD_KILL 1
    #define HAVE_PTHREAD_RWLOCK_DESTROY 1
    #define HAVE_PTHREAD_DETACH 1
    #define HAVE_PTHREAD_SETCONCURRENCY 1
    #define HAVE_PTHREAD_GETCONCURRENCY 1
    #define HAVE_YIELDING_SELECT 1
    #define REENTRANT 1
    #define _REENTRANT 1
    #define THREAD_SAFE 1
    #define _THREAD_SAFE 1
    #define THREADSAFE 1
    #define _THREADSAFE 1
    #define _SGI_MP_SOURCE 1
    #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1
    #define HAVE_CTIME_R 1
    #define HAVE_GMTIME_R 1
    #define HAVE_LOCALTIME_R 1
    #define HAVE_GETHOSTBYNAME_R 1
    #define HAVE_GETHOSTBYADDR_R 1
    #define CTIME_R_NARGS 2
    #define GETHOSTBYNAME_R_NARGS 6
    #define GETHOSTBYADDR_R_NARGS 8
    
    configure: exit 1
    
    =========================================================================
    I was hoping if anyone might be able to help me out here.

    Thank you in advance
    Last edited by devils casper; 08-18-2010 at 09:04 AM. Reason: [code] ... [/code] tag.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    why are you installing from source? simply install slapd package using apt-get
    Code:
    apt-cache show slapd
    Package: slapd
    Priority: optional
    Section: net
    Installed-Size: 4064
    Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
    Original-Maintainer: Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org>
    Architecture: i386
    Source: openldap
    Version: 2.4.21-0ubuntu5
    Replaces: ldap-utils (<< 2.2.23-3), libldap2
    Provides: ldap-server, libslapi-2.4-2
    Depends: libc6 (>= 2.7), libdb4.7, libgnutls26 (>= 2.7.14-0), libgssapi-krb5-2 (>= 1.6.dfsg.2), libldap-2.4-2 (= 2.4.21-0ubuntu5), libltdl7 (>= 2.2.6b), libperl5.10 (>= 5.10.1), libsasl2-2, libslp1, libwrap0 (>= 7.6-4~), unixodbc (>= 2.2.11), coreutils (>= 4.5.1-1), psmisc, perl (>> 5.8.0) | libmime-base64-perl, adduser
    Pre-Depends: debconf (>= 0.5) | debconf-2.0
    Recommends: libsasl2-modules
    Suggests: ldap-utils
    Conflicts: ldap-server, libltdl3 (= 1.5.4-1), umich-ldapd
    Filename: pool/main/o/openldap/slapd_2.4.21-0ubuntu5_i386.deb
    Size: 1553282
    MD5sum: b75e544557f883870b33e6dece0a9ac1
    SHA1: 7f0b549ba8d6c3caeb2b9948b6e509807ec130bb
    SHA256: 30c5a3f6b2b154e5bae42d2cb8c586fd61c991f6f57a15ed10db7ce858096e4b
    Description: OpenLDAP server (slapd)
     This is the OpenLDAP (Lightweight Directory Access Protocol) server
     (slapd). The server can be used to provide a standalone directory
     service.
    Homepage: http://www.openldap.org/
    Bugs: https://bugs.launchpad.net/ubuntu/+filebug
    Origin: Ubuntu
    Supported: 5y

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Location
    Italy
    Posts
    35
    eheeh i totally agree with coopstah13, always use distribution packages, unless you need a specific release or some "strange" compilation setting.

  4. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Third. Only compile from source when not available from your distro's repositories or unless you need a different configuration than from what is available from your distro's binary packages.
    Linux Mint + IceWM Registered: #371367 New Members: click here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •