Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
70a7656d
Commit
70a7656d
authored
Jun 09, 2000
by
Kurt Zeilenga
Browse files
Detect getaddrinfo
parent
140a579e
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure
View file @
70a7656d
...
...
@@ -15379,6 +15379,7 @@ for ac_func in \
endgrent
\
endpwent
\
flock
\
getaddrinfo
\
getdtablesize
\
getgrgid
\
gethostname
\
...
...
@@ -15425,12 +15426,12 @@ for ac_func in \
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:154
29
: checking for
$ac_func
"
>
&5
echo
"configure:154
30
: checking for
$ac_func
"
>
&5
if
eval
"test
\"\$
{ac_cv_func_
$ac_func
+set}
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1543
4
"configure"
#line 1543
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -15454,7 +15455,7 @@ f = $ac_func;
; return 0; }
EOF
if
{
(
eval echo
configure:1545
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1545
9
:
\"
$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
...
...
@@ -15482,12 +15483,12 @@ done
for
ac_func
in
getopt tempnam
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:1548
6
: checking for
$ac_func
"
>
&5
echo
"configure:1548
7
: checking for
$ac_func
"
>
&5
if
eval
"test
\"\$
{ac_cv_func_
$ac_func
+set}
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1549
1
"configure"
#line 1549
2
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -15511,7 +15512,7 @@ f = $ac_func;
; return 0; }
EOF
if
{
(
eval echo
configure:1551
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1551
6
:
\"
$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
...
...
@@ -15548,13 +15549,13 @@ fi
# Check Configuration
echo
$ac_n
"checking declaration of sys_errlist""...
$ac_c
"
1>&6
echo
"configure:1555
2
: checking declaration of sys_errlist"
>
&5
echo
"configure:1555
3
: checking declaration of sys_errlist"
>
&5
if
eval
"test
\"\$
{ol_cv_dcl_sys_errlist+set}
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1555
8
"configure"
#line 1555
9
"configure"
#include "confdefs.h"
#include <stdio.h>
...
...
@@ -15567,7 +15568,7 @@ int main() {
char *c = (char *) *sys_errlist
; return 0; }
EOF
if
{
(
eval echo
configure:1557
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:1557
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ol_cv_dcl_sys_errlist
=
yes
ol_cv_have_sys_errlist
=
yes
...
...
@@ -15590,20 +15591,20 @@ EOF
echo
$ac_n
"checking existence of sys_errlist""...
$ac_c
"
1>&6
echo
"configure:1559
4
: checking existence of sys_errlist"
>
&5
echo
"configure:1559
5
: checking existence of sys_errlist"
>
&5
if
eval
"test
\"\$
{ol_cv_have_sys_errlist+set}
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1560
0
"configure"
#line 1560
1
"configure"
#include "confdefs.h"
#include <errno.h>
int main() {
char *c = (char *) *sys_errlist
; return 0; }
EOF
if
{
(
eval echo
configure:1560
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:1560
8
:
\"
$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 @
70a7656d
...
...
@@ -2030,6 +2030,7 @@ AC_CHECK_FUNCS( \
endgrent \
endpwent \
flock \
getaddrinfo \
getdtablesize \
getgrgid \
gethostname \
...
...
include/portable.h.in
View file @
70a7656d
...
...
@@ -149,6 +149,9 @@
/* Define if you have the flock function. */
#undef HAVE_FLOCK
/* Define if you have the getaddrinfo function. */
#undef HAVE_GETADDRINFO
/* Define if you have the getdtablesize function. */
#undef HAVE_GETDTABLESIZE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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