Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
f5762b88
Commit
f5762b88
authored
Jun 27, 1999
by
Kurt Zeilenga
Browse files
Added closesocket detection/use for BeOS (ITS#195)
parent
cd5bde69
Changes
5
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
f5762b88
...
...
@@ -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
...
...
configure
View file @
f5762b88
...
...
@@ -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:886
8
: checking for
$ac_func
"
>
&5
echo
"configure:886
9
: 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 887
3
"configure"
#line 887
4
"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:889
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:889
7
:
\"
$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:892
4
: checking for
$ac_func
"
>
&5
echo
"configure:892
5
: 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 89
29
"configure"
#line 89
30
"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:895
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:895
3
:
\"
$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:898
2
: checking declaration of sys_errlist"
>
&5
echo
"configure:898
3
: 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 898
8
"configure"
#line 898
9
"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:899
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:899
9
:
\"
$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:90
19
: checking existence of sys_errlist"
>
&5
echo
"configure:90
20
: 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 902
5
"configure"
#line 902
6
"configure"
#include "confdefs.h"
#include <errno.h>
int main() {
char *c = (char *) *sys_errlist
; return 0; }
EOF
if
{
(
eval echo
configure:903
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:903
3
:
\"
$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
...
...
configure.in
View file @
f5762b88
...
...
@@ -1362,6 +1362,7 @@ fi
AC_CHECK_FUNCS( \
bcopy \
closesocket \
flock \
getdtablesize \
gethostname \
...
...
include/ac/socket.h
View file @
f5762b88
...
...
@@ -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 )
...
...
include/portable.h.in
View file @
f5762b88
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment