Commit 861a65bc authored by Martin v. Löwis's avatar Martin v. Löwis

Include netdb.h to detect getaddrinfo. Work around problem with getaddrinfo

not properly processing numeric IPv4 addresses. Fixes V5.1 part of #472675.
parent 6bc55c43
...@@ -622,6 +622,12 @@ setipaddr(char* name, struct sockaddr * addr_ret, int af) ...@@ -622,6 +622,12 @@ setipaddr(char* name, struct sockaddr * addr_ret, int af)
memset(&hints, 0, sizeof(hints)); memset(&hints, 0, sizeof(hints));
hints.ai_family = af; hints.ai_family = af;
error = getaddrinfo(name, NULL, &hints, &res); error = getaddrinfo(name, NULL, &hints, &res);
if (error = EAI_NONAME && af == AF_UNSPEC) {
/* On OSF/1 V5.1, numeric-to-addr conversion
fails if no address family is given. Assume IPv4 for now.*/
hints.ai_family = AF_INET;
error = getaddrinfo(name, NULL, &hints, &res);
}
if (error) { if (error) {
PyGAI_Err(error); PyGAI_Err(error);
return -1; return -1;
......
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.275 # From configure.in Revision: 1.276
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13 # Generated automatically using autoconf version 2.13
...@@ -2404,7 +2404,6 @@ else ...@@ -2404,7 +2404,6 @@ else
#line 2405 "configure" #line 2405 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
...@@ -2413,7 +2412,7 @@ main() ...@@ -2413,7 +2412,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_int=`cat conftestval` ac_cv_sizeof_int=`cat conftestval`
else else
...@@ -2433,7 +2432,7 @@ EOF ...@@ -2433,7 +2432,7 @@ EOF
echo $ac_n "checking size of long""... $ac_c" 1>&6 echo $ac_n "checking size of long""... $ac_c" 1>&6
echo "configure:2437: checking size of long" >&5 echo "configure:2436: checking size of long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2441,10 +2440,9 @@ else ...@@ -2441,10 +2440,9 @@ else
ac_cv_sizeof_long=4 ac_cv_sizeof_long=4
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2445 "configure" #line 2444 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
...@@ -2453,7 +2451,7 @@ main() ...@@ -2453,7 +2451,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_long=`cat conftestval` ac_cv_sizeof_long=`cat conftestval`
else else
...@@ -2473,7 +2471,7 @@ EOF ...@@ -2473,7 +2471,7 @@ EOF
echo $ac_n "checking size of void *""... $ac_c" 1>&6 echo $ac_n "checking size of void *""... $ac_c" 1>&6
echo "configure:2477: checking size of void *" >&5 echo "configure:2475: checking size of void *" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2481,10 +2479,9 @@ else ...@@ -2481,10 +2479,9 @@ else
ac_cv_sizeof_void_p=4 ac_cv_sizeof_void_p=4
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2485 "configure" #line 2483 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
...@@ -2493,7 +2490,7 @@ main() ...@@ -2493,7 +2490,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_void_p=`cat conftestval` ac_cv_sizeof_void_p=`cat conftestval`
else else
...@@ -2513,7 +2510,7 @@ EOF ...@@ -2513,7 +2510,7 @@ EOF
echo $ac_n "checking size of char""... $ac_c" 1>&6 echo $ac_n "checking size of char""... $ac_c" 1>&6
echo "configure:2517: checking size of char" >&5 echo "configure:2514: checking size of char" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2521,10 +2518,9 @@ else ...@@ -2521,10 +2518,9 @@ else
ac_cv_sizeof_char=1 ac_cv_sizeof_char=1
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2525 "configure" #line 2522 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
...@@ -2533,7 +2529,7 @@ main() ...@@ -2533,7 +2529,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_char=`cat conftestval` ac_cv_sizeof_char=`cat conftestval`
else else
...@@ -2553,7 +2549,7 @@ EOF ...@@ -2553,7 +2549,7 @@ EOF
echo $ac_n "checking size of short""... $ac_c" 1>&6 echo $ac_n "checking size of short""... $ac_c" 1>&6
echo "configure:2557: checking size of short" >&5 echo "configure:2553: checking size of short" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2561,10 +2557,9 @@ else ...@@ -2561,10 +2557,9 @@ else
ac_cv_sizeof_short=2 ac_cv_sizeof_short=2
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2565 "configure" #line 2561 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
...@@ -2573,7 +2568,7 @@ main() ...@@ -2573,7 +2568,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_short=`cat conftestval` ac_cv_sizeof_short=`cat conftestval`
else else
...@@ -2593,7 +2588,7 @@ EOF ...@@ -2593,7 +2588,7 @@ EOF
echo $ac_n "checking size of float""... $ac_c" 1>&6 echo $ac_n "checking size of float""... $ac_c" 1>&6
echo "configure:2597: checking size of float" >&5 echo "configure:2592: checking size of float" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2601,10 +2596,9 @@ else ...@@ -2601,10 +2596,9 @@ else
ac_cv_sizeof_float=4 ac_cv_sizeof_float=4
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2605 "configure" #line 2600 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
...@@ -2613,7 +2607,7 @@ main() ...@@ -2613,7 +2607,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_float=`cat conftestval` ac_cv_sizeof_float=`cat conftestval`
else else
...@@ -2633,7 +2627,7 @@ EOF ...@@ -2633,7 +2627,7 @@ EOF
echo $ac_n "checking size of double""... $ac_c" 1>&6 echo $ac_n "checking size of double""... $ac_c" 1>&6
echo "configure:2637: checking size of double" >&5 echo "configure:2631: checking size of double" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2641,10 +2635,9 @@ else ...@@ -2641,10 +2635,9 @@ else
ac_cv_sizeof_double=8 ac_cv_sizeof_double=8
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2645 "configure" #line 2639 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
...@@ -2653,7 +2646,7 @@ main() ...@@ -2653,7 +2646,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_double=`cat conftestval` ac_cv_sizeof_double=`cat conftestval`
else else
...@@ -2673,7 +2666,7 @@ EOF ...@@ -2673,7 +2666,7 @@ EOF
echo $ac_n "checking size of fpos_t""... $ac_c" 1>&6 echo $ac_n "checking size of fpos_t""... $ac_c" 1>&6
echo "configure:2677: checking size of fpos_t" >&5 echo "configure:2670: checking size of fpos_t" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_fpos_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_fpos_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2681,10 +2674,9 @@ else ...@@ -2681,10 +2674,9 @@ else
ac_cv_sizeof_fpos_t=4 ac_cv_sizeof_fpos_t=4
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2685 "configure" #line 2678 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
...@@ -2693,7 +2685,7 @@ main() ...@@ -2693,7 +2685,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_fpos_t=`cat conftestval` ac_cv_sizeof_fpos_t=`cat conftestval`
else else
...@@ -2714,17 +2706,17 @@ EOF ...@@ -2714,17 +2706,17 @@ EOF
echo $ac_n "checking for long long support""... $ac_c" 1>&6 echo $ac_n "checking for long long support""... $ac_c" 1>&6
echo "configure:2718: checking for long long support" >&5 echo "configure:2710: checking for long long support" >&5
have_long_long=no have_long_long=no
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2721 "configure" #line 2713 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
long long x; x = (long long)0; long long x; x = (long long)0;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_LONG_LONG 1 #define HAVE_LONG_LONG 1
...@@ -2738,7 +2730,7 @@ rm -f conftest* ...@@ -2738,7 +2730,7 @@ rm -f conftest*
echo "$ac_t""$have_long_long" 1>&6 echo "$ac_t""$have_long_long" 1>&6
if test "$have_long_long" = yes ; then if test "$have_long_long" = yes ; then
echo $ac_n "checking size of long long""... $ac_c" 1>&6 echo $ac_n "checking size of long long""... $ac_c" 1>&6
echo "configure:2742: checking size of long long" >&5 echo "configure:2734: checking size of long long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2746,10 +2738,9 @@ else ...@@ -2746,10 +2738,9 @@ else
ac_cv_sizeof_long_long=8 ac_cv_sizeof_long_long=8
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2750 "configure" #line 2742 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
...@@ -2758,7 +2749,7 @@ main() ...@@ -2758,7 +2749,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_long_long=`cat conftestval` ac_cv_sizeof_long_long=`cat conftestval`
else else
...@@ -2780,17 +2771,17 @@ EOF ...@@ -2780,17 +2771,17 @@ EOF
fi fi
echo $ac_n "checking for uintptr_t support""... $ac_c" 1>&6 echo $ac_n "checking for uintptr_t support""... $ac_c" 1>&6
echo "configure:2784: checking for uintptr_t support" >&5 echo "configure:2775: checking for uintptr_t support" >&5
have_uintptr_t=no have_uintptr_t=no
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2787 "configure" #line 2778 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
uintptr_t x; x = (uintptr_t)0; uintptr_t x; x = (uintptr_t)0;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_UINTPTR_T 1 #define HAVE_UINTPTR_T 1
...@@ -2804,7 +2795,7 @@ rm -f conftest* ...@@ -2804,7 +2795,7 @@ rm -f conftest*
echo "$ac_t""$have_uintptr_t" 1>&6 echo "$ac_t""$have_uintptr_t" 1>&6
if test "$have_uintptr_t" = yes ; then if test "$have_uintptr_t" = yes ; then
echo $ac_n "checking size of uintptr_t""... $ac_c" 1>&6 echo $ac_n "checking size of uintptr_t""... $ac_c" 1>&6
echo "configure:2808: checking size of uintptr_t" >&5 echo "configure:2799: checking size of uintptr_t" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_uintptr_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_uintptr_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2812,10 +2803,9 @@ else ...@@ -2812,10 +2803,9 @@ else
ac_cv_sizeof_uintptr_t=4 ac_cv_sizeof_uintptr_t=4
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2816 "configure" #line 2807 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
...@@ -2824,7 +2814,7 @@ main() ...@@ -2824,7 +2814,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_uintptr_t=`cat conftestval` ac_cv_sizeof_uintptr_t=`cat conftestval`
else else
...@@ -2847,7 +2837,7 @@ fi ...@@ -2847,7 +2837,7 @@ fi
# Hmph. AC_CHECK_SIZEOF() doesn't include <sys/types.h>. # Hmph. AC_CHECK_SIZEOF() doesn't include <sys/types.h>.
echo $ac_n "checking size of off_t""... $ac_c" 1>&6 echo $ac_n "checking size of off_t""... $ac_c" 1>&6
echo "configure:2851: checking size of off_t" >&5 echo "configure:2841: checking size of off_t" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_off_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_off_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2855,7 +2845,7 @@ else ...@@ -2855,7 +2845,7 @@ else
ac_cv_sizeof_off_t=4 ac_cv_sizeof_off_t=4
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2859 "configure" #line 2849 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
...@@ -2867,7 +2857,7 @@ main() ...@@ -2867,7 +2857,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_off_t=`cat conftestval` ac_cv_sizeof_off_t=`cat conftestval`
else else
...@@ -2889,7 +2879,7 @@ EOF ...@@ -2889,7 +2879,7 @@ EOF
echo $ac_n "checking whether to enable large file support""... $ac_c" 1>&6 echo $ac_n "checking whether to enable large file support""... $ac_c" 1>&6
echo "configure:2893: checking whether to enable large file support" >&5 echo "configure:2883: checking whether to enable large file support" >&5
if test "$have_long_long" = yes -a \ if test "$have_long_long" = yes -a \
"$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \ "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
"$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then "$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then
...@@ -2904,7 +2894,7 @@ fi ...@@ -2904,7 +2894,7 @@ fi
# AC_CHECK_SIZEOF() doesn't include <time.h>. # AC_CHECK_SIZEOF() doesn't include <time.h>.
echo $ac_n "checking size of time_t""... $ac_c" 1>&6 echo $ac_n "checking size of time_t""... $ac_c" 1>&6
echo "configure:2908: checking size of time_t" >&5 echo "configure:2898: checking size of time_t" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_time_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_time_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2912,7 +2902,7 @@ else ...@@ -2912,7 +2902,7 @@ else
ac_cv_sizeof_time_t=4 ac_cv_sizeof_time_t=4
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2916 "configure" #line 2906 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>
...@@ -2924,7 +2914,7 @@ main() ...@@ -2924,7 +2914,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_time_t=`cat conftestval` ac_cv_sizeof_time_t=`cat conftestval`
else else
...@@ -2952,17 +2942,17 @@ if test "$ac_cv_kpthread" = "yes" ...@@ -2952,17 +2942,17 @@ if test "$ac_cv_kpthread" = "yes"
then CC="$CC -Kpthread" then CC="$CC -Kpthread"
fi fi
echo $ac_n "checking for pthread_t""... $ac_c" 1>&6 echo $ac_n "checking for pthread_t""... $ac_c" 1>&6
echo "configure:2956: checking for pthread_t" >&5 echo "configure:2946: checking for pthread_t" >&5
have_pthread_t=no have_pthread_t=no
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2959 "configure" #line 2949 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <pthread.h> #include <pthread.h>
int main() { int main() {
pthread_t x; x = *(pthread_t*)0; pthread_t x; x = *(pthread_t*)0;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
have_pthread_t=yes have_pthread_t=yes
else else
...@@ -2974,7 +2964,7 @@ echo "$ac_t""$have_pthread_t" 1>&6 ...@@ -2974,7 +2964,7 @@ echo "$ac_t""$have_pthread_t" 1>&6
if test "$have_pthread_t" = yes ; then if test "$have_pthread_t" = yes ; then
# AC_CHECK_SIZEOF() doesn't include <pthread.h>. # AC_CHECK_SIZEOF() doesn't include <pthread.h>.
echo $ac_n "checking size of pthread_t""... $ac_c" 1>&6 echo $ac_n "checking size of pthread_t""... $ac_c" 1>&6
echo "configure:2978: checking size of pthread_t" >&5 echo "configure:2968: checking size of pthread_t" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_pthread_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_pthread_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2982,7 +2972,7 @@ else ...@@ -2982,7 +2972,7 @@ else
ac_cv_sizeof_pthread_t=4 ac_cv_sizeof_pthread_t=4
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2986 "configure" #line 2976 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <pthread.h> #include <pthread.h>
...@@ -2994,7 +2984,7 @@ else ...@@ -2994,7 +2984,7 @@ else
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:2998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_pthread_t=`cat conftestval` ac_cv_sizeof_pthread_t=`cat conftestval`
else else
...@@ -3018,7 +3008,7 @@ fi ...@@ -3018,7 +3008,7 @@ fi
CC="$ac_save_cc" CC="$ac_save_cc"
echo $ac_n "checking for --enable-toolbox-glue""... $ac_c" 1>&6 echo $ac_n "checking for --enable-toolbox-glue""... $ac_c" 1>&6
echo "configure:3022: checking for --enable-toolbox-glue" >&5 echo "configure:3012: checking for --enable-toolbox-glue" >&5
# Check whether --enable-toolbox-glue or --disable-toolbox-glue was given. # Check whether --enable-toolbox-glue or --disable-toolbox-glue was given.
if test "${enable_toolbox_glue+set}" = set; then if test "${enable_toolbox_glue+set}" = set; then
enableval="$enable_toolbox_glue" enableval="$enable_toolbox_glue"
...@@ -3070,7 +3060,7 @@ case $ac_sys_system/$ac_sys_release in ...@@ -3070,7 +3060,7 @@ case $ac_sys_system/$ac_sys_release in
esac esac
echo $ac_n "checking for --enable-framework""... $ac_c" 1>&6 echo $ac_n "checking for --enable-framework""... $ac_c" 1>&6
echo "configure:3074: checking for --enable-framework" >&5 echo "configure:3064: checking for --enable-framework" >&5
if test "$enable_framework" if test "$enable_framework"
then then
OPT="$OPT -fno-common -dynamic" OPT="$OPT -fno-common -dynamic"
...@@ -3093,7 +3083,7 @@ else ...@@ -3093,7 +3083,7 @@ else
fi fi
echo $ac_n "checking for dyld""... $ac_c" 1>&6 echo $ac_n "checking for dyld""... $ac_c" 1>&6
echo "configure:3097: checking for dyld" >&5 echo "configure:3087: checking for dyld" >&5
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
Darwin/*) Darwin/*)
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
...@@ -3116,7 +3106,7 @@ esac ...@@ -3116,7 +3106,7 @@ esac
# SO is the extension of shared libraries `(including the dot!) # SO is the extension of shared libraries `(including the dot!)
# -- usually .so, .sl on HP-UX, .dll on Cygwin # -- usually .so, .sl on HP-UX, .dll on Cygwin
echo $ac_n "checking SO""... $ac_c" 1>&6 echo $ac_n "checking SO""... $ac_c" 1>&6
echo "configure:3120: checking SO" >&5 echo "configure:3110: checking SO" >&5
if test -z "$SO" if test -z "$SO"
then then
case $ac_sys_system in case $ac_sys_system in
...@@ -3131,7 +3121,7 @@ echo "$ac_t""$SO" 1>&6 ...@@ -3131,7 +3121,7 @@ echo "$ac_t""$SO" 1>&6
# (Shared libraries in this instance are shared modules to be loaded into # (Shared libraries in this instance are shared modules to be loaded into
# Python, as opposed to building Python itself as a shared library.) # Python, as opposed to building Python itself as a shared library.)
echo $ac_n "checking LDSHARED""... $ac_c" 1>&6 echo $ac_n "checking LDSHARED""... $ac_c" 1>&6
echo "configure:3135: checking LDSHARED" >&5 echo "configure:3125: checking LDSHARED" >&5
if test -z "$LDSHARED" if test -z "$LDSHARED"
then then
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
...@@ -3198,7 +3188,7 @@ BLDSHARED=${BLDSHARED-$LDSHARED} ...@@ -3198,7 +3188,7 @@ BLDSHARED=${BLDSHARED-$LDSHARED}
# CCSHARED are the C *flags* used to create objects to go into a shared # CCSHARED are the C *flags* used to create objects to go into a shared
# library (module) -- this is only needed for a few systems # library (module) -- this is only needed for a few systems
echo $ac_n "checking CCSHARED""... $ac_c" 1>&6 echo $ac_n "checking CCSHARED""... $ac_c" 1>&6
echo "configure:3202: checking CCSHARED" >&5 echo "configure:3192: checking CCSHARED" >&5
if test -z "$CCSHARED" if test -z "$CCSHARED"
then then
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
...@@ -3230,7 +3220,7 @@ echo "$ac_t""$CCSHARED" 1>&6 ...@@ -3230,7 +3220,7 @@ echo "$ac_t""$CCSHARED" 1>&6
# LINKFORSHARED are the flags passed to the $(CC) command that links # LINKFORSHARED are the flags passed to the $(CC) command that links
# the python executable -- this is only needed for a few systems # the python executable -- this is only needed for a few systems
echo $ac_n "checking LINKFORSHARED""... $ac_c" 1>&6 echo $ac_n "checking LINKFORSHARED""... $ac_c" 1>&6
echo "configure:3234: checking LINKFORSHARED" >&5 echo "configure:3224: checking LINKFORSHARED" >&5
if test -z "$LINKFORSHARED" if test -z "$LINKFORSHARED"
then then
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
...@@ -3275,7 +3265,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6 ...@@ -3275,7 +3265,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
echo $ac_n "checking CFLAGSFORSHARED""... $ac_c" 1>&6 echo $ac_n "checking CFLAGSFORSHARED""... $ac_c" 1>&6
echo "configure:3279: checking CFLAGSFORSHARED" >&5 echo "configure:3269: checking CFLAGSFORSHARED" >&5
if test ! "$LIBRARY" = "$LDLIBRARY" if test ! "$LIBRARY" = "$LDLIBRARY"
then then
case $ac_sys_system in case $ac_sys_system in
...@@ -3291,7 +3281,7 @@ echo "$ac_t""$CFLAGSFORSHARED" 1>&6 ...@@ -3291,7 +3281,7 @@ echo "$ac_t""$CFLAGSFORSHARED" 1>&6
# checks for libraries # checks for libraries
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
echo "configure:3295: checking for dlopen in -ldl" >&5 echo "configure:3285: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -3299,7 +3289,7 @@ else ...@@ -3299,7 +3289,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS" LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3303 "configure" #line 3293 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3310,7 +3300,7 @@ int main() { ...@@ -3310,7 +3300,7 @@ int main() {
dlopen() dlopen()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -3338,7 +3328,7 @@ else ...@@ -3338,7 +3328,7 @@ else
fi fi
# Dynamic linking for SunOS/Solaris and SYSV # Dynamic linking for SunOS/Solaris and SYSV
echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
echo "configure:3342: checking for shl_load in -ldld" >&5 echo "configure:3332: checking for shl_load in -ldld" >&5
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -3346,7 +3336,7 @@ else ...@@ -3346,7 +3336,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-ldld $LIBS" LIBS="-ldld $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3350 "configure" #line 3340 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3357,7 +3347,7 @@ int main() { ...@@ -3357,7 +3347,7 @@ int main() {
shl_load() shl_load()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -3388,16 +3378,16 @@ fi ...@@ -3388,16 +3378,16 @@ fi
# checks for system dependent C++ extensions support # checks for system dependent C++ extensions support
case "$ac_sys_system" in case "$ac_sys_system" in
AIX*) echo $ac_n "checking for genuine AIX C++ extensions support""... $ac_c" 1>&6 AIX*) echo $ac_n "checking for genuine AIX C++ extensions support""... $ac_c" 1>&6
echo "configure:3392: checking for genuine AIX C++ extensions support" >&5 echo "configure:3382: checking for genuine AIX C++ extensions support" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3394 "configure" #line 3384 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "/usr/lpp/xlC/include/load.h" #include "/usr/lpp/xlC/include/load.h"
int main() { int main() {
loadAndInit("", 0, "") loadAndInit("", 0, "")
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define AIX_GENUINE_CPLUSPLUS 1 #define AIX_GENUINE_CPLUSPLUS 1
...@@ -3421,7 +3411,7 @@ case "$ac_sys_system" in ...@@ -3421,7 +3411,7 @@ case "$ac_sys_system" in
IRIX*) ;; IRIX*) ;;
*) *)
echo $ac_n "checking for t_open in -lnsl""... $ac_c" 1>&6 echo $ac_n "checking for t_open in -lnsl""... $ac_c" 1>&6
echo "configure:3425: checking for t_open in -lnsl" >&5 echo "configure:3415: checking for t_open in -lnsl" >&5
ac_lib_var=`echo nsl'_'t_open | sed 'y%./+-%__p_%'` ac_lib_var=`echo nsl'_'t_open | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -3429,7 +3419,7 @@ else ...@@ -3429,7 +3419,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lnsl $LIBS" LIBS="-lnsl $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3433 "configure" #line 3423 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3440,7 +3430,7 @@ int main() { ...@@ -3440,7 +3430,7 @@ int main() {
t_open() t_open()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -3461,7 +3451,7 @@ else ...@@ -3461,7 +3451,7 @@ else
fi fi
# SVR4 # SVR4
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
echo "configure:3465: checking for socket in -lsocket" >&5 echo "configure:3455: checking for socket in -lsocket" >&5
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -3469,7 +3459,7 @@ else ...@@ -3469,7 +3459,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lsocket $LIBS $LIBS" LIBS="-lsocket $LIBS $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3473 "configure" #line 3463 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3480,7 +3470,7 @@ int main() { ...@@ -3480,7 +3470,7 @@ int main() {
socket() socket()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -3505,7 +3495,7 @@ esac ...@@ -3505,7 +3495,7 @@ esac
case "$ac_sys_system" in case "$ac_sys_system" in
BeOS*) BeOS*)
echo $ac_n "checking for socket in -lnet""... $ac_c" 1>&6 echo $ac_n "checking for socket in -lnet""... $ac_c" 1>&6
echo "configure:3509: checking for socket in -lnet" >&5 echo "configure:3499: checking for socket in -lnet" >&5
ac_lib_var=`echo net'_'socket | sed 'y%./+-%__p_%'` ac_lib_var=`echo net'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -3513,7 +3503,7 @@ else ...@@ -3513,7 +3503,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lnet $LIBS $LIBS" LIBS="-lnet $LIBS $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3517 "configure" #line 3507 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3524,7 +3514,7 @@ int main() { ...@@ -3524,7 +3514,7 @@ int main() {
socket() socket()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -3548,7 +3538,7 @@ fi ...@@ -3548,7 +3538,7 @@ fi
esac esac
echo $ac_n "checking for --with-libs""... $ac_c" 1>&6 echo $ac_n "checking for --with-libs""... $ac_c" 1>&6
echo "configure:3552: checking for --with-libs" >&5 echo "configure:3542: checking for --with-libs" >&5
# Check whether --with-libs or --without-libs was given. # Check whether --with-libs or --without-libs was given.
if test "${with_libs+set}" = set; then if test "${with_libs+set}" = set; then
withval="$with_libs" withval="$with_libs"
...@@ -3565,7 +3555,7 @@ fi ...@@ -3565,7 +3555,7 @@ fi
echo $ac_n "checking for --with-signal-module""... $ac_c" 1>&6 echo $ac_n "checking for --with-signal-module""... $ac_c" 1>&6
echo "configure:3569: checking for --with-signal-module" >&5 echo "configure:3559: checking for --with-signal-module" >&5
# Check whether --with-signal-module or --without-signal-module was given. # Check whether --with-signal-module or --without-signal-module was given.
if test "${with_signal_module+set}" = set; then if test "${with_signal_module+set}" = set; then
withval="$with_signal_module" withval="$with_signal_module"
...@@ -3591,7 +3581,7 @@ fi ...@@ -3591,7 +3581,7 @@ fi
USE_THREAD_MODULE="" USE_THREAD_MODULE=""
echo $ac_n "checking for --with-dec-threads""... $ac_c" 1>&6 echo $ac_n "checking for --with-dec-threads""... $ac_c" 1>&6
echo "configure:3595: checking for --with-dec-threads" >&5 echo "configure:3585: checking for --with-dec-threads" >&5
# Check whether --with-dec-threads or --without-dec-threads was given. # Check whether --with-dec-threads or --without-dec-threads was given.
if test "${with_dec_threads+set}" = set; then if test "${with_dec_threads+set}" = set; then
...@@ -3608,7 +3598,7 @@ fi ...@@ -3608,7 +3598,7 @@ fi
echo $ac_n "checking for --with-threads""... $ac_c" 1>&6 echo $ac_n "checking for --with-threads""... $ac_c" 1>&6
echo "configure:3612: checking for --with-threads" >&5 echo "configure:3602: checking for --with-threads" >&5
# Check whether --with-threads or --without-threads was given. # Check whether --with-threads or --without-threads was given.
if test "${with_threads+set}" = set; then if test "${with_threads+set}" = set; then
withval="$with_threads" withval="$with_threads"
...@@ -3666,9 +3656,9 @@ else ...@@ -3666,9 +3656,9 @@ else
# According to the POSIX spec, a pthreads implementation must # According to the POSIX spec, a pthreads implementation must
# define _POSIX_THREADS in unistd.h. Some apparently don't (which ones?) # define _POSIX_THREADS in unistd.h. Some apparently don't (which ones?)
echo $ac_n "checking for _POSIX_THREADS in unistd.h""... $ac_c" 1>&6 echo $ac_n "checking for _POSIX_THREADS in unistd.h""... $ac_c" 1>&6
echo "configure:3670: checking for _POSIX_THREADS in unistd.h" >&5 echo "configure:3660: checking for _POSIX_THREADS in unistd.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3672 "configure" #line 3662 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <unistd.h> #include <unistd.h>
#ifdef _POSIX_THREADS #ifdef _POSIX_THREADS
...@@ -3694,17 +3684,17 @@ EOF ...@@ -3694,17 +3684,17 @@ EOF
ac_safe=`echo "mach/cthreads.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "mach/cthreads.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for mach/cthreads.h""... $ac_c" 1>&6 echo $ac_n "checking for mach/cthreads.h""... $ac_c" 1>&6
echo "configure:3698: checking for mach/cthreads.h" >&5 echo "configure:3688: checking for mach/cthreads.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3703 "configure" #line 3693 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <mach/cthreads.h> #include <mach/cthreads.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:3698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -3733,7 +3723,7 @@ else ...@@ -3733,7 +3723,7 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for --with-pth""... $ac_c" 1>&6 echo $ac_n "checking for --with-pth""... $ac_c" 1>&6
echo "configure:3737: checking for --with-pth" >&5 echo "configure:3727: checking for --with-pth" >&5
# Check whether --with-pth or --without-pth was given. # Check whether --with-pth or --without-pth was given.
if test "${with_pth+set}" = set; then if test "${with_pth+set}" = set; then
withval="$with_pth" withval="$with_pth"
...@@ -3759,9 +3749,9 @@ else ...@@ -3759,9 +3749,9 @@ else
_libs=$LIBS _libs=$LIBS
LIBS="$LIBS -lpthread" LIBS="$LIBS -lpthread"
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
echo "configure:3763: checking for pthread_create in -lpthread" >&5 echo "configure:3753: checking for pthread_create in -lpthread" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3765 "configure" #line 3755 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <pthread.h> #include <pthread.h>
...@@ -3771,7 +3761,7 @@ int main() { ...@@ -3771,7 +3761,7 @@ int main() {
pthread_create (NULL, NULL, start_routine, NULL) pthread_create (NULL, NULL, start_routine, NULL)
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
...@@ -3788,12 +3778,12 @@ else ...@@ -3788,12 +3778,12 @@ else
LIBS=$_libs LIBS=$_libs
echo $ac_n "checking for pthread_detach""... $ac_c" 1>&6 echo $ac_n "checking for pthread_detach""... $ac_c" 1>&6
echo "configure:3792: checking for pthread_detach" >&5 echo "configure:3782: checking for pthread_detach" >&5
if eval "test \"`echo '$''{'ac_cv_func_pthread_detach'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_pthread_detach'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3797 "configure" #line 3787 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_detach(); below. */ which can conflict with char pthread_detach(); below. */
...@@ -3816,7 +3806,7 @@ pthread_detach(); ...@@ -3816,7 +3806,7 @@ pthread_detach();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_pthread_detach=yes" eval "ac_cv_func_pthread_detach=yes"
else else
...@@ -3841,17 +3831,17 @@ else ...@@ -3841,17 +3831,17 @@ else
ac_safe=`echo "kernel/OS.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "kernel/OS.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for kernel/OS.h""... $ac_c" 1>&6 echo $ac_n "checking for kernel/OS.h""... $ac_c" 1>&6
echo "configure:3845: checking for kernel/OS.h" >&5 echo "configure:3835: checking for kernel/OS.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3850 "configure" #line 3840 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <kernel/OS.h> #include <kernel/OS.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:3845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -3880,7 +3870,7 @@ else ...@@ -3880,7 +3870,7 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6 echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
echo "configure:3884: checking for pthread_create in -lpthreads" >&5 echo "configure:3874: checking for pthread_create in -lpthreads" >&5
ac_lib_var=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'` ac_lib_var=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -3888,7 +3878,7 @@ else ...@@ -3888,7 +3878,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lpthreads $LIBS" LIBS="-lpthreads $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3892 "configure" #line 3882 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3899,7 +3889,7 @@ int main() { ...@@ -3899,7 +3889,7 @@ int main() {
pthread_create() pthread_create()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -3925,7 +3915,7 @@ else ...@@ -3925,7 +3915,7 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
echo "configure:3929: checking for pthread_create in -lc_r" >&5 echo "configure:3919: checking for pthread_create in -lc_r" >&5
ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'` ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -3933,7 +3923,7 @@ else ...@@ -3933,7 +3923,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lc_r $LIBS" LIBS="-lc_r $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3937 "configure" #line 3927 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3944,7 +3934,7 @@ int main() { ...@@ -3944,7 +3934,7 @@ int main() {
pthread_create() pthread_create()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -3970,7 +3960,7 @@ else ...@@ -3970,7 +3960,7 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for __d6_pthread_create in -lthread""... $ac_c" 1>&6 echo $ac_n "checking for __d6_pthread_create in -lthread""... $ac_c" 1>&6
echo "configure:3974: checking for __d6_pthread_create in -lthread" >&5 echo "configure:3964: checking for __d6_pthread_create in -lthread" >&5
ac_lib_var=`echo thread'_'__d6_pthread_create | sed 'y%./+-%__p_%'` ac_lib_var=`echo thread'_'__d6_pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -3978,7 +3968,7 @@ else ...@@ -3978,7 +3968,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lthread $LIBS" LIBS="-lthread $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3982 "configure" #line 3972 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3989,7 +3979,7 @@ int main() { ...@@ -3989,7 +3979,7 @@ int main() {
__d6_pthread_create() __d6_pthread_create()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -4015,7 +4005,7 @@ else ...@@ -4015,7 +4005,7 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6 echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
echo "configure:4019: checking for __pthread_create_system in -lpthread" >&5 echo "configure:4009: checking for __pthread_create_system in -lpthread" >&5
ac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'` ac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -4023,7 +4013,7 @@ else ...@@ -4023,7 +4013,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS" LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4027 "configure" #line 4017 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -4034,7 +4024,7 @@ int main() { ...@@ -4034,7 +4024,7 @@ int main() {
__pthread_create_system() __pthread_create_system()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -4060,7 +4050,7 @@ else ...@@ -4060,7 +4050,7 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for pthread_create in -lcma""... $ac_c" 1>&6 echo $ac_n "checking for pthread_create in -lcma""... $ac_c" 1>&6
echo "configure:4064: checking for pthread_create in -lcma" >&5 echo "configure:4054: checking for pthread_create in -lcma" >&5
ac_lib_var=`echo cma'_'pthread_create | sed 'y%./+-%__p_%'` ac_lib_var=`echo cma'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -4068,7 +4058,7 @@ else ...@@ -4068,7 +4058,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lcma $LIBS" LIBS="-lcma $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4072 "configure" #line 4062 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -4079,7 +4069,7 @@ int main() { ...@@ -4079,7 +4069,7 @@ int main() {
pthread_create() pthread_create()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -4136,7 +4126,7 @@ EOF ...@@ -4136,7 +4126,7 @@ EOF
fi fi
echo $ac_n "checking if PTHREAD_SCOPE_SYSTEM is supported""... $ac_c" 1>&6 echo $ac_n "checking if PTHREAD_SCOPE_SYSTEM is supported""... $ac_c" 1>&6
echo "configure:4140: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5 echo "configure:4130: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
if eval "test \"`echo '$''{'ac_cv_pthread_system_supported'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_pthread_system_supported'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -4144,7 +4134,7 @@ else ...@@ -4144,7 +4134,7 @@ else
ac_cv_pthread_system_supported=no ac_cv_pthread_system_supported=no
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4148 "configure" #line 4138 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <pthread.h> #include <pthread.h>
void *foo(void *parm) { void *foo(void *parm) {
...@@ -4158,7 +4148,7 @@ else ...@@ -4158,7 +4148,7 @@ else
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:4162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_pthread_system_supported=yes ac_cv_pthread_system_supported=yes
else else
...@@ -4183,12 +4173,12 @@ EOF ...@@ -4183,12 +4173,12 @@ EOF
for ac_func in pthread_sigmask for ac_func in pthread_sigmask
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4187: checking for $ac_func" >&5 echo "configure:4177: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4192 "configure" #line 4182 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -4211,7 +4201,7 @@ $ac_func(); ...@@ -4211,7 +4201,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -4238,7 +4228,7 @@ done ...@@ -4238,7 +4228,7 @@ done
fi fi
echo $ac_n "checking for usconfig in -lmpc""... $ac_c" 1>&6 echo $ac_n "checking for usconfig in -lmpc""... $ac_c" 1>&6
echo "configure:4242: checking for usconfig in -lmpc" >&5 echo "configure:4232: checking for usconfig in -lmpc" >&5
ac_lib_var=`echo mpc'_'usconfig | sed 'y%./+-%__p_%'` ac_lib_var=`echo mpc'_'usconfig | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -4246,7 +4236,7 @@ else ...@@ -4246,7 +4236,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lmpc $LIBS" LIBS="-lmpc $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4250 "configure" #line 4240 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -4257,7 +4247,7 @@ int main() { ...@@ -4257,7 +4247,7 @@ int main() {
usconfig() usconfig()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -4284,7 +4274,7 @@ else ...@@ -4284,7 +4274,7 @@ else
fi fi
echo $ac_n "checking for thr_create in -lthread""... $ac_c" 1>&6 echo $ac_n "checking for thr_create in -lthread""... $ac_c" 1>&6
echo "configure:4288: checking for thr_create in -lthread" >&5 echo "configure:4278: checking for thr_create in -lthread" >&5
ac_lib_var=`echo thread'_'thr_create | sed 'y%./+-%__p_%'` ac_lib_var=`echo thread'_'thr_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -4292,7 +4282,7 @@ else ...@@ -4292,7 +4282,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lthread $LIBS" LIBS="-lthread $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4296 "configure" #line 4286 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -4303,7 +4293,7 @@ int main() { ...@@ -4303,7 +4293,7 @@ int main() {
thr_create() thr_create()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -4342,7 +4332,7 @@ fi ...@@ -4342,7 +4332,7 @@ fi
# Check for enable-ipv6 # Check for enable-ipv6
echo $ac_n "checking if --enable-ipv6 is specified""... $ac_c" 1>&6 echo $ac_n "checking if --enable-ipv6 is specified""... $ac_c" 1>&6
echo "configure:4346: checking if --enable-ipv6 is specified" >&5 echo "configure:4336: checking if --enable-ipv6 is specified" >&5
# Check whether --enable-ipv6 or --disable-ipv6 was given. # Check whether --enable-ipv6 or --disable-ipv6 was given.
if test "${enable_ipv6+set}" = set; then if test "${enable_ipv6+set}" = set; then
enableval="$enable_ipv6" enableval="$enable_ipv6"
...@@ -4367,7 +4357,7 @@ else ...@@ -4367,7 +4357,7 @@ else
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4371 "configure" #line 4361 "configure"
#include "confdefs.h" #include "confdefs.h"
/* AF_INET6 available check */ /* AF_INET6 available check */
#include <sys/types.h> #include <sys/types.h>
...@@ -4381,7 +4371,7 @@ main() ...@@ -4381,7 +4371,7 @@ main()
} }
EOF EOF
if { (eval echo configure:4385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:4375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
ipv6=yes ipv6=yes
...@@ -4398,9 +4388,9 @@ fi ...@@ -4398,9 +4388,9 @@ fi
if test "$ipv6" = "yes"; then if test "$ipv6" = "yes"; then
echo $ac_n "checking if RFC2553 API is available""... $ac_c" 1>&6 echo $ac_n "checking if RFC2553 API is available""... $ac_c" 1>&6
echo "configure:4402: checking if RFC2553 API is available" >&5 echo "configure:4392: checking if RFC2553 API is available" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4404 "configure" #line 4394 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <netinet/in.h> #include <netinet/in.h>
...@@ -4409,7 +4399,7 @@ struct sockaddr_in6 x; ...@@ -4409,7 +4399,7 @@ struct sockaddr_in6 x;
x.sin6_scope_id; x.sin6_scope_id;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
ipv6=yes ipv6=yes
...@@ -4439,13 +4429,13 @@ ipv6trylibc=no ...@@ -4439,13 +4429,13 @@ ipv6trylibc=no
if test "$ipv6" = "yes"; then if test "$ipv6" = "yes"; then
echo $ac_n "checking ipv6 stack type""... $ac_c" 1>&6 echo $ac_n "checking ipv6 stack type""... $ac_c" 1>&6
echo "configure:4443: checking ipv6 stack type" >&5 echo "configure:4433: checking ipv6 stack type" >&5
for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta; for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
do do
case $i in case $i in
inria) inria)
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4449 "configure" #line 4439 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <netinet/in.h> #include <netinet/in.h>
...@@ -4464,7 +4454,7 @@ rm -f conftest* ...@@ -4464,7 +4454,7 @@ rm -f conftest*
;; ;;
kame) kame)
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4468 "configure" #line 4458 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <netinet/in.h> #include <netinet/in.h>
...@@ -4486,7 +4476,7 @@ rm -f conftest* ...@@ -4486,7 +4476,7 @@ rm -f conftest*
;; ;;
linux-glibc) linux-glibc)
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4490 "configure" #line 4480 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <features.h> #include <features.h>
...@@ -4523,7 +4513,7 @@ rm -f conftest* ...@@ -4523,7 +4513,7 @@ rm -f conftest*
;; ;;
toshiba) toshiba)
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4527 "configure" #line 4517 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/param.h> #include <sys/param.h>
...@@ -4544,7 +4534,7 @@ rm -f conftest* ...@@ -4544,7 +4534,7 @@ rm -f conftest*
;; ;;
v6d) v6d)
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4548 "configure" #line 4538 "configure"
#include "confdefs.h" #include "confdefs.h"
#include </usr/local/v6/include/sys/v6config.h> #include </usr/local/v6/include/sys/v6config.h>
...@@ -4565,7 +4555,7 @@ rm -f conftest* ...@@ -4565,7 +4555,7 @@ rm -f conftest*
;; ;;
zeta) zeta)
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4569 "configure" #line 4559 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/param.h> #include <sys/param.h>
...@@ -4610,7 +4600,7 @@ fi ...@@ -4610,7 +4600,7 @@ fi
# Check for GC support # Check for GC support
echo $ac_n "checking for --with-cycle-gc""... $ac_c" 1>&6 echo $ac_n "checking for --with-cycle-gc""... $ac_c" 1>&6
echo "configure:4614: checking for --with-cycle-gc" >&5 echo "configure:4604: checking for --with-cycle-gc" >&5
# Check whether --with-cycle-gc or --without-cycle-gc was given. # Check whether --with-cycle-gc or --without-cycle-gc was given.
if test "${with_cycle_gc+set}" = set; then if test "${with_cycle_gc+set}" = set; then
withval="$with_cycle_gc" withval="$with_cycle_gc"
...@@ -4632,7 +4622,7 @@ echo "$ac_t""$with_cycle_gc" 1>&6 ...@@ -4632,7 +4622,7 @@ echo "$ac_t""$with_cycle_gc" 1>&6
# Check for Python-specific malloc support # Check for Python-specific malloc support
echo $ac_n "checking for --with-pymalloc""... $ac_c" 1>&6 echo $ac_n "checking for --with-pymalloc""... $ac_c" 1>&6
echo "configure:4636: checking for --with-pymalloc" >&5 echo "configure:4626: checking for --with-pymalloc" >&5
# Check whether --with-pymalloc or --without-pymalloc was given. # Check whether --with-pymalloc or --without-pymalloc was given.
if test "${with_pymalloc+set}" = set; then if test "${with_pymalloc+set}" = set; then
withval="$with_pymalloc" withval="$with_pymalloc"
...@@ -4651,7 +4641,7 @@ fi ...@@ -4651,7 +4641,7 @@ fi
# Check for --with-wctype-functions # Check for --with-wctype-functions
echo $ac_n "checking for --with-wctype-functions""... $ac_c" 1>&6 echo $ac_n "checking for --with-wctype-functions""... $ac_c" 1>&6
echo "configure:4655: checking for --with-wctype-functions" >&5 echo "configure:4645: checking for --with-wctype-functions" >&5
# Check whether --with-wctype-functions or --without-wctype-functions was given. # Check whether --with-wctype-functions or --without-wctype-functions was given.
if test "${with_wctype_functions+set}" = set; then if test "${with_wctype_functions+set}" = set; then
withval="$with_wctype_functions" withval="$with_wctype_functions"
...@@ -4673,7 +4663,7 @@ fi ...@@ -4673,7 +4663,7 @@ fi
DLINCLDIR=. DLINCLDIR=.
echo $ac_n "checking for --with-sgi-dl""... $ac_c" 1>&6 echo $ac_n "checking for --with-sgi-dl""... $ac_c" 1>&6
echo "configure:4677: checking for --with-sgi-dl" >&5 echo "configure:4667: checking for --with-sgi-dl" >&5
# Check whether --with-sgi-dl or --without-sgi-dl was given. # Check whether --with-sgi-dl or --without-sgi-dl was given.
if test "${with_sgi_dl+set}" = set; then if test "${with_sgi_dl+set}" = set; then
withval="$with_sgi_dl" withval="$with_sgi_dl"
...@@ -4697,7 +4687,7 @@ fi ...@@ -4697,7 +4687,7 @@ fi
echo $ac_n "checking for --with-dl-dld""... $ac_c" 1>&6 echo $ac_n "checking for --with-dl-dld""... $ac_c" 1>&6
echo "configure:4701: checking for --with-dl-dld" >&5 echo "configure:4691: checking for --with-dl-dld" >&5
# Check whether --with-dl-dld or --without-dl-dld was given. # Check whether --with-dl-dld or --without-dl-dld was given.
if test "${with_dl_dld+set}" = set; then if test "${with_dl_dld+set}" = set; then
withval="$with_dl_dld" withval="$with_dl_dld"
...@@ -4726,12 +4716,12 @@ fi ...@@ -4726,12 +4716,12 @@ fi
for ac_func in dlopen for ac_func in dlopen
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4730: checking for $ac_func" >&5 echo "configure:4720: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4735 "configure" #line 4725 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -4754,7 +4744,7 @@ $ac_func(); ...@@ -4754,7 +4744,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -4783,7 +4773,7 @@ done ...@@ -4783,7 +4773,7 @@ done
# loading of modules. # loading of modules.
echo $ac_n "checking DYNLOADFILE""... $ac_c" 1>&6 echo $ac_n "checking DYNLOADFILE""... $ac_c" 1>&6
echo "configure:4787: checking DYNLOADFILE" >&5 echo "configure:4777: checking DYNLOADFILE" >&5
if test -z "$DYNLOADFILE" if test -z "$DYNLOADFILE"
then then
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
...@@ -4814,7 +4804,7 @@ fi ...@@ -4814,7 +4804,7 @@ fi
echo $ac_n "checking MACHDEP_OBJS""... $ac_c" 1>&6 echo $ac_n "checking MACHDEP_OBJS""... $ac_c" 1>&6
echo "configure:4818: checking MACHDEP_OBJS" >&5 echo "configure:4808: checking MACHDEP_OBJS" >&5
if test -z "$MACHDEP_OBJS" if test -z "$MACHDEP_OBJS"
then then
MACHDEP_OBJS=$extra_machdep_objs MACHDEP_OBJS=$extra_machdep_objs
...@@ -4837,12 +4827,12 @@ for ac_func in alarm chown chroot clock confstr ctermid ctermid_r execv \ ...@@ -4837,12 +4827,12 @@ for ac_func in alarm chown chroot clock confstr ctermid ctermid_r execv \
truncate uname unsetenv waitpid _getpty getpriority truncate uname unsetenv waitpid _getpty getpriority
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4841: checking for $ac_func" >&5 echo "configure:4831: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4846 "configure" #line 4836 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -4865,7 +4855,7 @@ $ac_func(); ...@@ -4865,7 +4855,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -4895,12 +4885,12 @@ done ...@@ -4895,12 +4885,12 @@ done
for ac_func in openpty for ac_func in openpty
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4899: checking for $ac_func" >&5 echo "configure:4889: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4904 "configure" #line 4894 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -4923,7 +4913,7 @@ $ac_func(); ...@@ -4923,7 +4913,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -4945,7 +4935,7 @@ EOF ...@@ -4945,7 +4935,7 @@ EOF
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
echo "configure:4949: checking for openpty in -lutil" >&5 echo "configure:4939: checking for openpty in -lutil" >&5
ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -4953,7 +4943,7 @@ else ...@@ -4953,7 +4943,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lutil $LIBS" LIBS="-lutil $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4957 "configure" #line 4947 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -4964,7 +4954,7 @@ int main() { ...@@ -4964,7 +4954,7 @@ int main() {
openpty() openpty()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -4993,12 +4983,12 @@ done ...@@ -4993,12 +4983,12 @@ done
for ac_func in forkpty for ac_func in forkpty
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4997: checking for $ac_func" >&5 echo "configure:4987: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5002 "configure" #line 4992 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -5021,7 +5011,7 @@ $ac_func(); ...@@ -5021,7 +5011,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -5043,7 +5033,7 @@ EOF ...@@ -5043,7 +5033,7 @@ EOF
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for forkpty in -lutil""... $ac_c" 1>&6 echo $ac_n "checking for forkpty in -lutil""... $ac_c" 1>&6
echo "configure:5047: checking for forkpty in -lutil" >&5 echo "configure:5037: checking for forkpty in -lutil" >&5
ac_lib_var=`echo util'_'forkpty | sed 'y%./+-%__p_%'` ac_lib_var=`echo util'_'forkpty | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -5051,7 +5041,7 @@ else ...@@ -5051,7 +5041,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lutil $LIBS" LIBS="-lutil $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5055 "configure" #line 5045 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -5062,7 +5052,7 @@ int main() { ...@@ -5062,7 +5052,7 @@ int main() {
forkpty() forkpty()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -5093,12 +5083,12 @@ done ...@@ -5093,12 +5083,12 @@ done
for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:5097: checking for $ac_func" >&5 echo "configure:5087: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5102 "configure" #line 5092 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -5121,7 +5111,7 @@ $ac_func(); ...@@ -5121,7 +5111,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -5149,12 +5139,12 @@ done ...@@ -5149,12 +5139,12 @@ done
for ac_func in dup2 getcwd strdup strerror memmove for ac_func in dup2 getcwd strdup strerror memmove
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:5153: checking for $ac_func" >&5 echo "configure:5143: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5158 "configure" #line 5148 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -5177,7 +5167,7 @@ $ac_func(); ...@@ -5177,7 +5167,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -5206,12 +5196,12 @@ done ...@@ -5206,12 +5196,12 @@ done
for ac_func in getpgrp for ac_func in getpgrp
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:5210: checking for $ac_func" >&5 echo "configure:5200: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5215 "configure" #line 5205 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -5234,7 +5224,7 @@ $ac_func(); ...@@ -5234,7 +5224,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -5253,14 +5243,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then ...@@ -5253,14 +5243,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define $ac_tr_func 1 #define $ac_tr_func 1
EOF EOF
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5257 "configure" #line 5247 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <unistd.h> #include <unistd.h>
int main() { int main() {
getpgrp(0); getpgrp(0);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define GETPGRP_HAVE_ARG 1 #define GETPGRP_HAVE_ARG 1
...@@ -5279,12 +5269,12 @@ done ...@@ -5279,12 +5269,12 @@ done
for ac_func in setpgrp for ac_func in setpgrp
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:5283: checking for $ac_func" >&5 echo "configure:5273: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5288 "configure" #line 5278 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -5307,7 +5297,7 @@ $ac_func(); ...@@ -5307,7 +5297,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -5326,14 +5316,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then ...@@ -5326,14 +5316,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define $ac_tr_func 1 #define $ac_tr_func 1
EOF EOF
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5330 "configure" #line 5320 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <unistd.h> #include <unistd.h>
int main() { int main() {
setpgrp(0,0); setpgrp(0,0);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define SETPGRP_HAVE_ARG 1 #define SETPGRP_HAVE_ARG 1
...@@ -5352,12 +5342,12 @@ done ...@@ -5352,12 +5342,12 @@ done
for ac_func in gettimeofday for ac_func in gettimeofday
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:5356: checking for $ac_func" >&5 echo "configure:5346: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5361 "configure" #line 5351 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -5380,7 +5370,7 @@ $ac_func(); ...@@ -5380,7 +5370,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -5399,14 +5389,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then ...@@ -5399,14 +5389,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define $ac_tr_func 1 #define $ac_tr_func 1
EOF EOF
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5403 "configure" #line 5393 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/time.h> #include <sys/time.h>
int main() { int main() {
gettimeofday((struct timeval*)0,(struct timezone*)0); gettimeofday((struct timeval*)0,(struct timezone*)0);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
: :
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
...@@ -5424,63 +5414,36 @@ fi ...@@ -5424,63 +5414,36 @@ fi
done done
for ac_func in getaddrinfo
do # On OSF/1 V5.1, getaddrinfo is available, but a define
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 # for [no]getaddrinfo in netdb.h.
echo "configure:5431: checking for $ac_func" >&5 echo $ac_n "checking for getaddrinfo""... $ac_c" 1>&6
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo "configure:5422: checking for getaddrinfo" >&5
echo $ac_n "(cached) $ac_c" 1>&6 cat > conftest.$ac_ext <<EOF
else #line 5424 "configure"
cat > conftest.$ac_ext <<EOF
#line 5436 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ #include <sys/socket.h>
#include <assert.h> #include <netdb.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char $ac_func();
int main() { int main() {
/* The GNU C library defines this for functions which it implements getaddrinfo(NULL, NULL, NULL, NULL);
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else echo "$ac_t""yes" 1>&6
echo "configure: failed program was:" >&5 echo $ac_n "checking getaddrinfo bug""... $ac_c" 1>&6
cat conftest.$ac_ext >&5 echo "configure:5441: checking getaddrinfo bug" >&5
rm -rf conftest*
eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
echo "$ac_t""yes" 1>&6
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
echo $ac_n "checking getaddrinfo bug""... $ac_c" 1>&6
echo "configure:5478: checking getaddrinfo bug" >&5
if test "$cross_compiling" = yes; then if test "$cross_compiling" = yes; then
echo "$ac_t""buggy" 1>&6 echo "$ac_t""buggy" 1>&6
buggygetaddrinfo=yes buggygetaddrinfo=yes
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5484 "configure" #line 5447 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
...@@ -5569,7 +5532,7 @@ main() ...@@ -5569,7 +5532,7 @@ main()
} }
EOF EOF
if { (eval echo configure:5573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:5536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
echo "$ac_t""good" 1>&6 echo "$ac_t""good" 1>&6
buggygetaddrinfo=no buggygetaddrinfo=no
...@@ -5584,11 +5547,15 @@ rm -fr conftest* ...@@ -5584,11 +5547,15 @@ rm -fr conftest*
fi fi
else else
echo "$ac_t""no" 1>&6 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
buggygetaddrinfo=yes buggygetaddrinfo=yes
fi
done
fi
rm -f conftest*
if test "$buggygetaddrinfo" = "yes"; then if test "$buggygetaddrinfo" = "yes"; then
if test "$ipv6" = "yes"; then if test "$ipv6" = "yes"; then
...@@ -5596,16 +5563,21 @@ if test "$buggygetaddrinfo" = "yes"; then ...@@ -5596,16 +5563,21 @@ if test "$buggygetaddrinfo" = "yes"; then
echo ' or you can specify "--disable-ipv6"'. echo ' or you can specify "--disable-ipv6"'.
exit 1 exit 1
fi fi
else
cat >> confdefs.h <<\EOF
#define HAVE_GETADDRINFO 1
EOF
fi fi
for ac_func in getnameinfo for ac_func in getnameinfo
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:5604: checking for $ac_func" >&5 echo "configure:5576: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5609 "configure" #line 5581 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -5628,7 +5600,7 @@ $ac_func(); ...@@ -5628,7 +5600,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -5655,12 +5627,12 @@ done ...@@ -5655,12 +5627,12 @@ done
# checks for structures # checks for structures
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:5659: checking whether time.h and sys/time.h may both be included" >&5 echo "configure:5631: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5664 "configure" #line 5636 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
...@@ -5669,7 +5641,7 @@ int main() { ...@@ -5669,7 +5641,7 @@ int main() {
struct tm *tp; struct tm *tp;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_time=yes ac_cv_header_time=yes
else else
...@@ -5690,12 +5662,12 @@ EOF ...@@ -5690,12 +5662,12 @@ EOF
fi fi
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
echo "configure:5694: checking whether struct tm is in sys/time.h or time.h" >&5 echo "configure:5666: checking whether struct tm is in sys/time.h or time.h" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5699 "configure" #line 5671 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <time.h> #include <time.h>
...@@ -5703,7 +5675,7 @@ int main() { ...@@ -5703,7 +5675,7 @@ int main() {
struct tm *tp; tp->tm_sec; struct tm *tp; tp->tm_sec;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_tm=time.h ac_cv_struct_tm=time.h
else else
...@@ -5724,12 +5696,12 @@ EOF ...@@ -5724,12 +5696,12 @@ EOF
fi fi
echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
echo "configure:5728: checking for tm_zone in struct tm" >&5 echo "configure:5700: checking for tm_zone in struct tm" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5733 "configure" #line 5705 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <$ac_cv_struct_tm> #include <$ac_cv_struct_tm>
...@@ -5737,7 +5709,7 @@ int main() { ...@@ -5737,7 +5709,7 @@ int main() {
struct tm tm; tm.tm_zone; struct tm tm; tm.tm_zone;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_tm_zone=yes ac_cv_struct_tm_zone=yes
else else
...@@ -5757,12 +5729,12 @@ EOF ...@@ -5757,12 +5729,12 @@ EOF
else else
echo $ac_n "checking for tzname""... $ac_c" 1>&6 echo $ac_n "checking for tzname""... $ac_c" 1>&6
echo "configure:5761: checking for tzname" >&5 echo "configure:5733: checking for tzname" >&5
if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5766 "configure" #line 5738 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <time.h> #include <time.h>
#ifndef tzname /* For SGI. */ #ifndef tzname /* For SGI. */
...@@ -5772,7 +5744,7 @@ int main() { ...@@ -5772,7 +5744,7 @@ int main() {
atoi(*tzname); atoi(*tzname);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_var_tzname=yes ac_cv_var_tzname=yes
else else
...@@ -5794,12 +5766,12 @@ EOF ...@@ -5794,12 +5766,12 @@ EOF
fi fi
echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
echo "configure:5798: checking for st_rdev in struct stat" >&5 echo "configure:5770: checking for st_rdev in struct stat" >&5
if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5803 "configure" #line 5775 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
...@@ -5807,7 +5779,7 @@ int main() { ...@@ -5807,7 +5779,7 @@ int main() {
struct stat s; s.st_rdev; struct stat s; s.st_rdev;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_st_rdev=yes ac_cv_struct_st_rdev=yes
else else
...@@ -5828,12 +5800,12 @@ EOF ...@@ -5828,12 +5800,12 @@ EOF
fi fi
echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
echo "configure:5832: checking for st_blksize in struct stat" >&5 echo "configure:5804: checking for st_blksize in struct stat" >&5
if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5837 "configure" #line 5809 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
...@@ -5841,7 +5813,7 @@ int main() { ...@@ -5841,7 +5813,7 @@ int main() {
struct stat s; s.st_blksize; struct stat s; s.st_blksize;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_st_blksize=yes ac_cv_struct_st_blksize=yes
else else
...@@ -5862,12 +5834,12 @@ EOF ...@@ -5862,12 +5834,12 @@ EOF
fi fi
echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
echo "configure:5866: checking for st_blocks in struct stat" >&5 echo "configure:5838: checking for st_blocks in struct stat" >&5
if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5871 "configure" #line 5843 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
...@@ -5875,7 +5847,7 @@ int main() { ...@@ -5875,7 +5847,7 @@ int main() {
struct stat s; s.st_blocks; struct stat s; s.st_blocks;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_st_blocks=yes ac_cv_struct_st_blocks=yes
else else
...@@ -5899,19 +5871,19 @@ fi ...@@ -5899,19 +5871,19 @@ fi
echo $ac_n "checking for time.h that defines altzone""... $ac_c" 1>&6 echo $ac_n "checking for time.h that defines altzone""... $ac_c" 1>&6
echo "configure:5903: checking for time.h that defines altzone" >&5 echo "configure:5875: checking for time.h that defines altzone" >&5
if eval "test \"`echo '$''{'ac_cv_header_time_altzone'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_time_altzone'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5908 "configure" #line 5880 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <time.h> #include <time.h>
int main() { int main() {
return altzone; return altzone;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_time_altzone=yes ac_cv_header_time_altzone=yes
else else
...@@ -5933,9 +5905,9 @@ fi ...@@ -5933,9 +5905,9 @@ fi
was_it_defined=no was_it_defined=no
echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6 echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:5937: checking whether sys/select.h and sys/time.h may both be included" >&5 echo "configure:5909: checking whether sys/select.h and sys/time.h may both be included" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5939 "configure" #line 5911 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
...@@ -5946,7 +5918,7 @@ int main() { ...@@ -5946,7 +5918,7 @@ int main() {
; ;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define SYS_SELECT_WITH_SYS_TIME 1 #define SYS_SELECT_WITH_SYS_TIME 1
...@@ -5960,12 +5932,12 @@ rm -f conftest* ...@@ -5960,12 +5932,12 @@ rm -f conftest*
echo "$ac_t""$was_it_defined" 1>&6 echo "$ac_t""$was_it_defined" 1>&6
echo $ac_n "checking for addrinfo""... $ac_c" 1>&6 echo $ac_n "checking for addrinfo""... $ac_c" 1>&6
echo "configure:5964: checking for addrinfo" >&5 echo "configure:5936: checking for addrinfo" >&5
if eval "test \"`echo '$''{'ac_cv_struct_addrinfo'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_struct_addrinfo'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5969 "configure" #line 5941 "configure"
#include "confdefs.h" #include "confdefs.h"
# include <netdb.h> # include <netdb.h>
...@@ -5973,7 +5945,7 @@ int main() { ...@@ -5973,7 +5945,7 @@ int main() {
struct addrinfo a struct addrinfo a
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_addrinfo=yes ac_cv_struct_addrinfo=yes
else else
...@@ -5994,12 +5966,12 @@ EOF ...@@ -5994,12 +5966,12 @@ EOF
fi fi
echo $ac_n "checking for sockaddr_storage""... $ac_c" 1>&6 echo $ac_n "checking for sockaddr_storage""... $ac_c" 1>&6
echo "configure:5998: checking for sockaddr_storage" >&5 echo "configure:5970: checking for sockaddr_storage" >&5
if eval "test \"`echo '$''{'ac_cv_struct_sockaddr_storage'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_struct_sockaddr_storage'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6003 "configure" #line 5975 "configure"
#include "confdefs.h" #include "confdefs.h"
# include <sys/types.h> # include <sys/types.h>
...@@ -6008,7 +5980,7 @@ int main() { ...@@ -6008,7 +5980,7 @@ int main() {
struct sockaddr_storage s struct sockaddr_storage s
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_sockaddr_storage=yes ac_cv_struct_sockaddr_storage=yes
else else
...@@ -6031,14 +6003,14 @@ fi ...@@ -6031,14 +6003,14 @@ fi
# checks for compiler characteristics # checks for compiler characteristics
echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
echo "configure:6035: checking whether char is unsigned" >&5 echo "configure:6007: checking whether char is unsigned" >&5
if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
if test "$GCC" = yes; then if test "$GCC" = yes; then
# GCC predefines this symbol on systems where it applies. # GCC predefines this symbol on systems where it applies.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6042 "configure" #line 6014 "configure"
#include "confdefs.h" #include "confdefs.h"
#ifdef __CHAR_UNSIGNED__ #ifdef __CHAR_UNSIGNED__
yes yes
...@@ -6060,7 +6032,7 @@ if test "$cross_compiling" = yes; then ...@@ -6060,7 +6032,7 @@ if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6064 "configure" #line 6036 "configure"
#include "confdefs.h" #include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */ /* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1 #if !defined(__STDC__) || __STDC__ != 1
...@@ -6070,7 +6042,7 @@ main() { ...@@ -6070,7 +6042,7 @@ main() {
volatile char c = 255; exit(c < 0); volatile char c = 255; exit(c < 0);
} }
EOF EOF
if { (eval echo configure:6074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:6046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_c_char_unsigned=yes ac_cv_c_char_unsigned=yes
else else
...@@ -6094,12 +6066,12 @@ EOF ...@@ -6094,12 +6066,12 @@ EOF
fi fi
echo $ac_n "checking for working const""... $ac_c" 1>&6 echo $ac_n "checking for working const""... $ac_c" 1>&6
echo "configure:6098: checking for working const" >&5 echo "configure:6070: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6103 "configure" #line 6075 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
...@@ -6148,7 +6120,7 @@ ccp = (char const *const *) p; ...@@ -6148,7 +6120,7 @@ ccp = (char const *const *) p;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:6124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_c_const=yes ac_cv_c_const=yes
else else
...@@ -6171,16 +6143,16 @@ fi ...@@ -6171,16 +6143,16 @@ fi
works=no works=no
echo $ac_n "checking for working volatile""... $ac_c" 1>&6 echo $ac_n "checking for working volatile""... $ac_c" 1>&6
echo "configure:6175: checking for working volatile" >&5 echo "configure:6147: checking for working volatile" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6177 "configure" #line 6149 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
volatile int x; x = 0; volatile int x; x = 0;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:6156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
works=yes works=yes
else else
...@@ -6197,16 +6169,16 @@ echo "$ac_t""$works" 1>&6 ...@@ -6197,16 +6169,16 @@ echo "$ac_t""$works" 1>&6
works=no works=no
echo $ac_n "checking for working signed char""... $ac_c" 1>&6 echo $ac_n "checking for working signed char""... $ac_c" 1>&6
echo "configure:6201: checking for working signed char" >&5 echo "configure:6173: checking for working signed char" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6203 "configure" #line 6175 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
signed char c; signed char c;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:6182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
works=yes works=yes
else else
...@@ -6223,16 +6195,16 @@ echo "$ac_t""$works" 1>&6 ...@@ -6223,16 +6195,16 @@ echo "$ac_t""$works" 1>&6
have_prototypes=no have_prototypes=no
echo $ac_n "checking for prototypes""... $ac_c" 1>&6 echo $ac_n "checking for prototypes""... $ac_c" 1>&6
echo "configure:6227: checking for prototypes" >&5 echo "configure:6199: checking for prototypes" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6229 "configure" #line 6201 "configure"
#include "confdefs.h" #include "confdefs.h"
int foo(int x) { return 0; } int foo(int x) { return 0; }
int main() { int main() {
return foo(10); return foo(10);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:6208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_PROTOTYPES 1 #define HAVE_PROTOTYPES 1
...@@ -6247,9 +6219,9 @@ echo "$ac_t""$have_prototypes" 1>&6 ...@@ -6247,9 +6219,9 @@ echo "$ac_t""$have_prototypes" 1>&6
works=no works=no
echo $ac_n "checking for variable length prototypes and stdarg.h""... $ac_c" 1>&6 echo $ac_n "checking for variable length prototypes and stdarg.h""... $ac_c" 1>&6
echo "configure:6251: checking for variable length prototypes and stdarg.h" >&5 echo "configure:6223: checking for variable length prototypes and stdarg.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6253 "configure" #line 6225 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdarg.h> #include <stdarg.h>
...@@ -6266,7 +6238,7 @@ int main() { ...@@ -6266,7 +6238,7 @@ int main() {
return foo(10, "", 3.14); return foo(10, "", 3.14);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:6242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_STDARG_PROTOTYPES 1 #define HAVE_STDARG_PROTOTYPES 1
...@@ -6282,16 +6254,16 @@ echo "$ac_t""$works" 1>&6 ...@@ -6282,16 +6254,16 @@ echo "$ac_t""$works" 1>&6
if test "$have_prototypes" = yes; then if test "$have_prototypes" = yes; then
bad_prototypes=no bad_prototypes=no
echo $ac_n "checking for bad exec* prototypes""... $ac_c" 1>&6 echo $ac_n "checking for bad exec* prototypes""... $ac_c" 1>&6
echo "configure:6286: checking for bad exec* prototypes" >&5 echo "configure:6258: checking for bad exec* prototypes" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6288 "configure" #line 6260 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <unistd.h> #include <unistd.h>
int main() { int main() {
char **t;execve("@",t,t); char **t;execve("@",t,t);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:6267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
: :
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
...@@ -6308,9 +6280,9 @@ fi ...@@ -6308,9 +6280,9 @@ fi
# check if sockaddr has sa_len member # check if sockaddr has sa_len member
echo $ac_n "checking if sockaddr has sa_len member""... $ac_c" 1>&6 echo $ac_n "checking if sockaddr has sa_len member""... $ac_c" 1>&6
echo "configure:6312: checking if sockaddr has sa_len member" >&5 echo "configure:6284: checking if sockaddr has sa_len member" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6314 "configure" #line 6286 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
...@@ -6319,7 +6291,7 @@ struct sockaddr x; ...@@ -6319,7 +6291,7 @@ struct sockaddr x;
x.sa_len = 0; x.sa_len = 0;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:6295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
...@@ -6335,7 +6307,7 @@ fi ...@@ -6335,7 +6307,7 @@ fi
rm -f conftest* rm -f conftest*
echo $ac_n "checking for bad static forward""... $ac_c" 1>&6 echo $ac_n "checking for bad static forward""... $ac_c" 1>&6
echo "configure:6339: checking for bad static forward" >&5 echo "configure:6311: checking for bad static forward" >&5
if eval "test \"`echo '$''{'ac_cv_bad_static_forward'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_bad_static_forward'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6343,7 +6315,7 @@ else ...@@ -6343,7 +6315,7 @@ else
ac_cv_bad_static_forward=no ac_cv_bad_static_forward=no
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6347 "configure" #line 6319 "configure"
#include "confdefs.h" #include "confdefs.h"
struct s { int a; int b; }; struct s { int a; int b; };
...@@ -6358,7 +6330,7 @@ main() { ...@@ -6358,7 +6330,7 @@ main() {
exit(!((int)&foo == foobar())); exit(!((int)&foo == foobar()));
} }
EOF EOF
if { (eval echo configure:6362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:6334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_bad_static_forward=no ac_cv_bad_static_forward=no
else else
...@@ -6383,9 +6355,9 @@ fi ...@@ -6383,9 +6355,9 @@ fi
va_list_is_array=no va_list_is_array=no
echo $ac_n "checking whether va_list is an array""... $ac_c" 1>&6 echo $ac_n "checking whether va_list is an array""... $ac_c" 1>&6
echo "configure:6387: checking whether va_list is an array" >&5 echo "configure:6359: checking whether va_list is an array" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6389 "configure" #line 6361 "configure"
#include "confdefs.h" #include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES #ifdef HAVE_STDARG_PROTOTYPES
...@@ -6398,7 +6370,7 @@ int main() { ...@@ -6398,7 +6370,7 @@ int main() {
va_list list1, list2; list1 = list2; va_list list1, list2; list1 = list2;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:6374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
: :
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
...@@ -6414,12 +6386,12 @@ echo "$ac_t""$va_list_is_array" 1>&6 ...@@ -6414,12 +6386,12 @@ echo "$ac_t""$va_list_is_array" 1>&6
# sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-( # sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
echo $ac_n "checking for gethostbyname_r""... $ac_c" 1>&6 echo $ac_n "checking for gethostbyname_r""... $ac_c" 1>&6
echo "configure:6418: checking for gethostbyname_r" >&5 echo "configure:6390: checking for gethostbyname_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname_r'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_gethostbyname_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6423 "configure" #line 6395 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname_r(); below. */ which can conflict with char gethostbyname_r(); below. */
...@@ -6442,7 +6414,7 @@ gethostbyname_r(); ...@@ -6442,7 +6414,7 @@ gethostbyname_r();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:6418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_gethostbyname_r=yes" eval "ac_cv_func_gethostbyname_r=yes"
else else
...@@ -6462,11 +6434,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then ...@@ -6462,11 +6434,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
EOF EOF
echo $ac_n "checking gethostbyname_r with 6 args""... $ac_c" 1>&6 echo $ac_n "checking gethostbyname_r with 6 args""... $ac_c" 1>&6
echo "configure:6466: checking gethostbyname_r with 6 args" >&5 echo "configure:6438: checking gethostbyname_r with 6 args" >&5
OLD_CFLAGS=$CFLAGS OLD_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $MY_CPPFLAGS $MY_THREAD_CPPFLAGS $MY_CFLAGS" CFLAGS="$CFLAGS $MY_CPPFLAGS $MY_THREAD_CPPFLAGS $MY_CFLAGS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6470 "configure" #line 6442 "configure"
#include "confdefs.h" #include "confdefs.h"
# include <netdb.h> # include <netdb.h>
...@@ -6483,7 +6455,7 @@ int main() { ...@@ -6483,7 +6455,7 @@ int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:6459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
...@@ -6503,9 +6475,9 @@ else ...@@ -6503,9 +6475,9 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking gethostbyname_r with 5 args""... $ac_c" 1>&6 echo $ac_n "checking gethostbyname_r with 5 args""... $ac_c" 1>&6
echo "configure:6507: checking gethostbyname_r with 5 args" >&5 echo "configure:6479: checking gethostbyname_r with 5 args" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6509 "configure" #line 6481 "configure"
#include "confdefs.h" #include "confdefs.h"
# include <netdb.h> # include <netdb.h>
...@@ -6522,7 +6494,7 @@ int main() { ...@@ -6522,7 +6494,7 @@ int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:6498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
...@@ -6542,9 +6514,9 @@ else ...@@ -6542,9 +6514,9 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking gethostbyname_r with 3 args""... $ac_c" 1>&6 echo $ac_n "checking gethostbyname_r with 3 args""... $ac_c" 1>&6
echo "configure:6546: checking gethostbyname_r with 3 args" >&5 echo "configure:6518: checking gethostbyname_r with 3 args" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6548 "configure" #line 6520 "configure"
#include "confdefs.h" #include "confdefs.h"
# include <netdb.h> # include <netdb.h>
...@@ -6559,7 +6531,7 @@ int main() { ...@@ -6559,7 +6531,7 @@ int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:6535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
...@@ -6595,12 +6567,12 @@ else ...@@ -6595,12 +6567,12 @@ else
for ac_func in gethostbyname for ac_func in gethostbyname
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6599: checking for $ac_func" >&5 echo "configure:6571: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6604 "configure" #line 6576 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -6623,7 +6595,7 @@ $ac_func(); ...@@ -6623,7 +6595,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:6599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -6661,12 +6633,12 @@ fi ...@@ -6661,12 +6633,12 @@ fi
# Linux requires this for correct f.p. operations # Linux requires this for correct f.p. operations
echo $ac_n "checking for __fpu_control""... $ac_c" 1>&6 echo $ac_n "checking for __fpu_control""... $ac_c" 1>&6
echo "configure:6665: checking for __fpu_control" >&5 echo "configure:6637: checking for __fpu_control" >&5
if eval "test \"`echo '$''{'ac_cv_func___fpu_control'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func___fpu_control'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6670 "configure" #line 6642 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __fpu_control(); below. */ which can conflict with char __fpu_control(); below. */
...@@ -6689,7 +6661,7 @@ __fpu_control(); ...@@ -6689,7 +6661,7 @@ __fpu_control();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:6665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func___fpu_control=yes" eval "ac_cv_func___fpu_control=yes"
else else
...@@ -6707,7 +6679,7 @@ if eval "test \"`echo '$ac_cv_func_'__fpu_control`\" = yes"; then ...@@ -6707,7 +6679,7 @@ if eval "test \"`echo '$ac_cv_func_'__fpu_control`\" = yes"; then
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for __fpu_control in -lieee""... $ac_c" 1>&6 echo $ac_n "checking for __fpu_control in -lieee""... $ac_c" 1>&6
echo "configure:6711: checking for __fpu_control in -lieee" >&5 echo "configure:6683: checking for __fpu_control in -lieee" >&5
ac_lib_var=`echo ieee'_'__fpu_control | sed 'y%./+-%__p_%'` ac_lib_var=`echo ieee'_'__fpu_control | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -6715,7 +6687,7 @@ else ...@@ -6715,7 +6687,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lieee $LIBS" LIBS="-lieee $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6719 "configure" #line 6691 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -6726,7 +6698,7 @@ int main() { ...@@ -6726,7 +6698,7 @@ int main() {
__fpu_control() __fpu_control()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:6702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -6759,7 +6731,7 @@ fi ...@@ -6759,7 +6731,7 @@ fi
# Check for --with-fpectl # Check for --with-fpectl
echo $ac_n "checking for --with-fpectl""... $ac_c" 1>&6 echo $ac_n "checking for --with-fpectl""... $ac_c" 1>&6
echo "configure:6763: checking for --with-fpectl" >&5 echo "configure:6735: checking for --with-fpectl" >&5
# Check whether --with-fpectl or --without-fpectl was given. # Check whether --with-fpectl or --without-fpectl was given.
if test "${with_fpectl+set}" = set; then if test "${with_fpectl+set}" = set; then
withval="$with_fpectl" withval="$with_fpectl"
...@@ -6784,7 +6756,7 @@ BeOS) ;; ...@@ -6784,7 +6756,7 @@ BeOS) ;;
*) LIBM=-lm *) LIBM=-lm
esac esac
echo $ac_n "checking for --with-libm=STRING""... $ac_c" 1>&6 echo $ac_n "checking for --with-libm=STRING""... $ac_c" 1>&6
echo "configure:6788: checking for --with-libm=STRING" >&5 echo "configure:6760: checking for --with-libm=STRING" >&5
# Check whether --with-libm or --without-libm was given. # Check whether --with-libm or --without-libm was given.
if test "${with_libm+set}" = set; then if test "${with_libm+set}" = set; then
withval="$with_libm" withval="$with_libm"
...@@ -6805,7 +6777,7 @@ fi ...@@ -6805,7 +6777,7 @@ fi
# check for --with-libc=... # check for --with-libc=...
echo $ac_n "checking for --with-libc=STRING""... $ac_c" 1>&6 echo $ac_n "checking for --with-libc=STRING""... $ac_c" 1>&6
echo "configure:6809: checking for --with-libc=STRING" >&5 echo "configure:6781: checking for --with-libc=STRING" >&5
# Check whether --with-libc or --without-libc was given. # Check whether --with-libc or --without-libc was given.
if test "${with_libc+set}" = set; then if test "${with_libc+set}" = set; then
withval="$with_libc" withval="$with_libc"
...@@ -6829,12 +6801,12 @@ LIBS="$LIBS $LIBM" ...@@ -6829,12 +6801,12 @@ LIBS="$LIBS $LIBM"
for ac_func in hypot for ac_func in hypot
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6833: checking for $ac_func" >&5 echo "configure:6805: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6838 "configure" #line 6810 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -6857,7 +6829,7 @@ $ac_func(); ...@@ -6857,7 +6829,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:6833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -6887,7 +6859,7 @@ LIBS=$LIBS_SAVE ...@@ -6887,7 +6859,7 @@ LIBS=$LIBS_SAVE
# check whether malloc(0) returns NULL or not # check whether malloc(0) returns NULL or not
echo $ac_n "checking what malloc(0) returns""... $ac_c" 1>&6 echo $ac_n "checking what malloc(0) returns""... $ac_c" 1>&6
echo "configure:6891: checking what malloc(0) returns" >&5 echo "configure:6863: checking what malloc(0) returns" >&5
if eval "test \"`echo '$''{'ac_cv_malloc_zero'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_malloc_zero'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6895,7 +6867,7 @@ else ...@@ -6895,7 +6867,7 @@ else
ac_cv_malloc_zero=nonnull ac_cv_malloc_zero=nonnull
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6899 "configure" #line 6871 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_STDLIB #ifdef HAVE_STDLIB
...@@ -6914,7 +6886,7 @@ main() { ...@@ -6914,7 +6886,7 @@ main() {
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:6918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:6890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_malloc_zero=nonnull ac_cv_malloc_zero=nonnull
else else
...@@ -6940,17 +6912,17 @@ fi ...@@ -6940,17 +6912,17 @@ fi
# check for wchar.h # check for wchar.h
ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for wchar.h""... $ac_c" 1>&6 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
echo "configure:6944: checking for wchar.h" >&5 echo "configure:6916: checking for wchar.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6949 "configure" #line 6921 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <wchar.h> #include <wchar.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:6926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -6981,7 +6953,7 @@ fi ...@@ -6981,7 +6953,7 @@ fi
if test "$wchar_h" = yes if test "$wchar_h" = yes
then then
echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
echo "configure:6985: checking size of wchar_t" >&5 echo "configure:6957: checking size of wchar_t" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6989,10 +6961,9 @@ else ...@@ -6989,10 +6961,9 @@ else
ac_cv_sizeof_wchar_t=4 ac_cv_sizeof_wchar_t=4
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6993 "configure" #line 6965 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
...@@ -7001,7 +6972,7 @@ main() ...@@ -7001,7 +6972,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:7005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:6976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_wchar_t=`cat conftestval` ac_cv_sizeof_wchar_t=`cat conftestval`
else else
...@@ -7023,7 +6994,7 @@ EOF ...@@ -7023,7 +6994,7 @@ EOF
fi fi
echo $ac_n "checking what type to use for unicode""... $ac_c" 1>&6 echo $ac_n "checking what type to use for unicode""... $ac_c" 1>&6
echo "configure:7027: checking what type to use for unicode" >&5 echo "configure:6998: checking what type to use for unicode" >&5
# Check whether --enable-unicode or --disable-unicode was given. # Check whether --enable-unicode or --disable-unicode was given.
if test "${enable_unicode+set}" = set; then if test "${enable_unicode+set}" = set; then
enableval="$enable_unicode" enableval="$enable_unicode"
...@@ -7098,14 +7069,14 @@ fi ...@@ -7098,14 +7069,14 @@ fi
# check for endianness # check for endianness
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
echo "configure:7102: checking whether byte ordering is bigendian" >&5 echo "configure:7073: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_cv_c_bigendian=unknown ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro. # See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7109 "configure" #line 7080 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h> #include <sys/param.h>
...@@ -7116,11 +7087,11 @@ int main() { ...@@ -7116,11 +7087,11 @@ int main() {
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:7091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
# It does; now see whether it defined to BIG_ENDIAN or not. # It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7124 "configure" #line 7095 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h> #include <sys/param.h>
...@@ -7131,7 +7102,7 @@ int main() { ...@@ -7131,7 +7102,7 @@ int main() {
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:7106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_c_bigendian=yes ac_cv_c_bigendian=yes
else else
...@@ -7151,7 +7122,7 @@ if test "$cross_compiling" = yes; then ...@@ -7151,7 +7122,7 @@ if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7155 "configure" #line 7126 "configure"
#include "confdefs.h" #include "confdefs.h"
main () { main () {
/* Are we little or big endian? From Harbison&Steele. */ /* Are we little or big endian? From Harbison&Steele. */
...@@ -7164,7 +7135,7 @@ main () { ...@@ -7164,7 +7135,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1); exit (u.c[sizeof (long) - 1] == 1);
} }
EOF EOF
if { (eval echo configure:7168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:7139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_c_bigendian=no ac_cv_c_bigendian=no
else else
...@@ -7191,7 +7162,7 @@ fi ...@@ -7191,7 +7162,7 @@ fi
# Check whether right shifting a negative integer extends the sign bit # Check whether right shifting a negative integer extends the sign bit
# or fills with zeros (like the Cray J90, according to Tim Peters). # or fills with zeros (like the Cray J90, according to Tim Peters).
echo $ac_n "checking whether right shift extends the sign bit""... $ac_c" 1>&6 echo $ac_n "checking whether right shift extends the sign bit""... $ac_c" 1>&6
echo "configure:7195: checking whether right shift extends the sign bit" >&5 echo "configure:7166: checking whether right shift extends the sign bit" >&5
if eval "test \"`echo '$''{'ac_cv_rshift_extends_sign'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_rshift_extends_sign'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7200,7 +7171,7 @@ if test "$cross_compiling" = yes; then ...@@ -7200,7 +7171,7 @@ if test "$cross_compiling" = yes; then
ac_cv_rshift_extends_sign=yes ac_cv_rshift_extends_sign=yes
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7204 "configure" #line 7175 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() int main()
...@@ -7209,7 +7180,7 @@ int main() ...@@ -7209,7 +7180,7 @@ int main()
} }
EOF EOF
if { (eval echo configure:7213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:7184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_rshift_extends_sign=yes ac_cv_rshift_extends_sign=yes
else else
...@@ -7234,13 +7205,13 @@ fi ...@@ -7234,13 +7205,13 @@ fi
# check for getc_unlocked and related locking functions # check for getc_unlocked and related locking functions
echo $ac_n "checking for getc_unlocked() and friends""... $ac_c" 1>&6 echo $ac_n "checking for getc_unlocked() and friends""... $ac_c" 1>&6
echo "configure:7238: checking for getc_unlocked() and friends" >&5 echo "configure:7209: checking for getc_unlocked() and friends" >&5
if eval "test \"`echo '$''{'ac_cv_have_getc_unlocked'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_have_getc_unlocked'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7244 "configure" #line 7215 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
int main() { int main() {
...@@ -7252,7 +7223,7 @@ int main() { ...@@ -7252,7 +7223,7 @@ int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:7227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_have_getc_unlocked=yes ac_cv_have_getc_unlocked=yes
else else
...@@ -7275,7 +7246,7 @@ fi ...@@ -7275,7 +7246,7 @@ fi
# check for readline 4.0 # check for readline 4.0
echo $ac_n "checking for rl_pre_input_hook in -lreadline""... $ac_c" 1>&6 echo $ac_n "checking for rl_pre_input_hook in -lreadline""... $ac_c" 1>&6
echo "configure:7279: checking for rl_pre_input_hook in -lreadline" >&5 echo "configure:7250: checking for rl_pre_input_hook in -lreadline" >&5
ac_lib_var=`echo readline'_'rl_pre_input_hook | sed 'y%./+-%__p_%'` ac_lib_var=`echo readline'_'rl_pre_input_hook | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -7283,7 +7254,7 @@ else ...@@ -7283,7 +7254,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lreadline -ltermcap $LIBS" LIBS="-lreadline -ltermcap $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7287 "configure" #line 7258 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -7294,7 +7265,7 @@ int main() { ...@@ -7294,7 +7265,7 @@ int main() {
rl_pre_input_hook() rl_pre_input_hook()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:7269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -7320,7 +7291,7 @@ fi ...@@ -7320,7 +7291,7 @@ fi
# check for readline 4.2 # check for readline 4.2
echo $ac_n "checking for rl_completion_matches in -lreadline""... $ac_c" 1>&6 echo $ac_n "checking for rl_completion_matches in -lreadline""... $ac_c" 1>&6
echo "configure:7324: checking for rl_completion_matches in -lreadline" >&5 echo "configure:7295: checking for rl_completion_matches in -lreadline" >&5
ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'` ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -7328,7 +7299,7 @@ else ...@@ -7328,7 +7299,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lreadline -ltermcap $LIBS" LIBS="-lreadline -ltermcap $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7332 "configure" #line 7303 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -7339,7 +7310,7 @@ int main() { ...@@ -7339,7 +7310,7 @@ int main() {
rl_completion_matches() rl_completion_matches()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:7314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -7364,7 +7335,7 @@ fi ...@@ -7364,7 +7335,7 @@ fi
echo $ac_n "checking for broken nice()""... $ac_c" 1>&6 echo $ac_n "checking for broken nice()""... $ac_c" 1>&6
echo "configure:7368: checking for broken nice()" >&5 echo "configure:7339: checking for broken nice()" >&5
if eval "test \"`echo '$''{'ac_cv_broken_nice'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_broken_nice'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7373,7 +7344,7 @@ if test "$cross_compiling" = yes; then ...@@ -7373,7 +7344,7 @@ if test "$cross_compiling" = yes; then
ac_cv_broken_nice=no ac_cv_broken_nice=no
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7377 "configure" #line 7348 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() int main()
...@@ -7385,7 +7356,7 @@ int main() ...@@ -7385,7 +7356,7 @@ int main()
} }
EOF EOF
if { (eval echo configure:7389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:7360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_broken_nice=yes ac_cv_broken_nice=yes
else else
...@@ -7416,12 +7387,12 @@ cat >> confdefs.h <<\EOF ...@@ -7416,12 +7387,12 @@ cat >> confdefs.h <<\EOF
#endif #endif
EOF EOF
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
echo "configure:7420: checking for socklen_t" >&5 echo "configure:7391: checking for socklen_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7425 "configure" #line 7396 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
...@@ -7470,7 +7441,7 @@ done ...@@ -7470,7 +7441,7 @@ done
SRCDIRS="Parser Grammar Objects Python Modules" SRCDIRS="Parser Grammar Objects Python Modules"
echo $ac_n "checking for build directories""... $ac_c" 1>&6 echo $ac_n "checking for build directories""... $ac_c" 1>&6
echo "configure:7474: checking for build directories" >&5 echo "configure:7445: checking for build directories" >&5
for dir in $SRCDIRS; do for dir in $SRCDIRS; do
if test ! -d $dir; then if test ! -d $dir; then
mkdir $dir mkdir $dir
......
...@@ -1426,7 +1426,17 @@ AC_CHECK_FUNCS(getpgrp, AC_TRY_COMPILE([#include <unistd.h>], [getpgrp(0);], AC_ ...@@ -1426,7 +1426,17 @@ AC_CHECK_FUNCS(getpgrp, AC_TRY_COMPILE([#include <unistd.h>], [getpgrp(0);], AC_
AC_CHECK_FUNCS(setpgrp, AC_TRY_COMPILE([#include <unistd.h>], [setpgrp(0,0);], AC_DEFINE(SETPGRP_HAVE_ARG))) AC_CHECK_FUNCS(setpgrp, AC_TRY_COMPILE([#include <unistd.h>], [setpgrp(0,0);], AC_DEFINE(SETPGRP_HAVE_ARG)))
AC_CHECK_FUNCS(gettimeofday, AC_TRY_COMPILE([#include <sys/time.h>], [gettimeofday((struct timeval*)0,(struct timezone*)0);], ,AC_DEFINE(GETTIMEOFDAY_NO_TZ))) AC_CHECK_FUNCS(gettimeofday, AC_TRY_COMPILE([#include <sys/time.h>], [gettimeofday((struct timeval*)0,(struct timezone*)0);], ,AC_DEFINE(GETTIMEOFDAY_NO_TZ)))
AC_CHECK_FUNCS(getaddrinfo, [dnl
# On OSF/1 V5.1, getaddrinfo is available, but a define
# for [no]getaddrinfo in netdb.h.
AC_MSG_CHECKING(for getaddrinfo)
AC_TRY_LINK([
#include <sys/socket.h>
#include <netdb.h>
],[
getaddrinfo(NULL, NULL, NULL, NULL);
], [
AC_MSG_RESULT(yes)
AC_MSG_CHECKING(getaddrinfo bug) AC_MSG_CHECKING(getaddrinfo bug)
AC_TRY_RUN([ AC_TRY_RUN([
#include <sys/types.h> #include <sys/types.h>
...@@ -1519,7 +1529,10 @@ buggygetaddrinfo=no, ...@@ -1519,7 +1529,10 @@ buggygetaddrinfo=no,
AC_MSG_RESULT(buggy) AC_MSG_RESULT(buggy)
buggygetaddrinfo=yes, buggygetaddrinfo=yes,
AC_MSG_RESULT(buggy) AC_MSG_RESULT(buggy)
buggygetaddrinfo=yes)], [buggygetaddrinfo=yes]) buggygetaddrinfo=yes)], [
AC_MSG_RESULT(no)
buggygetaddrinfo=yes
])
if test "$buggygetaddrinfo" = "yes"; then if test "$buggygetaddrinfo" = "yes"; then
if test "$ipv6" = "yes"; then if test "$ipv6" = "yes"; then
...@@ -1527,6 +1540,8 @@ if test "$buggygetaddrinfo" = "yes"; then ...@@ -1527,6 +1540,8 @@ if test "$buggygetaddrinfo" = "yes"; then
echo ' or you can specify "--disable-ipv6"'. echo ' or you can specify "--disable-ipv6"'.
exit 1 exit 1
fi fi
else
AC_DEFINE(HAVE_GETADDRINFO)
fi fi
AC_CHECK_FUNCS(getnameinfo) AC_CHECK_FUNCS(getnameinfo)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment