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
openldap
OpenLDAP
Commits
b9cd3616
Commit
b9cd3616
authored
Aug 28, 2002
by
Kurt Zeilenga
Browse files
Add check for sockaddr_storage before enabling IPv6
parent
bfa89d6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure
View file @
b9cd3616
...
...
@@ -10322,10 +10322,49 @@ fi
echo "$ac_t""$ol_cv_inet6_addrstrlen" 1>&6
if test $ol_cv_inet6_addrstrlen = yes ; then
echo $ac_n "checking struct sockaddr_storage""... $ac_c" 1>&6
echo "configure:10328: checking struct sockaddr_storage" >&5
if eval "test \"\${ol_cv_struct_sockaddr_storage+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10334 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
int main() {
struct sockaddr_storage ss;
; return 0; }
EOF
if { (eval echo configure:10346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ol_cv_struct_sockaddr_storage=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ol_cv_struct_sockaddr_storage=no
fi
rm -f conftest*
fi
echo "$ac_t""$ol_cv_struct_sockaddr_storage" 1>&6
if test $ol_cv_inet6_addrstrlen = yes \
-a $ol_cv_struct_sockaddr_storage = yes ; then
ol_link_ipv6=yes
elif test $ol_enable_ipv6 = yes ; then
elif test $ol_enable_ipv6 = yes \
-a $ol_cv_inet6_addrstrlen = no ; then
{ echo "configure: error: IPv6 support requires INET6_ADDRSTRLEN" 1>&2; exit 1; }
elif test $ol_enable_ipv6 = yes \
-a $ol_cv_struct_sockaddr_storage = no ; then
{ echo "configure: error: IPv6 support requires struct sockaddr_storage" 1>&2; exit 1; }
fi
fi
...
...
@@ -10334,17 +10373,17 @@ if test $ol_enable_local != no ; then
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:103
38
: checking for $ac_hdr" >&5
echo "configure:103
77
: checking for $ac_hdr" >&5
if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 103
43
"configure"
#line 103
82
"configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:103
4
8: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1038
7
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
...
...
@@ -10391,17 +10430,17 @@ if test $ol_with_kerberos = yes -o $ol_with_kerberos = auto \
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:10
395
: checking for $ac_hdr" >&5
echo "configure:10
434
: checking for $ac_hdr" >&5
if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 104
00
"configure"
#line 104
39
"configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:104
05
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:104
44
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
...
...
@@ -10433,17 +10472,17 @@ done
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:104
3
7: checking for $ac_hdr" >&5
echo "configure:1047
6
: checking for $ac_hdr" >&5
if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 104
42
"configure"
#line 104
81
"configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:104
47
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:104
86
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
...
...
@@ -10477,7 +10516,7 @@ done
if test $krb5_impl = mit; then
echo $ac_n "checking for main in -lk5crypto""... $ac_c" 1>&6
echo "configure:10
481
: checking for main in -lk5crypto" >&5
echo "configure:10
520
: checking for main in -lk5crypto" >&5
ac_lib_var=`echo k5crypto'_'main | sed 'y%./+-:%__p__%'`
if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
...
...
@@ -10485,14 +10524,14 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lk5crypto $LIBS"
cat > conftest.$ac_ext <<EOF
#line 10
489
"configure"
#line 10
528
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if { (eval echo configure:10
496
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10
535
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
...
...
@@ -10515,7 +10554,7 @@ fi
echo $ac_n "checking for main in -lkrb5""... $ac_c" 1>&6
echo "configure:105
19
: checking for main in -lkrb5" >&5
echo "configure:105
58
: checking for main in -lkrb5" >&5
ac_lib_var=`echo krb5'_'main | sed 'y%./+-:%__p__%'`
if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
...
...
@@ -10523,14 +10562,14 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lkrb5 -l$krb5crypto -lcom_err $LIBS"
cat > conftest.$ac_ext <<EOF
#line 105
27
"configure"
#line 105
66
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if { (eval echo configure:1053
4
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:105
7
3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
...
...
@@ -10555,7 +10594,7 @@ fi
elif test $krb5_impl = heimdal; then
echo $ac_n "checking for main in -ldes""... $ac_c" 1>&6
echo "configure:105
5
9: checking for main in -ldes" >&5
echo "configure:1059
8
: checking for main in -ldes" >&5
ac_lib_var=`echo des'_'main | sed 'y%./+-:%__p__%'`
if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
...
...
@@ -10563,14 +10602,14 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldes $LIBS"
cat > conftest.$ac_ext <<EOF
#line 10
567
"configure"
#line 10
606
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if { (eval echo configure:10
574
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10
613
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
...
...
@@ -10593,7 +10632,7 @@ fi
echo $ac_n "checking for main in -lkrb5""... $ac_c" 1>&6
echo "configure:10
597
: checking for main in -lkrb5" >&5
echo "configure:10
636
: checking for main in -lkrb5" >&5
ac_lib_var=`echo krb5'_'main | sed 'y%./+-:%__p__%'`
if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
...
...
@@ -10601,14 +10640,14 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lkrb5 -l$krb5crypto -lasn1 -lroken -lcom_err $LIBS"
cat > conftest.$ac_ext <<EOF
#line 106
05
"configure"
#line 106
44
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if { (eval echo configure:1061
2
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:106
5
1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
...
...
@@ -10671,17 +10710,17 @@ if test $ol_link_krb5 = yes -a \( $ol_with_kerberos = yes -o \
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:10
675
: checking for $ac_hdr" >&5
echo "configure:10
714
: checking for $ac_hdr" >&5
if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10
680
"configure"
#line 10
719
"configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:10
685
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:10
724
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
...
...
@@ -10711,7 +10750,7 @@ done
if test $ac_cv_header_kerberosIV_krb_h = yes ; then
if test $krb5_impl = mit; then
echo $ac_n "checking for main in -lkrb4""... $ac_c" 1>&6
echo "configure:107
1
5: checking for main in -lkrb4" >&5
echo "configure:1075
4
: checking for main in -lkrb4" >&5
ac_lib_var=`echo krb4'_'main | sed 'y%./+-:%__p__%'`
if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
...
...
@@ -10719,14 +10758,14 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lkrb4 -ldes425 -lkrb5 -l$krb5crypto -lcom_err $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1072
3
"configure"
#line 107
6
2 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if { (eval echo configure:107
30
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:107
69
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
...
...
@@ -10751,7 +10790,7 @@ fi
elif test $krb5_impl = heimdal; then
echo $ac_n "checking for main in -lkrb4""... $ac_c" 1>&6
echo "configure:107
55
: checking for main in -lkrb4" >&5
echo "configure:107
94
: checking for main in -lkrb4" >&5
ac_lib_var=`echo krb4'_'main | sed 'y%./+-:%__p__%'`
if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
...
...
@@ -10759,14 +10798,14 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lkrb4 -lkrb5 -l$krb5crypto -lasn1 -lroken -lcom_err $LIBS"
cat > conftest.$ac_ext <<EOF
#line 10
763
"configure"
#line 10
802
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if { (eval echo configure:10
770
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10
809
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
...
...
@@ -10808,7 +10847,7 @@ EOF
echo $ac_n "checking for des_debug in Kerberos libraries""... $ac_c" 1>&6
echo "configure:1081
2
: checking for des_debug in Kerberos libraries" >&5
echo "configure:108
5
1: checking for des_debug in Kerberos libraries" >&5
if eval "test \"\${ol_cv_var_des_debug+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
...
...
@@ -10816,7 +10855,7 @@ else
save_LIBS="$LIBS"
LIBS="$KRB4_LIBS $KRB5_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 108
20
"configure"
#line 108
59
"configure"
#include "confdefs.h"
#include <kerberosIV/krb.h>
...
...
@@ -10829,7 +10868,7 @@ des_debug = 1;
; return 0; }
EOF
if { (eval echo configure:108
33
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:108
72
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ol_cv_var_des_debug=yes
else
...
...
@@ -10868,17 +10907,17 @@ if test $ol_with_kerberos = yes -o $ol_with_kerberos = auto \
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:10
872
: checking for $ac_hdr" >&5
echo "configure:10
911
: checking for $ac_hdr" >&5
if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10
877
"configure"
#line 10
916
"configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:10
882
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:10
921
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
...
...
@@ -10907,7 +10946,7 @@ done
if test $ac_cv_header_krb_h = yes ; then
echo $ac_n "checking for main in -lkrb""... $ac_c" 1>&6
echo "configure:109
11
: checking for main in -lkrb" >&5
echo "configure:109
50
: checking for main in -lkrb" >&5
ac_lib_var=`echo krb'_'main | sed 'y%./+-:%__p__%'`
if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
...
...
@@ -10915,14 +10954,14 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lkrb -ldes $LIBS"
cat > conftest.$ac_ext <<EOF
#line 109
19
"configure"
#line 109
58
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if { (eval echo configure:109
2
6: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1096
5
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
...
...
@@ -10992,17 +11031,17 @@ if test $ol_with_tls != no ; then
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:1
0996
: checking for $ac_hdr" >&5
echo "configure:1
1035
: checking for $ac_hdr" >&5
if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1100
1
"configure"
#line 110
4
0 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:110
06
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:110
45
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
...
...
@@ -11031,7 +11070,7 @@ done
if test $ac_cv_header_openssl_ssl_h = yes -o $ac_cv_header_ssl_h = yes ; then
echo $ac_n "checking for SSLeay_add_ssl_algorithms in -lssl""... $ac_c" 1>&6
echo "configure:110
35
: checking for SSLeay_add_ssl_algorithms in -lssl" >&5
echo "configure:110
74
: checking for SSLeay_add_ssl_algorithms in -lssl" >&5
ac_lib_var=`echo ssl'_'SSLeay_add_ssl_algorithms | sed 'y%./+-:%__p__%'`
if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
...
...
@@ -11039,7 +11078,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lssl -lcrypto $LIBS"
cat > conftest.$ac_ext <<EOF
#line 110
43
"configure"
#line 110
82
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -11050,7 +11089,7 @@ int main() {
SSLeay_add_ssl_algorithms()
; return 0; }
EOF
if { (eval echo configure:110
54
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:110
93
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
...
...
@@ -11075,7 +11114,7 @@ fi
if test $have_ssleay = no ; then
echo $ac_n "checking for SSL_library_init in -lssl""... $ac_c" 1>&6
echo "configure:11
079
: checking for SSL_library_init in -lssl" >&5
echo "configure:11
118
: checking for SSL_library_init in -lssl" >&5
ac_lib_var=`echo ssl'_'SSL_library_init | sed 'y%./+-:%__p__%'`
if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
...
...
@@ -11083,7 +11122,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lssl -lcrypto $LIBS"
cat > conftest.$ac_ext <<EOF
#line 11
087
"configure"
#line 11
126
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -11094,7 +11133,7 @@ int main() {
SSL_library_init()
; return 0; }
EOF
if { (eval echo configure:11
098
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:11
137
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
...
...
@@ -11120,7 +11159,7 @@ fi
if test $have_ssleay = no ; then
echo $ac_n "checking for ssl3_accept in -lssl""... $ac_c" 1>&6
echo "configure:111
24
: checking for ssl3_accept in -lssl" >&5
echo "configure:111
63
: checking for ssl3_accept in -lssl" >&5
ac_lib_var=`echo ssl'_'ssl3_accept | sed 'y%./+-:%__p__%'`
if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
...
...
@@ -11128,7 +11167,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lssl -lcrypto -lRSAglue -lrsaref $LIBS"
cat > conftest.$ac_ext <<EOF
#line 111
32
"configure"
#line 111
71
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -11139,7 +11178,7 @@ int main() {
ssl3_accept()
; return 0; }
EOF
if { (eval echo configure:111
43
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:111
82
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
...
...
@@ -11220,12 +11259,12 @@ for ac_func in \
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:112
24
: checking for $ac_func" >&5
echo "configure:112
63
: 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 112
29
"configure"
#line 112
68
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
...
...
@@ -11249,7 +11288,7 @@ f = $ac_func;
; return 0; }
EOF
if { (eval echo configure:112
53
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:112
92
: \"$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
...
...
@@ -11278,19 +11317,19 @@ if test "$ac_cv_func_ctime_r" = no ; then
ol_cv_func_ctime_r_nargs=0
else
echo $ac_n "checking number of arguments of ctime_r""... $ac_c" 1>&6
echo "configure:11
282
: checking number of arguments of ctime_r" >&5
echo "configure:11
321
: checking number of arguments of ctime_r" >&5
if eval "test \"\${ol_cv_func_ctime_r_nargs+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 11
287
"configure"
#line 11
326
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
time_t ti; char *buffer; ctime_r(&ti,buffer,32);
; return 0; }
EOF
if { (eval echo configure:11
294
: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:11
333
: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ol_cv_func_ctime_r_nargs3=yes
else
...
...
@@ -11302,14 +11341,14 @@ fi
rm -f conftest*
cat > conftest.$ac_ext <<EOF
#line 113
06
"configure"
#line 113
45
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
time_t ti; char *buffer; ctime_r(&ti,buffer);
; return 0; }
EOF
if { (eval echo configure:113
13
: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:113
52
: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ol_cv_func_ctime_r_nargs2=yes
else
...
...
@@ -11349,12 +11388,12 @@ fi
if test "$ac_cv_func_gethostbyname_r" = yes ; then
echo $ac_n "checking number of arguments of gethostbyname_r""... $ac_c" 1>&6
echo "configure:113
53
: checking number of arguments of gethostbyname_r" >&5
echo "configure:113
92
: checking number of arguments of gethostbyname_r" >&5
if eval "test \"\${ol_cv_func_gethostbyname_r_nargs+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 113
58
"configure"
#line 113
97
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -11368,7 +11407,7 @@ struct hostent hent; char buffer[BUFSIZE];
buffer, bufsize, &h_errno);
; return 0; }
EOF
if { (eval echo configure:11
372
: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:11
411
: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ol_cv_func_gethostbyname_r_nargs5=yes
else
...
...
@@ -11380,7 +11419,7 @@ fi
rm -f conftest*
cat > conftest.$ac_ext <<EOF
#line 11
384
"configure"
#line 11
423
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -11395,7 +11434,7 @@ struct hostent hent;struct hostent *rhent;
&rhent, &h_errno);
; return 0; }
EOF
if { (eval echo configure:11
399
: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:11
438
: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ol_cv_func_gethostbyname_r_nargs6=yes
else
...
...
@@ -11436,12 +11475,12 @@ fi
if test "$ac_cv_func_gethostbyaddr_r" = yes ; then
echo $ac_n "checking number of arguments of gethostbyaddr_r""... $ac_c" 1>&6
echo "configure:114
40
: checking number of arguments of gethostbyaddr_r" >&5
echo "configure:114
79
: checking number of arguments of gethostbyaddr_r" >&5
if eval "test \"\${ol_cv_func_gethostbyaddr_r_nargs+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1144
5
"configure"
#line 114
8
4 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -11457,7 +11496,7 @@ struct hostent hent; char buffer[BUFSIZE];
alen, AF_INET, &hent, buffer, bufsize, &h_errno);
; return 0; }
EOF
if { (eval echo configure:11
461
: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:11
500
: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ol_cv_func_gethostbyaddr_r_nargs7=yes
else
...
...
@@ -11469,7 +11508,7 @@ fi
rm -f conftest*
cat > conftest.$ac_ext <<EOF
#line 11
473
"configure"
#line 11
512
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -11487,7 +11526,7 @@ struct hostent hent;
&rhent, &h_errno);
; return 0; }
EOF
if { (eval echo configure:11
491
: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:11
530
: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ol_cv_func_gethostbyaddr_r_nargs8=yes
else
...
...
@@ -11550,12 +11589,12 @@ if test $ol_with_threads = auto -o $ol_with_threads = yes \
echo $ac_n "checking for _beginthread""... $ac_c" 1>&6
echo "configure:115
54
: checking for _beginthread" >&5
echo "configure:115
93
: checking for _beginthread" >&5
if eval "test \"\${ac_cv_func__beginthread+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 115
5
9 "configure"
#line 1159
8
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _beginthread(); below. */
...
...
@@ -11579,7 +11618,7 @@ f = _beginthread;
; return 0; }
EOF
if { (eval echo configure:11
583
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:11
622
: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func__beginthread=yes"
else
...
...
@@ -11635,17 +11674,17 @@ if test $ol_with_threads = auto -o $ol_with_threads = yes \
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:116
39
: checking for $ac_hdr" >&5
echo "configure:116
78
: checking for $ac_hdr" >&5
if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 116
44
"configure"
#line 116
83
"configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:116
49
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:116
88
: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
...
...
@@ -11674,13 +11713,13 @@ done
if test $ac_cv_header_pthread_h = yes ; then
echo $ac_n "checking POSIX thread version""... $ac_c" 1>&6
echo "configure:11
678
: checking POSIX thread version" >&5
echo "configure:11
717
: checking POSIX thread version" >&5
if eval "test \"\${ol_cv_pthread_version+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 11
684
"configure"
#line 11
723
"configure"
#include "confdefs.h"
# include <pthread.h>
...
...
@@ -11702,7 +11741,7 @@ rm -f conftest*
cat > conftest.$ac_ext <<EOF
#line 117
06
"configure"
#line 117
45
"configure"
#include "confdefs.h"
# include <pthread.h>
...
...
@@ -11755,12 +11794,12 @@ EOF
echo $ac_n "checking for LinuxThreads pthread.h""... $ac_c" 1>&6
echo "configure:117
5
9: checking for LinuxThreads pthread.h" >&5
echo "configure:1179
8
: checking for LinuxThreads pthread.h" >&5
if eval "test \"\${ol_cv_header_linux_threads+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 11
764
"configure"
#line 11
803
"configure"
#include "confdefs.h"
#include <pthread.h>
EOF
...
...
@@ -11787,12 +11826,12 @@ EOF