Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a5f8bb57
Commit
a5f8bb57
authored
Sep 05, 2001
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for RFC 2553 API. Fixes bug #454493.
parent
4c483c4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
348 additions
and
309 deletions
+348
-309
configure
configure
+327
-306
configure.in
configure.in
+21
-3
No files found.
configure
View file @
a5f8bb57
...
...
@@ -2305,7 +2305,6 @@ else
#line 2306 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2314,7 +2313,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:231
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:231
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_int
=
`
cat
conftestval
`
else
...
...
@@ -2334,7 +2333,7 @@ EOF
echo
$ac_n
"checking size of long""...
$ac_c
"
1>&6
echo
"configure:233
8
: checking size of long"
>
&5
echo
"configure:233
7
: checking size of long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2342,10 +2341,9 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 234
6
"configure"
#line 234
5
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2354,7 +2352,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:235
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:235
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long
=
`
cat
conftestval
`
else
...
...
@@ -2374,7 +2372,7 @@ EOF
echo
$ac_n
"checking size of void *""...
$ac_c
"
1>&6
echo
"configure:237
8
: checking size of void *"
>
&5
echo
"configure:237
6
: checking size of void *"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_void_p
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2382,10 +2380,9 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 238
6
"configure"
#line 238
4
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2394,7 +2391,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:239
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:239
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_void_p
=
`
cat
conftestval
`
else
...
...
@@ -2414,7 +2411,7 @@ EOF
echo
$ac_n
"checking size of char""...
$ac_c
"
1>&6
echo
"configure:241
8
: checking size of char"
>
&5
echo
"configure:241
5
: checking size of char"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_char
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2422,10 +2419,9 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 242
6
"configure"
#line 242
3
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2434,7 +2430,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:243
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:243
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_char
=
`
cat
conftestval
`
else
...
...
@@ -2454,7 +2450,7 @@ EOF
echo
$ac_n
"checking size of short""...
$ac_c
"
1>&6
echo
"configure:245
8
: checking size of short"
>
&5
echo
"configure:245
4
: checking size of short"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_short
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2462,10 +2458,9 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 246
6
"configure"
#line 246
2
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2474,7 +2469,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:247
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:247
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_short
=
`
cat
conftestval
`
else
...
...
@@ -2494,7 +2489,7 @@ EOF
echo
$ac_n
"checking size of float""...
$ac_c
"
1>&6
echo
"configure:249
8
: checking size of float"
>
&5
echo
"configure:249
3
: checking size of float"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_float
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2502,10 +2497,9 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 250
6
"configure"
#line 250
1
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2514,7 +2508,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:251
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:251
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_float
=
`
cat
conftestval
`
else
...
...
@@ -2534,7 +2528,7 @@ EOF
echo
$ac_n
"checking size of double""...
$ac_c
"
1>&6
echo
"configure:253
8
: checking size of double"
>
&5
echo
"configure:253
2
: checking size of double"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_double
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2542,10 +2536,9 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 254
6
"configure"
#line 254
0
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2554,7 +2547,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:255
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:255
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_double
=
`
cat
conftestval
`
else
...
...
@@ -2574,7 +2567,7 @@ EOF
echo
$ac_n
"checking size of fpos_t""...
$ac_c
"
1>&6
echo
"configure:257
8
: checking size of fpos_t"
>
&5
echo
"configure:257
1
: checking size of fpos_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_fpos_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2582,10 +2575,9 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
86
"configure"
#line 25
79
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2594,7 +2586,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:259
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:259
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_fpos_t
=
`
cat
conftestval
`
else
...
...
@@ -2615,17 +2607,17 @@ EOF
echo
$ac_n
"checking for long long support""...
$ac_c
"
1>&6
echo
"configure:261
9
: checking for long long support"
>
&5
echo
"configure:261
1
: checking for long long support"
>
&5
have_long_long
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
22
"configure"
#line 26
14
"configure"
#include "confdefs.h"
int main() {
long long x; x = (long long)0;
; return 0; }
EOF
if
{
(
eval echo
configure:262
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:262
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_LONG_LONG 1
...
...
@@ -2639,7 +2631,7 @@ rm -f conftest*
echo
"
$ac_t
""
$have_long_long
"
1>&6
if
test
"
$have_long_long
"
=
yes
;
then
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
"configure:26
43
: checking size of long long"
>
&5
echo
"configure:26
35
: checking size of long long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2647,10 +2639,9 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
51
"configure"
#line 26
43
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2659,7 +2650,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:26
63
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:26
54
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
else
...
...
@@ -2681,17 +2672,17 @@ EOF
fi
echo
$ac_n
"checking for uintptr_t support""...
$ac_c
"
1>&6
echo
"configure:26
85
: checking for uintptr_t support"
>
&5
echo
"configure:26
76
: checking for uintptr_t support"
>
&5
have_uintptr_t
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
88
"configure"
#line 26
79
"configure"
#include "confdefs.h"
int main() {
uintptr_t x; x = (uintptr_t)0;
; return 0; }
EOF
if
{
(
eval echo
configure:26
95
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:26
86
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_UINTPTR_T 1
...
...
@@ -2705,7 +2696,7 @@ rm -f conftest*
echo
"
$ac_t
""
$have_uintptr_t
"
1>&6
if
test
"
$have_uintptr_t
"
=
yes
;
then
echo
$ac_n
"checking size of uintptr_t""...
$ac_c
"
1>&6
echo
"configure:270
9
: checking size of uintptr_t"
>
&5
echo
"configure:270
0
: checking size of uintptr_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_uintptr_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2713,10 +2704,9 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
17
"configure"
#line 27
08
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2725,7 +2715,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:27
2
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:27
1
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_uintptr_t
=
`
cat
conftestval
`
else
...
...
@@ -2748,7 +2738,7 @@ fi
# Hmph. AC_CHECK_SIZEOF() doesn't include <sys/types.h>.
echo
$ac_n
"checking size of off_t""...
$ac_c
"
1>&6
echo
"configure:27
5
2: checking size of off_t"
>
&5
echo
"configure:27
4
2: checking size of off_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_off_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2756,7 +2746,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
6
0 "configure"
#line 27
5
0 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
...
...
@@ -2768,7 +2758,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:27
7
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:27
6
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_off_t
=
`
cat
conftestval
`
else
...
...
@@ -2790,7 +2780,7 @@ EOF
echo
$ac_n
"checking whether to enable large file support""...
$ac_c
"
1>&6
echo
"configure:27
9
4: checking whether to enable large file support"
>
&5
echo
"configure:27
8
4: checking whether to enable large file support"
>
&5
if
test
"
$have_long_long
"
=
yes
-a
\
"
$ac_cv_sizeof_off_t
"
-gt
"
$ac_cv_sizeof_long
"
-a
\
"
$ac_cv_sizeof_long_long
"
-ge
"
$ac_cv_sizeof_off_t
"
;
then
...
...
@@ -2805,7 +2795,7 @@ fi
# AC_CHECK_SIZEOF() doesn't include <time.h>.
echo
$ac_n
"checking size of time_t""...
$ac_c
"
1>&6
echo
"configure:2
80
9: checking size of time_t"
>
&5
echo
"configure:2
79
9: checking size of time_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_time_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2813,7 +2803,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
1
7 "configure"
#line 28
0
7 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <time.h>
...
...
@@ -2825,7 +2815,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:28
2
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:28
1
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_time_t
=
`
cat
conftestval
`
else
...
...
@@ -2853,17 +2843,17 @@ if test "$ac_cv_kpthread" = "yes"
then
CC
=
"
$CC
-Kpthread"
fi
echo
$ac_n
"checking for pthread_t""...
$ac_c
"
1>&6
echo
"configure:28
5
7: checking for pthread_t"
>
&5
echo
"configure:28
4
7: checking for pthread_t"
>
&5
have_pthread_t
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
6
0 "configure"
#line 28
5
0 "configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
pthread_t x; x = *(pthread_t*)0;
; return 0; }
EOF
if
{
(
eval echo
configure:28
6
7:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:28
5
7:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
have_pthread_t
=
yes
else
...
...
@@ -2875,7 +2865,7 @@ echo "$ac_t""$have_pthread_t" 1>&6
if
test
"
$have_pthread_t
"
=
yes
;
then
# AC_CHECK_SIZEOF() doesn't include <pthread.h>.
echo
$ac_n
"checking size of pthread_t""...
$ac_c
"
1>&6
echo
"configure:28
7
9: checking size of pthread_t"
>
&5
echo
"configure:28
6
9: checking size of pthread_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_pthread_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2883,7 +2873,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
8
7 "configure"
#line 28
7
7 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <pthread.h>
...
...
@@ -2895,7 +2885,7 @@ else
exit(0);
}
EOF
if
{
(
eval echo
configure:28
9
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:28
8
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_pthread_t
=
`
cat
conftestval
`
else
...
...
@@ -2919,7 +2909,7 @@ fi
CC
=
"
$ac_save_cc
"
echo
$ac_n
"checking for --enable-toolbox-glue""...
$ac_c
"
1>&6
echo
"configure:29
2
3: checking for --enable-toolbox-glue"
>
&5
echo
"configure:29
1
3: checking for --enable-toolbox-glue"
>
&5
# Check whether --enable-toolbox-glue or --disable-toolbox-glue was given.
if
test
"
${
enable_toolbox_glue
+set
}
"
=
set
;
then
enableval
=
"
$enable_toolbox_glue
"
...
...
@@ -2965,7 +2955,7 @@ case $ac_sys_system/$ac_sys_release in
esac
echo
$ac_n
"checking for --enable-framework""...
$ac_c
"
1>&6
echo
"configure:29
6
9: checking for --enable-framework"
>
&5
echo
"configure:29
5
9: checking for --enable-framework"
>
&5
if
test
"
$enable_framework
"
then
OPT
=
"
$OPT
-fno-common -dynamic"
...
...
@@ -2985,7 +2975,7 @@ else
fi
echo
$ac_n
"checking for dyld""...
$ac_c
"
1>&6
echo
"configure:29
8
9: checking for dyld"
>
&5
echo
"configure:29
7
9: checking for dyld"
>
&5
case
$ac_sys_system
/
$ac_sys_release
in
Darwin/
*
)
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -3008,7 +2998,7 @@ esac
# SO is the extension of shared libraries `(including the dot!)
# -- usually .so, .sl on HP-UX, .dll on Cygwin
echo
$ac_n
"checking SO""...
$ac_c
"
1>&6
echo
"configure:30
1
2: checking SO"
>
&5
echo
"configure:30
0
2: checking SO"
>
&5
if
test
-z
"
$SO
"
then
case
$ac_sys_system
in
...
...
@@ -3023,7 +3013,7 @@ echo "$ac_t""$SO" 1>&6
# (Shared libraries in this instance are shared modules to be loaded into
# Python, as opposed to building Python itself as a shared library.)
echo
$ac_n
"checking LDSHARED""...
$ac_c
"
1>&6
echo
"configure:30
2
7: checking LDSHARED"
>
&5
echo
"configure:30
1
7: checking LDSHARED"
>
&5
if
test
-z
"
$LDSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -3089,7 +3079,7 @@ BLDSHARED=${BLDSHARED-$LDSHARED}
# CCSHARED are the C *flags* used to create objects to go into a shared
# library (module) -- this is only needed for a few systems
echo
$ac_n
"checking CCSHARED""...
$ac_c
"
1>&6
echo
"configure:30
9
3: checking CCSHARED"
>
&5
echo
"configure:30
8
3: checking CCSHARED"
>
&5
if
test
-z
"
$CCSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -3122,7 +3112,7 @@ echo "$ac_t""$CCSHARED" 1>&6
# LINKFORSHARED are the flags passed to the $(CC) command that links
# the python executable -- this is only needed for a few systems
echo
$ac_n
"checking LINKFORSHARED""...
$ac_c
"
1>&6
echo
"configure:31
2
6: checking LINKFORSHARED"
>
&5
echo
"configure:31
1
6: checking LINKFORSHARED"
>
&5
if
test
-z
"
$LINKFORSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -3167,7 +3157,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
echo
$ac_n
"checking CFLAGSFORSHARED""...
$ac_c
"
1>&6
echo
"configure:31
7
1: checking CFLAGSFORSHARED"
>
&5
echo
"configure:31
6
1: checking CFLAGSFORSHARED"
>
&5
if
test
!
"
$LIBRARY
"
=
"
$LDLIBRARY
"
then
case
$ac_sys_system
in
...
...
@@ -3183,7 +3173,7 @@ echo "$ac_t""$CFLAGSFORSHARED" 1>&6
# checks for libraries
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:31
8
7: checking for dlopen in -ldl"
>
&5
echo
"configure:31
7
7: checking for dlopen in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
dlopen |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3191,7 +3181,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
9
5 "configure"
#line 31
8
5 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3202,7 +3192,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:3
20
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
19
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3230,7 +3220,7 @@ else
fi
# Dynamic linking for SunOS/Solaris and SYSV
echo
$ac_n
"checking for shl_load in -ldld""...
$ac_c
"
1>&6
echo
"configure:32
3
4: checking for shl_load in -ldld"
>
&5
echo
"configure:32
2
4: checking for shl_load in -ldld"
>
&5
ac_lib_var
=
`
echo
dld
'_'
shl_load |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3238,7 +3228,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
4
2 "configure"
#line 32
3
2 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3249,7 +3239,7 @@ int main() {
shl_load()
; return 0; }
EOF
if
{
(
eval echo
configure:32
5
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
4
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3280,16 +3270,16 @@ fi
# checks for system dependent C++ extensions support
case
"
$ac_sys_system
"
in
AIX
*
)
echo
$ac_n
"checking for genuine AIX C++ extensions support""...
$ac_c
"
1>&6
echo
"configure:32
8
4: checking for genuine AIX C++ extensions support"
>
&5
echo
"configure:32
7
4: checking for genuine AIX C++ extensions support"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
8
6 "configure"
#line 32
7
6 "configure"
#include "confdefs.h"
#include "/usr/lpp/xlC/include/load.h"
int main() {
loadAndInit("", 0, "")
; return 0; }
EOF
if
{
(
eval echo
configure:32
9
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
8
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define AIX_GENUINE_CPLUSPLUS 1
...
...
@@ -3313,7 +3303,7 @@ case "$ac_sys_system" in
IRIX
*
)
;;
*
)
echo
$ac_n
"checking for t_open in -lnsl""...
$ac_c
"
1>&6
echo
"configure:33
1
7: checking for t_open in -lnsl"
>
&5
echo
"configure:33
0
7: checking for t_open in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
t_open |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3321,7 +3311,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
2
5 "configure"
#line 33
1
5 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3332,7 +3322,7 @@ int main() {
t_open()
; return 0; }
EOF
if
{
(
eval echo
configure:33
3
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:33
2
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3353,7 +3343,7 @@ else
fi
# SVR4
echo
$ac_n
"checking for socket in -lsocket""...
$ac_c
"
1>&6
echo
"configure:33
5
7: checking for socket in -lsocket"
>
&5
echo
"configure:33
4
7: checking for socket in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
socket |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3361,7 +3351,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
6
5 "configure"
#line 33
5
5 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3372,7 +3362,7 @@ int main() {
socket()
; return 0; }
EOF
if
{
(
eval echo
configure:33
7
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:33
6
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3397,7 +3387,7 @@ esac
case
"
$ac_sys_system
"
in
BeOS
*
)
echo
$ac_n
"checking for socket in -lnet""...
$ac_c
"
1>&6
echo
"configure:3
40
1: checking for socket in -lnet"
>
&5
echo
"configure:3
39
1: checking for socket in -lnet"
>
&5
ac_lib_var
=
`
echo
net
'_'
socket |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3405,7 +3395,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnet
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
40
9 "configure"
#line 3
39
9 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3416,7 +3406,7 @@ int main() {
socket()
; return 0; }
EOF
if
{
(
eval echo
configure:34
2
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
1
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3440,7 +3430,7 @@ fi
esac
echo
$ac_n
"checking for --with-libs""...
$ac_c
"
1>&6
echo
"configure:34
4
4: checking for --with-libs"
>
&5
echo
"configure:34
3
4: checking for --with-libs"
>
&5
# Check whether --with-libs or --without-libs was given.
if
test
"
${
with_libs
+set
}
"
=
set
;
then
withval
=
"
$with_libs
"
...
...
@@ -3457,7 +3447,7 @@ fi
echo
$ac_n
"checking for --with-signal-module""...
$ac_c
"
1>&6
echo
"configure:34
6
1: checking for --with-signal-module"
>
&5
echo
"configure:34
5
1: checking for --with-signal-module"
>
&5
# Check whether --with-signal-module or --without-signal-module was given.
if
test
"
${
with_signal_module
+set
}
"
=
set
;
then
withval
=
"
$with_signal_module
"
...
...
@@ -3483,7 +3473,7 @@ fi
USE_THREAD_MODULE
=
""
echo
$ac_n
"checking for --with-dec-threads""...
$ac_c
"
1>&6
echo
"configure:34
8
7: checking for --with-dec-threads"
>
&5
echo
"configure:34
7
7: checking for --with-dec-threads"
>
&5
# Check whether --with-dec-threads or --without-dec-threads was given.
if
test
"
${
with_dec_threads
+set
}
"
=
set
;
then
...
...
@@ -3500,7 +3490,7 @@ fi
echo
$ac_n
"checking for --with-threads""...
$ac_c
"
1>&6
echo
"configure:3
50
4: checking for --with-threads"
>
&5
echo
"configure:3
49
4: checking for --with-threads"
>
&5
# Check whether --with-threads or --without-threads was given.
if
test
"
${
with_threads
+set
}
"
=
set
;
then
withval
=
"
$with_threads
"
...
...
@@ -3550,17 +3540,17 @@ EOF
ac_safe
=
`
echo
"mach/cthreads.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for mach/cthreads.h""...
$ac_c
"
1>&6
echo
"configure:35
5
4: checking for mach/cthreads.h"
>
&5
echo
"configure:35
4
4: checking for mach/cthreads.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
5
9 "configure"
#line 35
4
9 "configure"
#include "confdefs.h"
#include <mach/cthreads.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:35
6
4:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:35
5
4:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3589,7 +3579,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for --with-pth""...
$ac_c
"
1>&6
echo
"configure:35
9
3: checking for --with-pth"
>
&5
echo
"configure:35
8
3: checking for --with-pth"
>
&5
# Check whether --with-pth or --without-pth was given.
if
test
"
${
with_pth
+set
}
"
=
set
;
then
withval
=
"
$with_pth
"
...
...
@@ -3609,7 +3599,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthread""...
$ac_c
"
1>&6
echo
"configure:36
1
3: checking for pthread_create in -lpthread"
>
&5
echo
"configure:36
0
3: checking for pthread_create in -lpthread"
>
&5
ac_lib_var
=
`
echo
pthread
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3617,7 +3607,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
2
1 "configure"
#line 36
1
1 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3628,7 +3618,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:36
3
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:36
2
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3660,12 +3650,12 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_detach""...
$ac_c
"
1>&6
echo
"configure:36
6
4: checking for pthread_detach"
>
&5
echo
"configure:36
5
4: checking for pthread_detach"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_pthread_detach
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
6
9 "configure"
#line 36
5
9 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_detach(); below. */
...
...
@@ -3688,7 +3678,7 @@ pthread_detach();
; return 0; }
EOF
if
{
(
eval echo
configure:36
9
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:36
8
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_pthread_detach=yes"
else
...
...
@@ -3719,17 +3709,17 @@ else
ac_safe
=
`
echo
"kernel/OS.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for kernel/OS.h""...
$ac_c
"
1>&6
echo
"configure:37
2
3: checking for kernel/OS.h"
>
&5
echo
"configure:37
1
3: checking for kernel/OS.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
2
8 "configure"
#line 37
1
8 "configure"
#include "confdefs.h"
#include <kernel/OS.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:37
3
3:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:37
2
3:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3758,7 +3748,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthreads""...
$ac_c
"
1>&6
echo
"configure:37
6
2: checking for pthread_create in -lpthreads"
>
&5
echo
"configure:37
5
2: checking for pthread_create in -lpthreads"
>
&5
ac_lib_var
=
`
echo
pthreads
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3766,7 +3756,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
7
0 "configure"
#line 37
6
0 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3777,7 +3767,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:37
8
1:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:37
7
1:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3806,7 +3796,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lc_r""...
$ac_c
"
1>&6
echo
"configure:38
1
0: checking for pthread_create in -lc_r"
>
&5
echo
"configure:38
0
0: checking for pthread_create in -lc_r"
>
&5
ac_lib_var
=
`
echo
c_r
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3814,7 +3804,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lc_r
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
1
8 "configure"
#line 38
0
8 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3825,7 +3815,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:38
2
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
1
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3854,7 +3844,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __d6_pthread_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:38
5
8: checking for __d6_pthread_create in -lthread"
>
&5
echo
"configure:38
4
8: checking for __d6_pthread_create in -lthread"
>
&5
ac_lib_var
=
`
echo
thread
'_'
__d6_pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3862,7 +3852,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
6
6 "configure"
#line 38
5
6 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3873,7 +3863,7 @@ int main() {
__d6_pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:38
7
7:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
6
7:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3902,7 +3892,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __pthread_create_system in -lpthread""...
$ac_c
"
1>&6
echo
"configure:3
90
6: checking for __pthread_create_system in -lpthread"
>
&5
echo
"configure:3
89
6: checking for __pthread_create_system in -lpthread"
>
&5
ac_lib_var
=
`
echo
pthread
'_'
__pthread_create_system |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3910,7 +3900,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
1
4 "configure"
#line 39
0
4 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3921,7 +3911,7 @@ int main() {
__pthread_create_system()
; return 0; }
EOF
if
{
(
eval echo
configure:39
2
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
1
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3950,7 +3940,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lcma""...
$ac_c
"
1>&6
echo
"configure:39
5
4: checking for pthread_create in -lcma"
>
&5
echo
"configure:39
4
4: checking for pthread_create in -lcma"
>
&5
ac_lib_var
=
`
echo
cma
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3958,7 +3948,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcma
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
6
2 "configure"
#line 39
5
2 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3969,7 +3959,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:39
7
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
6
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4021,7 +4011,7 @@ fi
echo
$ac_n
"checking for usconfig in -lmpc""...
$ac_c
"
1>&6
echo
"configure:40
2
5: checking for usconfig in -lmpc"
>
&5
echo
"configure:40
1
5: checking for usconfig in -lmpc"
>
&5
ac_lib_var
=
`
echo
mpc
'_'
usconfig |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4029,7 +4019,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
3
3 "configure"
#line 40
2
3 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4040,7 +4030,7 @@ int main() {
usconfig()
; return 0; }
EOF
if
{
(
eval echo
configure:40
4
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
3
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4067,7 +4057,7 @@ else
fi
echo
$ac_n
"checking for thr_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:40
7
1: checking for thr_create in -lthread"
>
&5
echo
"configure:40
6
1: checking for thr_create in -lthread"
>
&5
ac_lib_var
=
`
echo
thread
'_'
thr_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4075,7 +4065,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
7
9 "configure"
#line 40
6
9 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4086,7 +4076,7 @@ int main() {
thr_create()
; return 0; }
EOF
if
{
(
eval echo
configure:40
9
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
8
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4124,8 +4114,8 @@ fi
fi
# Check for enable-ipv6
echo
$ac_n
"checking
whether to enable ipv6
""...
$ac_c
"
1>&6
echo
"configure:41
29: checking whether to enable ipv6
"
>
&5
echo
$ac_n
"checking
if --enable-ipv6 is specified
""...
$ac_c
"
1>&6
echo
"configure:41
19: checking if --enable-ipv6 is specified
"
>
&5
# Check whether --enable-ipv6 or --disable-ipv6 was given.
if
test
"
${
enable_ipv6
+set
}
"
=
set
;
then
enableval
=
"
$enable_ipv6
"
...
...
@@ -4143,13 +4133,14 @@ EOF
;;
esac
else
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""no"
1>&6
ipv6
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
53
"configure"
#line 41
44
"configure"
#include "confdefs.h"
/* AF_INET6 available check */
#include <sys/types.h>
...
...
@@ -4163,13 +4154,9 @@ main()
}
EOF
if
{
(
eval echo
configure:41
67
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:41
58
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
#define ENABLE_IPV6 1
EOF
ipv6
=
yes
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -4181,6 +4168,41 @@ fi
rm
-fr
conftest
*
fi
if
test
"
$ipv6
"
=
"yes"
;
then
echo
$ac_n
"checking if RFC2553 API is available""...
$ac_c
"
1>&6
echo
"configure:4175: checking if RFC2553 API is available"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 4177 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <netinet/in.h>
int main() {
struct sockaddr_in6 x;
x.sin6_scope_id;
; return 0; }
EOF
if
{
(
eval echo
configure:4186:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
ipv6
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&6
ipv6
=
no
fi
rm
-f
conftest
*
fi
if
test
"
$ipv6
"
=
"yes"
;
then
cat
>>
confdefs.h
<<
\
EOF
#define ENABLE_IPV6 1
EOF
fi
fi
...
...
@@ -4190,12 +4212,12 @@ ipv6trylibc=no
if
test
"
$ipv6
"
=
"yes"
;
then
echo
$ac_n
"checking ipv6 stack type""...
$ac_c
"
1>&6
echo
"configure:4
194
: checking ipv6 stack type"
>
&5
echo
"configure:4
216
: checking ipv6 stack type"
>
&5
for
i
in
inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta
;
do
case
$i
in
inria
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
199
"configure"
#line 4
221
"configure"
#include "confdefs.h"
dnl
#include <netinet/in.h>
...
...
@@ -4214,7 +4236,7 @@ rm -f conftest*
;;
kame
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
18
"configure"
#line 42
40
"configure"
#include "confdefs.h"
dnl
#include <netinet/in.h>
...
...
@@ -4236,7 +4258,7 @@ rm -f conftest*
;;
linux-glibc
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
40
"configure"
#line 42
62
"configure"
#include "confdefs.h"
dnl
#include <features.h>
...
...
@@ -4273,7 +4295,7 @@ rm -f conftest*
;;
toshiba
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
77
"configure"
#line 42
99
"configure"
#include "confdefs.h"
dnl
#include <sys/param.h>
...
...
@@ -4294,7 +4316,7 @@ rm -f conftest*
;;
v6d
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
298
"configure"
#line 4
320
"configure"
#include "confdefs.h"
dnl
#include </usr/local/v6/include/sys/v6config.h>
...
...
@@ -4315,7 +4337,7 @@ rm -f conftest*
;;
zeta
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
19
"configure"
#line 43
41
"configure"
#include "confdefs.h"
dnl
#include <sys/param.h>
...
...
@@ -4360,7 +4382,7 @@ fi
# Check for GC support
echo
$ac_n
"checking for --with-cycle-gc""...
$ac_c
"
1>&6
echo
"configure:43
64
: checking for --with-cycle-gc"
>
&5
echo
"configure:43
86
: checking for --with-cycle-gc"
>
&5
# Check whether --with-cycle-gc or --without-cycle-gc was given.
if
test
"
${
with_cycle_gc
+set
}
"
=
set
;
then
withval
=
"
$with_cycle_gc
"
...
...
@@ -4382,7 +4404,7 @@ echo "$ac_t""$with_cycle_gc" 1>&6
# Check for Python-specific malloc support
echo
$ac_n
"checking for --with-pymalloc""...
$ac_c
"
1>&6
echo
"configure:4
386
: checking for --with-pymalloc"
>
&5
echo
"configure:4
408
: checking for --with-pymalloc"
>
&5
# Check whether --with-pymalloc or --without-pymalloc was given.
if
test
"
${
with_pymalloc
+set
}
"
=
set
;
then
withval
=
"
$with_pymalloc
"
...
...
@@ -4401,7 +4423,7 @@ fi
# Check for --with-wctype-functions
echo
$ac_n
"checking for --with-wctype-functions""...
$ac_c
"
1>&6
echo
"configure:44
05
: checking for --with-wctype-functions"
>
&5
echo
"configure:44
27
: checking for --with-wctype-functions"
>
&5
# Check whether --with-wctype-functions or --without-wctype-functions was given.
if
test
"
${
with_wctype_functions
+set
}
"
=
set
;
then
withval
=
"
$with_wctype_functions
"
...
...
@@ -4423,7 +4445,7 @@ fi
DLINCLDIR
=
/
echo
$ac_n
"checking for --with-sgi-dl""...
$ac_c
"
1>&6
echo
"configure:44
27
: checking for --with-sgi-dl"
>
&5
echo
"configure:44
49
: checking for --with-sgi-dl"
>
&5
# Check whether --with-sgi-dl or --without-sgi-dl was given.
if
test
"
${
with_sgi_dl
+set
}
"
=
set
;
then
withval
=
"
$with_sgi_dl
"
...
...
@@ -4447,7 +4469,7 @@ fi
echo
$ac_n
"checking for --with-dl-dld""...
$ac_c
"
1>&6
echo
"configure:44
51
: checking for --with-dl-dld"
>
&5
echo
"configure:44
73
: checking for --with-dl-dld"
>
&5
# Check whether --with-dl-dld or --without-dl-dld was given.
if
test
"
${
with_dl_dld
+set
}
"
=
set
;
then
withval
=
"
$with_dl_dld
"
...
...
@@ -4476,12 +4498,12 @@ fi
for
ac_func
in
dlopen
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:4
480
: checking for
$ac_func
"
>
&5
echo
"configure:4
502
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
485
"configure"
#line 4
507
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4504,7 +4526,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:45
08
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:45
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4533,7 +4555,7 @@ done
# loading of modules.
echo
$ac_n
"checking DYNLOADFILE""...
$ac_c
"
1>&6
echo
"configure:45
37
: checking DYNLOADFILE"
>
&5
echo
"configure:45
59
: checking DYNLOADFILE"
>
&5
if
test
-z
"
$DYNLOADFILE
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -4564,7 +4586,7 @@ fi
echo
$ac_n
"checking MACHDEP_OBJS""...
$ac_c
"
1>&6
echo
"configure:45
68
: checking MACHDEP_OBJS"
>
&5
echo
"configure:45
90
: checking MACHDEP_OBJS"
>
&5
if
test
-z
"
$MACHDEP_OBJS
"
then
MACHDEP_OBJS
=
$extra_machdep_objs
...
...
@@ -4587,12 +4609,12 @@ for ac_func in alarm chown clock confstr ctermid ctermid_r execv \
truncate uname
waitpid _getpty getpriority
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:4
591
: checking for
$ac_func
"
>
&5
echo
"configure:4
613
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
596
"configure"
#line 4
618
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4615,7 +4637,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:46
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:46
41
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4645,12 +4667,12 @@ done
for
ac_func
in
openpty
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:46
49
: checking for
$ac_func
"
>
&5
echo
"configure:46
71
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
54
"configure"
#line 46
76
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4673,7 +4695,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:46
77
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:46
99
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4695,7 +4717,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for openpty in -lutil""...
$ac_c
"
1>&6
echo
"configure:4
699
: checking for openpty in -lutil"
>
&5
echo
"configure:4
721
: checking for openpty in -lutil"
>
&5
ac_lib_var
=
`
echo
util
'_'
openpty |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4703,7 +4725,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
07
"configure"
#line 47
29
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4714,7 +4736,7 @@ int main() {
openpty()
; return 0; }
EOF
if
{
(
eval echo
configure:47
18
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:47
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4743,12 +4765,12 @@ done
for
ac_func
in
forkpty
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:47
47
: checking for
$ac_func
"
>
&5
echo
"configure:47
69
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
52
"configure"
#line 47
74
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4771,7 +4793,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:47
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:47
97
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4793,7 +4815,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for forkpty in -lutil""...
$ac_c
"
1>&6
echo
"configure:4
797
: checking for forkpty in -lutil"
>
&5
echo
"configure:4
819
: checking for forkpty in -lutil"
>
&5
ac_lib_var
=
`
echo
util
'_'
forkpty |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4801,7 +4823,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
05
"configure"
#line 48
27
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4812,7 +4834,7 @@ int main() {
forkpty()
; return 0; }
EOF
if
{
(
eval echo
configure:48
16
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:48
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4843,12 +4865,12 @@ done
for
ac_func
in
fseek64 fseeko fstatvfs ftell64 ftello statvfs
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:48
47
: checking for
$ac_func
"
>
&5
echo
"configure:48
69
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
52
"configure"
#line 48
74
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4871,7 +4893,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:48
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:48
97
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4899,12 +4921,12 @@ done
for
ac_func
in
dup2 getcwd strdup strerror memmove
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:49
03
: checking for
$ac_func
"
>
&5
echo
"configure:49
25
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
08
"configure"
#line 49
30
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4927,7 +4949,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:49
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:49
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4956,12 +4978,12 @@ done
for
ac_func
in
getpgrp
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:49
60
: checking for
$ac_func
"
>
&5
echo
"configure:49
82
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
65
"configure"
#line 49
87
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4984,7 +5006,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:
4988
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
5010
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5003,14 +5025,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
07
"configure"
#line 50
29
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
getpgrp(0);
; return 0; }
EOF
if
{
(
eval echo
configure:50
14
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:50
36
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define GETPGRP_HAVE_ARG 1
...
...
@@ -5029,12 +5051,12 @@ done
for
ac_func
in
setpgrp
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:50
33
: checking for
$ac_func
"
>
&5
echo
"configure:50
55
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
38
"configure"
#line 50
60
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5057,7 +5079,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:50
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:50
83
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5076,14 +5098,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
080
"configure"
#line 5
102
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
setpgrp(0,0);
; return 0; }
EOF
if
{
(
eval echo
configure:5
087
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
109
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SETPGRP_HAVE_ARG 1
...
...
@@ -5102,12 +5124,12 @@ done
for
ac_func
in
gettimeofday
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:51
06
: checking for
$ac_func
"
>
&5
echo
"configure:51
28
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
11
"configure"
#line 51
33
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5130,7 +5152,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:51
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
56
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5149,14 +5171,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
53
"configure"
#line 51
75
"configure"
#include "confdefs.h"
#include <sys/time.h>
int main() {
gettimeofday((struct timeval*)0,(struct timezone*)0);
; return 0; }
EOF
if
{
(
eval echo
configure:51
60
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
82
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -5177,12 +5199,12 @@ done
for
ac_func
in
getaddrinfo
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:5
181
: checking for
$ac_func
"
>
&5
echo
"configure:5
203
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
186
"configure"
#line 5
208
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5205,7 +5227,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:52
09
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:52
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5224,13 +5246,13 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
echo
$ac_n
"checking getaddrinfo bug""...
$ac_c
"
1>&6
echo
"configure:52
28
: checking getaddrinfo bug"
>
&5
echo
"configure:52
50
: checking getaddrinfo bug"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""buggy"
1>&6
buggygetaddrinfo
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 52
34
"configure"
#line 52
56
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5319,7 +5341,7 @@ main()
}
EOF
if
{
(
eval echo
configure:53
23
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:53
45
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
echo
"
$ac_t
""good"
1>&6
buggygetaddrinfo
=
no
...
...
@@ -5350,12 +5372,12 @@ fi
for
ac_func
in
getnameinfo
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:53
54
: checking for
$ac_func
"
>
&5
echo
"configure:53
76
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
59
"configure"
#line 53
81
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5378,7 +5400,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:5
382
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
404
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5405,12 +5427,12 @@ done
# checks for structures
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:54
09
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:54
31
: checking whether time.h and sys/time.h may both be included"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
14
"configure"
#line 54
36
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -5419,7 +5441,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:54
23
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
45
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -5440,12 +5462,12 @@ EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:54
44
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:54
66
: checking whether struct tm is in sys/time.h or time.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
49
"configure"
#line 54
71
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -5453,7 +5475,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:54
57
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
79
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -5474,12 +5496,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:5
478
: checking for tm_zone in struct tm"
>
&5
echo
"configure:5
500
: checking for tm_zone in struct tm"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
483
"configure"
#line 5
505
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -5487,7 +5509,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:5
491
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
513
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -5507,12 +5529,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:55
11
: checking for tzname"
>
&5
echo
"configure:55
33
: checking for tzname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
16
"configure"
#line 55
38
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -5522,7 +5544,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:55
26
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:55
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -5545,19 +5567,19 @@ fi
echo
$ac_n
"checking for time.h that defines altzone""...
$ac_c
"
1>&6
echo
"configure:55
49
: checking for time.h that defines altzone"
>
&5
echo
"configure:55
71
: checking for time.h that defines altzone"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time_altzone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
54
"configure"
#line 55
76
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
return altzone;
; return 0; }
EOF
if
{
(
eval echo
configure:55
61
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:55
83
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time_altzone
=
yes
else
...
...
@@ -5579,9 +5601,9 @@ fi
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
"configure:5
583
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
echo
"configure:5
605
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
585
"configure"
#line 5
607
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5592,7 +5614,7 @@ int main() {
;
; return 0; }
EOF
if
{
(
eval echo
configure:5
596
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
618
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SYS_SELECT_WITH_SYS_TIME 1
...
...
@@ -5606,12 +5628,12 @@ rm -f conftest*
echo
"
$ac_t
""
$was_it_defined
"
1>&6
echo
$ac_n
"checking for addrinfo""...
$ac_c
"
1>&6
echo
"configure:56
10
: checking for addrinfo"
>
&5
echo
"configure:56
32
: checking for addrinfo"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_addrinfo
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
15
"configure"
#line 56
37
"configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -5619,7 +5641,7 @@ int main() {
struct addrinfo a
; return 0; }
EOF
if
{
(
eval echo
configure:56
23
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:56
45
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_addrinfo
=
yes
else
...
...
@@ -5640,12 +5662,12 @@ EOF
fi
echo
$ac_n
"checking for sockaddr_storage""...
$ac_c
"
1>&6
echo
"configure:56
44
: checking for sockaddr_storage"
>
&5
echo
"configure:56
66
: checking for sockaddr_storage"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_sockaddr_storage
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
49
"configure"
#line 56
71
"configure"
#include "confdefs.h"
# include <sys/types.h>
...
...
@@ -5654,7 +5676,7 @@ int main() {
struct sockaddr_storage s
; return 0; }
EOF
if
{
(
eval echo
configure:56
58
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:56
80
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_sockaddr_storage
=
yes
else
...
...
@@ -5677,14 +5699,14 @@ fi
# checks for compiler characteristics
echo
$ac_n
"checking whether char is unsigned""...
$ac_c
"
1>&6
echo
"configure:5
681
: checking whether char is unsigned"
>
&5
echo
"configure:5
703
: checking whether char is unsigned"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_char_unsigned
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
"
$GCC
"
=
yes
;
then
# GCC predefines this symbol on systems where it applies.
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
688
"configure"
#line 5
710
"configure"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
yes
...
...
@@ -5706,7 +5728,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
10
"configure"
#line 57
32
"configure"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1
...
...
@@ -5716,7 +5738,7 @@ main() {
volatile char c = 255; exit(c < 0);
}
EOF
if
{
(
eval echo
configure:57
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:57
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_char_unsigned
=
yes
else
...
...
@@ -5740,12 +5762,12 @@ EOF
fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:57
44
: checking for working const"
>
&5
echo
"configure:57
66
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
49
"configure"
#line 57
71
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -5794,7 +5816,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:5
798
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
820
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -5817,16 +5839,16 @@ fi
works
=
no
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&6
echo
"configure:58
21
: checking for working volatile"
>
&5
echo
"configure:58
43
: checking for working volatile"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
23
"configure"
#line 58
45
"configure"
#include "confdefs.h"
int main() {
volatile int x; x = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:58
30
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:58
52
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -5843,16 +5865,16 @@ echo "$ac_t""$works" 1>&6
works
=
no
echo
$ac_n
"checking for working signed char""...
$ac_c
"
1>&6
echo
"configure:58
47
: checking for working signed char"
>
&5
echo
"configure:58
69
: checking for working signed char"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
49
"configure"
#line 58
71
"configure"
#include "confdefs.h"
int main() {
signed char c;
; return 0; }
EOF
if
{
(
eval echo
configure:58
56
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:58
78
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -5869,16 +5891,16 @@ echo "$ac_t""$works" 1>&6
have_prototypes
=
no
echo
$ac_n
"checking for prototypes""...
$ac_c
"
1>&6
echo
"configure:58
73
: checking for prototypes"
>
&5
echo
"configure:58
95
: checking for prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
75
"configure"
#line 58
97
"configure"
#include "confdefs.h"
int foo(int x) { return 0; }
int main() {
return foo(10);
; return 0; }
EOF
if
{
(
eval echo
configure:5
882
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
904
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_PROTOTYPES 1
...
...
@@ -5893,9 +5915,9 @@ echo "$ac_t""$have_prototypes" 1>&6
works
=
no
echo
$ac_n
"checking for variable length prototypes and stdarg.h""...
$ac_c
"
1>&6
echo
"configure:5
897
: checking for variable length prototypes and stdarg.h"
>
&5
echo
"configure:5
919
: checking for variable length prototypes and stdarg.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
899
"configure"
#line 5
921
"configure"
#include "confdefs.h"
#include <stdarg.h>
...
...
@@ -5912,7 +5934,7 @@ int main() {
return foo(10, "", 3.14);
; return 0; }
EOF
if
{
(
eval echo
configure:59
16
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
38
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STDARG_PROTOTYPES 1
...
...
@@ -5928,16 +5950,16 @@ echo "$ac_t""$works" 1>&6
if
test
"
$have_prototypes
"
=
yes
;
then
bad_prototypes
=
no
echo
$ac_n
"checking for bad exec* prototypes""...
$ac_c
"
1>&6
echo
"configure:59
32
: checking for bad exec* prototypes"
>
&5
echo
"configure:59
54
: checking for bad exec* prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
34
"configure"
#line 59
56
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
char **t;execve("@",t,t);
; return 0; }
EOF
if
{
(
eval echo
configure:59
41
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
63
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -5954,9 +5976,9 @@ fi
# check if sockaddr has sa_len member
echo
$ac_n
"checking if sockaddr has sa_len member""...
$ac_c
"
1>&6
echo
"configure:59
58
: checking if sockaddr has sa_len member"
>
&5
echo
"configure:59
80
: checking if sockaddr has sa_len member"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
60
"configure"
#line 59
82
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -5965,7 +5987,7 @@ struct sockaddr x;
x.sa_len = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:59
69
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
91
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -5981,7 +6003,7 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for bad static forward""...
$ac_c
"
1>&6
echo
"configure:
5985
: checking for bad static forward"
>
&5
echo
"configure:
6007
: checking for bad static forward"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_bad_static_forward
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5989,7 +6011,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
5993
"configure"
#line
6015
"configure"
#include "confdefs.h"
struct s { int a; int b; };
...
...
@@ -6004,7 +6026,7 @@ main() {
exit(!((int)&foo == foobar()));
}
EOF
if
{
(
eval echo
configure:60
08
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:60
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_bad_static_forward
=
no
else
...
...
@@ -6029,9 +6051,9 @@ fi
va_list_is_array
=
no
echo
$ac_n
"checking whether va_list is an array""...
$ac_c
"
1>&6
echo
"configure:60
33
: checking whether va_list is an array"
>
&5
echo
"configure:60
55
: checking whether va_list is an array"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 60
35
"configure"
#line 60
57
"configure"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
...
...
@@ -6044,7 +6066,7 @@ int main() {
va_list list1, list2; list1 = list2;
; return 0; }
EOF
if
{
(
eval echo
configure:60
48
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:60
70
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -6060,12 +6082,12 @@ echo "$ac_t""$va_list_is_array" 1>&6
# 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
"configure:60
64
: checking for gethostbyname_r"
>
&5
echo
"configure:60
86
: checking for gethostbyname_r"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostbyname_r
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 60
69
"configure"
#line 60
91
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname_r(); below. */
...
...
@@ -6088,7 +6110,7 @@ gethostbyname_r();
; return 0; }
EOF
if
{
(
eval echo
configure:6
092
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
114
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gethostbyname_r=yes"
else
...
...
@@ -6108,11 +6130,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
EOF
echo
$ac_n
"checking gethostbyname_r with 6 args""...
$ac_c
"
1>&6
echo
"configure:61
12
: checking gethostbyname_r with 6 args"
>
&5
echo
"configure:61
34
: checking gethostbyname_r with 6 args"
>
&5
OLD_CFLAGS
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
$MY_CPPFLAGS
$MY_THREAD_CPPFLAGS
$MY_CFLAGS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 61
16
"configure"
#line 61
38
"configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -6129,7 +6151,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:61
33
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:61
55
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6149,9 +6171,9 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking gethostbyname_r with 5 args""...
$ac_c
"
1>&6
echo
"configure:61
53
: checking gethostbyname_r with 5 args"
>
&5
echo
"configure:61
75
: checking gethostbyname_r with 5 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 61
55
"configure"
#line 61
77
"configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -6168,7 +6190,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:61
72
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:61
94
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6188,9 +6210,9 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking gethostbyname_r with 3 args""...
$ac_c
"
1>&6
echo
"configure:6
192
: checking gethostbyname_r with 3 args"
>
&5
echo
"configure:6
214
: checking gethostbyname_r with 3 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
194
"configure"
#line 6
216
"configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -6205,7 +6227,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:62
09
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:62
31
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6241,12 +6263,12 @@ else
for
ac_func
in
gethostbyname
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:62
45
: checking for
$ac_func
"
>
&5
echo
"configure:62
67
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
50
"configure"
#line 62
72
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6269,7 +6291,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:62
73
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:62
95
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -6307,12 +6329,12 @@ fi
# Linux requires this for correct f.p. operations
echo
$ac_n
"checking for __fpu_control""...
$ac_c
"
1>&6
echo
"configure:63
11
: checking for __fpu_control"
>
&5
echo
"configure:63
33
: checking for __fpu_control"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func___fpu_control
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
16
"configure"
#line 63
38
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __fpu_control(); below. */
...
...
@@ -6335,7 +6357,7 @@ __fpu_control();
; return 0; }
EOF
if
{
(
eval echo
configure:63
39
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:63
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func___fpu_control=yes"
else
...
...
@@ -6353,7 +6375,7 @@ if eval "test \"`echo '$ac_cv_func_'__fpu_control`\" = yes"; then
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __fpu_control in -lieee""...
$ac_c
"
1>&6
echo
"configure:63
57
: checking for __fpu_control in -lieee"
>
&5
echo
"configure:63
79
: checking for __fpu_control in -lieee"
>
&5
ac_lib_var
=
`
echo
ieee
'_'
__fpu_control |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6361,7 +6383,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
65
"configure"
#line 63
87
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -6372,7 +6394,7 @@ int main() {
__fpu_control()
; return 0; }
EOF
if
{
(
eval echo
configure:63
76
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:63
98
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -6405,7 +6427,7 @@ fi
# Check for --with-fpectl
echo
$ac_n
"checking for --with-fpectl""...
$ac_c
"
1>&6
echo
"configure:64
09
: checking for --with-fpectl"
>
&5
echo
"configure:64
31
: checking for --with-fpectl"
>
&5
# Check whether --with-fpectl or --without-fpectl was given.
if
test
"
${
with_fpectl
+set
}
"
=
set
;
then
withval
=
"
$with_fpectl
"
...
...
@@ -6430,7 +6452,7 @@ BeOS) ;;
*
)
LIBM
=
-lm
esac
echo
$ac_n
"checking for --with-libm=STRING""...
$ac_c
"
1>&6
echo
"configure:64
34
: checking for --with-libm=STRING"
>
&5
echo
"configure:64
56
: checking for --with-libm=STRING"
>
&5
# Check whether --with-libm or --without-libm was given.
if
test
"
${
with_libm
+set
}
"
=
set
;
then
withval
=
"
$with_libm
"
...
...
@@ -6451,7 +6473,7 @@ fi
# check for --with-libc=...
echo
$ac_n
"checking for --with-libc=STRING""...
$ac_c
"
1>&6
echo
"configure:64
55
: checking for --with-libc=STRING"
>
&5
echo
"configure:64
77
: checking for --with-libc=STRING"
>
&5
# Check whether --with-libc or --without-libc was given.
if
test
"
${
with_libc
+set
}
"
=
set
;
then
withval
=
"
$with_libc
"
...
...
@@ -6475,12 +6497,12 @@ LIBS="$LIBS $LIBM"
for
ac_func
in
hypot
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:6
479
: checking for
$ac_func
"
>
&5
echo
"configure:6
501
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
484
"configure"
#line 6
506
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6503,7 +6525,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:65
07
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:65
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -6533,7 +6555,7 @@ LIBS=$LIBS_SAVE
# check whether malloc(0) returns NULL or not
echo
$ac_n
"checking what malloc(0) returns""...
$ac_c
"
1>&6
echo
"configure:65
37
: checking what malloc(0) returns"
>
&5
echo
"configure:65
59
: checking what malloc(0) returns"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_malloc_zero
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6541,7 +6563,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
45
"configure"
#line 65
67
"configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef HAVE_STDLIB
...
...
@@ -6560,7 +6582,7 @@ main() {
exit(0);
}
EOF
if
{
(
eval echo
configure:65
64
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:65
86
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_malloc_zero
=
nonnull
else
...
...
@@ -6586,17 +6608,17 @@ fi
# check for wchar.h
ac_safe
=
`
echo
"wchar.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for wchar.h""...
$ac_c
"
1>&6
echo
"configure:6
590
: checking for wchar.h"
>
&5
echo
"configure:6
612
: checking for wchar.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
595
"configure"
#line 6
617
"configure"
#include "confdefs.h"
#include <wchar.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:66
00
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:66
22
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6627,7 +6649,7 @@ fi
if
test
"
$wchar_h
"
=
yes
then
echo
$ac_n
"checking size of wchar_t""...
$ac_c
"
1>&6
echo
"configure:66
31
: checking size of wchar_t"
>
&5
echo
"configure:66
53
: checking size of wchar_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_wchar_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6635,10 +6657,9 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 66
39
"configure"
#line 66
61
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -6647,7 +6668,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:66
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:66
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_wchar_t
=
`
cat
conftestval
`
else
...
...
@@ -6669,7 +6690,7 @@ EOF
fi
echo
$ac_n
"checking what type to use for unicode""...
$ac_c
"
1>&6
echo
"configure:66
73
: checking what type to use for unicode"
>
&5
echo
"configure:66
94
: checking what type to use for unicode"
>
&5
# Check whether --enable-unicode or --disable-unicode was given.
if
test
"
${
enable_unicode
+set
}
"
=
set
;
then
enableval
=
"
$enable_unicode
"
...
...
@@ -6744,14 +6765,14 @@ fi
# check for endianness
echo
$ac_n
"checking whether byte ordering is bigendian""...
$ac_c
"
1>&6
echo
"configure:67
48
: checking whether byte ordering is bigendian"
>
&5
echo
"configure:67
69
: checking whether byte ordering is bigendian"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_bigendian
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_cv_c_bigendian
=
unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat
>
conftest.
$ac_ext
<<
EOF
#line 67
55
"configure"
#line 67
76
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
...
...
@@ -6762,11 +6783,11 @@ int main() {
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:67
66
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:67
87
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
# It does; now see whether it defined to BIG_ENDIAN or not.
cat
>
conftest.
$ac_ext
<<
EOF
#line 67
70
"configure"
#line 67
91
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
...
...
@@ -6777,7 +6798,7 @@ int main() {
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:6
781
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
802
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_bigendian
=
yes
else
...
...
@@ -6797,7 +6818,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 68
01
"configure"
#line 68
22
"configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
...
...
@@ -6810,7 +6831,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if
{
(
eval echo
configure:68
14
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:68
35
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_bigendian
=
no
else
...
...
@@ -6837,7 +6858,7 @@ fi
# Check whether right shifting a negative integer extends the sign bit
# 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
"configure:68
41
: checking whether right shift extends the sign bit"
>
&5
echo
"configure:68
62
: checking whether right shift extends the sign bit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_rshift_extends_sign
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6846,7 +6867,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 68
50
"configure"
#line 68
71
"configure"
#include "confdefs.h"
int main()
...
...
@@ -6855,7 +6876,7 @@ int main()
}
EOF
if
{
(
eval echo
configure:68
59
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:68
80
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_rshift_extends_sign
=
yes
else
...
...
@@ -6880,13 +6901,13 @@ fi
# check for getc_unlocked and related locking functions
echo
$ac_n
"checking for getc_unlocked() and friends""...
$ac_c
"
1>&6
echo
"configure:6
884
: checking for getc_unlocked() and friends"
>
&5
echo
"configure:6
905
: checking for getc_unlocked() and friends"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_have_getc_unlocked
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
890
"configure"
#line 6
911
"configure"
#include "confdefs.h"
#include <stdio.h>
int main() {
...
...
@@ -6898,7 +6919,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:69
02
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:69
23
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_have_getc_unlocked
=
yes
else
...
...
@@ -6921,7 +6942,7 @@ fi
# check for readline 4.2
echo
$ac_n
"checking for rl_completion_matches in -lreadline""...
$ac_c
"
1>&6
echo
"configure:69
25
: checking for rl_completion_matches in -lreadline"
>
&5
echo
"configure:69
46
: checking for rl_completion_matches in -lreadline"
>
&5
ac_lib_var
=
`
echo
readline
'_'
rl_completion_matches |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6929,7 +6950,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline -ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 69
33
"configure"
#line 69
54
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -6940,7 +6961,7 @@ int main() {
rl_completion_matches()
; return 0; }
EOF
if
{
(
eval echo
configure:69
44
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:69
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -6965,7 +6986,7 @@ fi
echo
$ac_n
"checking for broken nice()""...
$ac_c
"
1>&6
echo
"configure:69
69
: checking for broken nice()"
>
&5
echo
"configure:69
90
: checking for broken nice()"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_broken_nice
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6974,7 +6995,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 69
78
"configure"
#line 69
99
"configure"
#include "confdefs.h"
int main()
...
...
@@ -6986,7 +7007,7 @@ int main()
}
EOF
if
{
(
eval echo
configure:
6990
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:
7011
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_broken_nice
=
yes
else
...
...
@@ -7017,12 +7038,12 @@ cat >> confdefs.h <<\EOF
#endif
EOF
echo
$ac_n
"checking for socklen_t""...
$ac_c
"
1>&6
echo
"configure:70
21
: checking for socklen_t"
>
&5
echo
"configure:70
42
: checking for socklen_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_socklen_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 70
26
"configure"
#line 70
47
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -7071,7 +7092,7 @@ done
SRCDIRS
=
"Parser Grammar Objects Python Modules"
echo
$ac_n
"checking for build directories""...
$ac_c
"
1>&6
echo
"configure:70
75
: checking for build directories"
>
&5
echo
"configure:70
96
: checking for build directories"
>
&5
for
dir
in
$SRCDIRS
;
do
if
test
!
-d
$dir
;
then
mkdir
$dir
...
...
configure.in
View file @
a5f8bb57
...
...
@@ -968,7 +968,7 @@ else
fi
# Check for enable-ipv6
AC_MSG_CHECKING([
whether to enable ipv6
])
AC_MSG_CHECKING([
if --enable-ipv6 is specified
])
AC_ARG_ENABLE(ipv6,
[ --enable-ipv6 Enable ipv6 (with ipv4) support
--disable-ipv6 Disable ipv6 support],
...
...
@@ -983,6 +983,8 @@ AC_ARG_ENABLE(ipv6,
;;
esac ],
[
dnl the check does not work on cross compilation case...
AC_TRY_RUN([ /* AF_INET6 available check */
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -995,13 +997,29 @@ main()
}
],
AC_MSG_RESULT(yes)
AC_DEFINE(ENABLE_IPV6)
ipv6=yes,
AC_MSG_RESULT(no)
ipv6=no,
AC_MSG_RESULT(no)
ipv6=no
))
)
if test "$ipv6" = "yes"; then
AC_MSG_CHECKING(if RFC2553 API is available)
AC_TRY_COMPILE([#include <sys/types.h>
#include <netinet/in.h>],
[struct sockaddr_in6 x;
x.sin6_scope_id;],
AC_MSG_RESULT(yes)
ipv6=yes,
AC_MSG_RESULT(no, IPv6 disabled)
ipv6=no)
fi
if test "$ipv6" = "yes"; then
AC_DEFINE(ENABLE_IPV6)
fi
])
ipv6type=unknown
ipv6lib=none
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment