Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
0377189f
Commit
0377189f
authored
17 years ago
by
Hallvard Furuseth
Browse files
Options
Downloads
Patches
Plain Diff
Regenerate for ITS#4629
parent
3750520f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure
+77
-5
77 additions, 5 deletions
configure
include/portable.hin
+9
-6
9 additions, 6 deletions
include/portable.hin
with
86 additions
and
11 deletions
configure
+
77
−
5
View file @
0377189f
#! /bin/sh
#! /bin/sh
# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.65
6
2007/0
5/23 21:28:11 hyc
Exp .
# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.65
7
2007/0
6/09 21:35:20 hallvard
Exp .
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
# Generated by GNU Autoconf 2.59.
#
#
...
@@ -34015,6 +34015,7 @@ _ACEOF
...
@@ -34015,6 +34015,7 @@ _ACEOF
fi
fi
echo "$as_me:$LINENO: checking for socklen_t" >&5
echo "$as_me:$LINENO: checking for socklen_t" >&5
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
if test "${ac_cv_type_socklen_t+set}" = set; then
if test "${ac_cv_type_socklen_t+set}" = set; then
...
@@ -34031,7 +34032,6 @@ $ac_includes_default
...
@@ -34031,7 +34032,6 @@ $ac_includes_default
#include <sys/socket.h>
#include <sys/socket.h>
#endif
#endif
int
int
main ()
main ()
{
{
...
@@ -34076,12 +34076,84 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
...
@@ -34076,12 +34076,84 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
fi
echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
if test $ac_cv_type_socklen_t = yes; then
:
echo "$as_me:$LINENO: checking the type of arg 3 to accept()" >&5
echo $ECHO_N "checking the type of arg 3 to accept()... $ECHO_C" >&6
if test "${ol_cv_type_ber_socklen_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
set socklen_t int unsigned "unsigned long" long size_t
test "$ac_cv_type_socklen_t" = yes || shift
ol_cv_type_ber_socklen_t=$1 guessing="guessing "
for lentype in "$@" ; do for addrtype in "struct sockaddr" void ; do
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept(int s, $addrtype *ap, $lentype *lp);
int
main ()
{
accept(0, (struct sockaddr *) 0, ($lentype *) 0);
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ol_cv_type_ber_socklen_t=$lentype guessing= ; break 2
else
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
done ; done
fi
echo "$as_me:$LINENO: result: $guessing$ol_cv_type_ber_socklen_t *" >&5
echo "${ECHO_T}$guessing$ol_cv_type_ber_socklen_t *" >&6
cat >>confdefs.h <<_ACEOF
#define ber_socklen_t $ol_cv_type_ber_socklen_t
_ACEOF
if test "$ac_cv_type_socklen_t" != yes; then
cat >>confdefs.h <<_ACEOF
cat >>confdefs.h <<_ACEOF
#define socklen_t
in
t
#define socklen_t
$ol_cv_type_ber_socklen_
t
_ACEOF
_ACEOF
fi
fi
This diff is collapsed.
Click to expand it.
include/portable.hin
+
9
−
6
View file @
0377189f
...
@@ -891,19 +891,19 @@
...
@@ -891,19 +891,19 @@
/* Define to the type of arg 5 for `select'. */
/* Define to the type of arg 5 for `select'. */
#undef SELECT_TYPE_ARG5
#undef SELECT_TYPE_ARG5
/* The size of `int', as computed by sizeof. */
/* The size of
a
`int', as computed by sizeof. */
#undef SIZEOF_INT
#undef SIZEOF_INT
/* The size of `long', as computed by sizeof. */
/* The size of
a
`long', as computed by sizeof. */
#undef SIZEOF_LONG
#undef SIZEOF_LONG
/* The size of `long long', as computed by sizeof. */
/* The size of
a
`long long', as computed by sizeof. */
#undef SIZEOF_LONG_LONG
#undef SIZEOF_LONG_LONG
/* The size of `short', as computed by sizeof. */
/* The size of
a
`short', as computed by sizeof. */
#undef SIZEOF_SHORT
#undef SIZEOF_SHORT
/* The size of `wchar_t', as computed by sizeof. */
/* The size of
a
`wchar_t', as computed by sizeof. */
#undef SIZEOF_WCHAR_T
#undef SIZEOF_WCHAR_T
/* define to support per-object ACIs */
/* define to support per-object ACIs */
...
@@ -1048,6 +1048,9 @@
...
@@ -1048,6 +1048,9 @@
first (like Motorola and SPARC, unlike Intel and VAX). */
first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
#undef WORDS_BIGENDIAN
/* Define to the type of arg 3 for `accept'. */
#undef ber_socklen_t
/* Define to `char *' if <sys/types.h> does not define. */
/* Define to `char *' if <sys/types.h> does not define. */
#undef caddr_t
#undef caddr_t
...
@@ -1075,7 +1078,7 @@
...
@@ -1075,7 +1078,7 @@
/* define to snprintf routine */
/* define to snprintf routine */
#undef snprintf
#undef snprintf
/* Define
to `int'
if <sys/socket.h> does not define. */
/* Define
like ber_socklen_t
if <sys/socket.h> does not define. */
#undef socklen_t
#undef socklen_t
/* Define to `signed int' if <sys/types.h> does not define. */
/* Define to `signed int' if <sys/types.h> does not define. */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment