Changes included in OpenLDAP 1.2 Release Engineering
CVS Tag: OPENLDAP_REL_ENG_1_2
- Added the mdbm to the ldbm backends (memory mapped dbm).
+ Added the MDBM to the ldbm backends (memory mapped dbm)
Updated README to require BerkeleyDB 2.7.5
- Added #define _SGI_MP_SOURCE to enable per-thread errno in
- IRIX
Build environment
- Added sys/select.h detection.
+ Added closesocket detection/use of BeOS (ITS#195)
+ Added IRIX #define _SGI_MP_SOURCE for enable per-thread errno
+ Added sys/select.h detection
Changes included in OpenLDAP 1.2.3
CVS Tag: OPENLDAP_REL_ENG_1_2_3
for ac_func in \
bcopy \
+ closesocket \
flock \
getdtablesize \
gethostname \
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8868: checking for $ac_func" >&5
+echo "configure:8869: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8873 "configure"
+#line 8874 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:8896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
for ac_func in getopt strdup tempnam
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8924: checking for $ac_func" >&5
+echo "configure:8925: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8929 "configure"
+#line 8930 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:8952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
# Check Configuration
echo $ac_n "checking declaration of sys_errlist""... $ac_c" 1>&6
-echo "configure:8982: checking declaration of sys_errlist" >&5
+echo "configure:8983: checking declaration of sys_errlist" >&5
if eval "test \"`echo '$''{'ol_cv_dcl_sys_errlist'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8988 "configure"
+#line 8989 "configure"
#include "confdefs.h"
#include <stdio.h>
char *c = (char *) *sys_errlist
; return 0; }
EOF
-if { (eval echo configure:8998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ol_cv_dcl_sys_errlist=yes
else
EOF
echo $ac_n "checking existence of sys_errlist""... $ac_c" 1>&6
-echo "configure:9019: checking existence of sys_errlist" >&5
+echo "configure:9020: checking existence of sys_errlist" >&5
if eval "test \"`echo '$''{'ol_cv_have_sys_errlist'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 9025 "configure"
+#line 9026 "configure"
#include "confdefs.h"
#include <errno.h>
int main() {
char *c = (char *) *sys_errlist
; return 0; }
EOF
-if { (eval echo configure:9032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ol_cv_have_sys_errlist=yes
else
#define MAXHOSTNAMELEN 64
#endif
-#ifdef MACOS
-#define tcp_close( s ) tcpclose( s )
-#else /* MACOS */
-#ifdef DOS
-#ifdef PCNFS
-#define tcp_close( s ) close( s )
-#endif /* PCNFS */
-#ifdef NCSA
-#define tcp_close( s ) netclose( s ); netshut()
-#endif /* NCSA */
-#ifdef WINSOCK
-#define tcp_close( s ) closesocket( s );
-#endif /* WINSOCK */
-#else /* DOS */
-#define tcp_close( s ) close( s )
-#endif /* DOS */
-#endif /* MACOS */
+#ifdef HAVE_CLOSESOCKET
+# define tcp_close( s ) closesocket( s )
+#elif defined( MACOS )
+# define tcp_close( s ) tcpclose( s )
+#elif defined( DOS )
+
+# ifdef PCNFS
+# define tcp_close( s ) close( s )
+# endif /* PCNFS */
+# ifdef NCSA
+# define tcp_close( s ) netclose( s ); netshut()
+# endif /* NCSA */
+# ifdef WINSOCK
+# define tcp_close( s ) closesocket( s )
+# endif /* WINSOCK */
+
+#else
+# define tcp_close( s ) close( s )
+#endif
#if !defined(__alpha) || defined(VMS)
#define AC_HTONL( l ) htonl( l )