mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-19 14:30:57 +08:00
Added closesocket detection/use for BeOS (ITS#195)
This commit is contained in:
parent
cd5bde69a3
commit
f5762b884c
8
CHANGES
8
CHANGES
@ -2,12 +2,12 @@ OpenLDAP Change Log
|
||||
|
||||
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
|
||||
|
25
configure
vendored
25
configure
vendored
@ -8835,6 +8835,7 @@ fi
|
||||
|
||||
for ac_func in \
|
||||
bcopy \
|
||||
closesocket \
|
||||
flock \
|
||||
getdtablesize \
|
||||
gethostname \
|
||||
@ -8864,12 +8865,12 @@ for ac_func in \
|
||||
|
||||
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. */
|
||||
@ -8892,7 +8893,7 @@ $ac_func();
|
||||
|
||||
; 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
|
||||
@ -8920,12 +8921,12 @@ done
|
||||
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. */
|
||||
@ -8948,7 +8949,7 @@ $ac_func();
|
||||
|
||||
; 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
|
||||
@ -8978,13 +8979,13 @@ done
|
||||
# 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>
|
||||
@ -8994,7 +8995,7 @@ int main() {
|
||||
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
|
||||
@ -9015,20 +9016,20 @@ if test $ol_cv_dcl_sys_errlist = no ; then
|
||||
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
|
||||
|
@ -1362,6 +1362,7 @@ fi
|
||||
|
||||
AC_CHECK_FUNCS( \
|
||||
bcopy \
|
||||
closesocket \
|
||||
flock \
|
||||
getdtablesize \
|
||||
gethostname \
|
||||
|
@ -60,23 +60,25 @@
|
||||
#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 )
|
||||
|
@ -211,6 +211,9 @@
|
||||
/* Define if you have the bcopy function. */
|
||||
#undef HAVE_BCOPY
|
||||
|
||||
/* Define if you have the closesocket function. */
|
||||
#undef HAVE_CLOSESOCKET
|
||||
|
||||
/* Define if you have the flock function. */
|
||||
#undef HAVE_FLOCK
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user