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
b2c92f44
Commit
b2c92f44
authored
Feb 16, 2002
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #511193: Implement killpg in posixmodule.
parent
b4779c34
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
351 additions
and
336 deletions
+351
-336
Misc/NEWS
Misc/NEWS
+2
-0
Modules/posixmodule.c
Modules/posixmodule.c
+21
-0
configure
configure
+324
-335
configure.in
configure.in
+1
-1
pyconfig.h.in
pyconfig.h.in
+3
-0
No files found.
Misc/NEWS
View file @
b2c92f44
...
...
@@ -13,6 +13,8 @@ Core and builtins
Previously, an xreadlines object was returned which would raise
a ValueError when the xreadlines.next() method was called.
- posix.killpg has been added where available.
Extension modules
- dl now builds on every system that has dlfcn.h. Failure in case
...
...
Modules/posixmodule.c
View file @
b2c92f44
...
...
@@ -2199,6 +2199,24 @@ posix_kill(PyObject *self, PyObject *args)
}
#endif
#ifdef HAVE_KILLPG
static
char
posix_killpg__doc__
[]
=
"killpg(pgid, sig) -> None
\n
\
Kill a process group with a signal."
;
static
PyObject
*
posix_killpg
(
PyObject
*
self
,
PyObject
*
args
)
{
int
pgid
,
sig
;
if
(
!
PyArg_ParseTuple
(
args
,
"ii:killpg"
,
&
pgid
,
&
sig
))
return
NULL
;
if
(
killpg
(
pgid
,
sig
)
==
-
1
)
return
posix_error
();
Py_INCREF
(
Py_None
);
return
Py_None
;
}
#endif
#ifdef HAVE_PLOCK
#ifdef HAVE_SYS_LOCK_H
...
...
@@ -5573,6 +5591,9 @@ static PyMethodDef posix_methods[] = {
#ifdef HAVE_KILL
{
"kill"
,
posix_kill
,
METH_VARARGS
,
posix_kill__doc__
},
#endif
/* HAVE_KILL */
#ifdef HAVE_KILLPG
{
"killpg"
,
posix_killpg
,
METH_VARARGS
,
posix_killpg__doc__
},
#endif
/* HAVE_KILLPG */
#ifdef HAVE_PLOCK
{
"plock"
,
posix_plock
,
METH_VARARGS
,
posix_plock__doc__
},
#endif
/* HAVE_PLOCK */
...
...
configure
View file @
b2c92f44
#! /bin/sh
# From configure.in Revision: 1.2
89
# From configure.in Revision: 1.2
90
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
...
...
@@ -2424,7 +2424,6 @@ else
#line 2425 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2433,7 +2432,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:243
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:243
6
:
\"
$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
...
...
@@ -2453,7 +2452,7 @@ EOF
echo
$ac_n
"checking size of long""...
$ac_c
"
1>&6
echo
"configure:245
7
: checking size of long"
>
&5
echo
"configure:245
6
: 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
...
...
@@ -2461,10 +2460,9 @@ else
ac_cv_sizeof_long
=
4
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 246
5
"configure"
#line 246
4
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2473,7 +2471,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:247
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:247
5
:
\"
$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
...
...
@@ -2493,7 +2491,7 @@ EOF
echo
$ac_n
"checking size of void *""...
$ac_c
"
1>&6
echo
"configure:249
7
: checking size of void *"
>
&5
echo
"configure:249
5
: 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
...
...
@@ -2501,10 +2499,9 @@ else
ac_cv_sizeof_void_p
=
4
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 250
5
"configure"
#line 250
3
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2513,7 +2510,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:251
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:251
4
:
\"
$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
...
...
@@ -2533,7 +2530,7 @@ EOF
echo
$ac_n
"checking size of char""...
$ac_c
"
1>&6
echo
"configure:253
7
: checking size of char"
>
&5
echo
"configure:253
4
: 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
...
...
@@ -2541,10 +2538,9 @@ else
ac_cv_sizeof_char
=
1
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 254
5
"configure"
#line 254
2
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2553,7 +2549,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:255
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:255
3
:
\"
$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
...
...
@@ -2573,7 +2569,7 @@ EOF
echo
$ac_n
"checking size of short""...
$ac_c
"
1>&6
echo
"configure:257
7
: checking size of short"
>
&5
echo
"configure:257
3
: 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
...
...
@@ -2581,10 +2577,9 @@ else
ac_cv_sizeof_short
=
2
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 258
5
"configure"
#line 258
1
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2593,7 +2588,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:259
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:259
2
:
\"
$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
...
...
@@ -2613,7 +2608,7 @@ EOF
echo
$ac_n
"checking size of float""...
$ac_c
"
1>&6
echo
"configure:261
7
: checking size of float"
>
&5
echo
"configure:261
2
: 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
...
...
@@ -2621,10 +2616,9 @@ else
ac_cv_sizeof_float
=
4
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 262
5
"configure"
#line 262
0
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2633,7 +2627,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:263
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:263
1
:
\"
$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
...
...
@@ -2653,7 +2647,7 @@ EOF
echo
$ac_n
"checking size of double""...
$ac_c
"
1>&6
echo
"configure:265
7
: checking size of double"
>
&5
echo
"configure:265
1
: 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
...
...
@@ -2661,10 +2655,9 @@ else
ac_cv_sizeof_double
=
8
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
65
"configure"
#line 26
59
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2673,7 +2666,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:267
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:267
0
:
\"
$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
...
...
@@ -2693,7 +2686,7 @@ EOF
echo
$ac_n
"checking size of fpos_t""...
$ac_c
"
1>&6
echo
"configure:269
7
: checking size of fpos_t"
>
&5
echo
"configure:269
0
: 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
...
...
@@ -2701,10 +2694,9 @@ else
ac_cv_sizeof_fpos_t
=
4
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
705
"configure"
#line 2
698
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2713,7 +2705,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:27
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:27
09
:
\"
$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
...
...
@@ -2734,17 +2726,17 @@ EOF
echo
$ac_n
"checking for long long support""...
$ac_c
"
1>&6
echo
"configure:273
8
: checking for long long support"
>
&5
echo
"configure:273
0
: checking for long long support"
>
&5
have_long_long
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
41
"configure"
#line 27
33
"configure"
#include "confdefs.h"
int main() {
long long x; x = (long long)0;
; return 0; }
EOF
if
{
(
eval echo
configure:274
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:274
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_LONG_LONG 1
...
...
@@ -2758,7 +2750,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:27
62
: checking size of long long"
>
&5
echo
"configure:27
54
: 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
...
...
@@ -2766,10 +2758,9 @@ else
ac_cv_sizeof_long_long
=
8
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
70
"configure"
#line 27
62
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2778,7 +2769,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:27
82
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:27
73
:
\"
$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
...
...
@@ -2800,17 +2791,17 @@ EOF
fi
echo
$ac_n
"checking for uintptr_t support""...
$ac_c
"
1>&6
echo
"configure:2
804
: checking for uintptr_t support"
>
&5
echo
"configure:2
795
: checking for uintptr_t support"
>
&5
have_uintptr_t
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
807
"configure"
#line 2
798
"configure"
#include "confdefs.h"
int main() {
uintptr_t x; x = (uintptr_t)0;
; return 0; }
EOF
if
{
(
eval echo
configure:28
14
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:28
05
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_UINTPTR_T 1
...
...
@@ -2824,7 +2815,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:28
28
: checking size of uintptr_t"
>
&5
echo
"configure:28
19
: 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
...
...
@@ -2832,10 +2823,9 @@ else
ac_cv_sizeof_uintptr_t
=
4
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
36
"configure"
#line 28
27
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -2844,7 +2834,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:28
4
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:28
3
8:
\"
$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
...
...
@@ -2867,7 +2857,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:28
7
1: checking size of off_t"
>
&5
echo
"configure:28
6
1: 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
...
...
@@ -2875,7 +2865,7 @@ else
ac_cv_sizeof_off_t
=
4
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
7
9 "configure"
#line 28
6
9 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
...
...
@@ -2887,7 +2877,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:28
9
1:
\"
$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
1:
\"
$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
...
...
@@ -2909,7 +2899,7 @@ EOF
echo
$ac_n
"checking whether to enable large file support""...
$ac_c
"
1>&6
echo
"configure:29
1
3: checking whether to enable large file support"
>
&5
echo
"configure:29
0
3: 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
...
...
@@ -2924,7 +2914,7 @@ fi
# AC_CHECK_SIZEOF() doesn't include <time.h>.
echo
$ac_n
"checking size of time_t""...
$ac_c
"
1>&6
echo
"configure:29
2
8: checking size of time_t"
>
&5
echo
"configure:29
1
8: 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
...
...
@@ -2932,7 +2922,7 @@ else
ac_cv_sizeof_time_t
=
4
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
3
6 "configure"
#line 29
2
6 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <time.h>
...
...
@@ -2944,7 +2934,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:29
4
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:29
3
8:
\"
$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
...
...
@@ -2972,17 +2962,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:29
7
6: checking for pthread_t"
>
&5
echo
"configure:29
6
6: checking for pthread_t"
>
&5
have_pthread_t
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
7
9 "configure"
#line 29
6
9 "configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
pthread_t x; x = *(pthread_t*)0;
; return 0; }
EOF
if
{
(
eval echo
configure:29
8
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:29
7
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
have_pthread_t
=
yes
else
...
...
@@ -2994,7 +2984,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:29
9
8: checking size of pthread_t"
>
&5
echo
"configure:29
8
8: 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
...
...
@@ -3002,7 +2992,7 @@ else
ac_cv_sizeof_pthread_t
=
4
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
300
6 "configure"
#line
299
6 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <pthread.h>
...
...
@@ -3014,7 +3004,7 @@ else
exit(0);
}
EOF
if
{
(
eval echo
configure:30
1
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:30
0
8:
\"
$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
...
...
@@ -3038,7 +3028,7 @@ fi
CC
=
"
$ac_save_cc
"
echo
$ac_n
"checking for --enable-toolbox-glue""...
$ac_c
"
1>&6
echo
"configure:30
4
2: checking for --enable-toolbox-glue"
>
&5
echo
"configure:30
3
2: 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
"
...
...
@@ -3090,7 +3080,7 @@ case $ac_sys_system/$ac_sys_release in
esac
echo
$ac_n
"checking for --enable-framework""...
$ac_c
"
1>&6
echo
"configure:30
9
4: checking for --enable-framework"
>
&5
echo
"configure:30
8
4: checking for --enable-framework"
>
&5
if
test
"
$enable_framework
"
then
OPT
=
"
$OPT
-fno-common -dynamic"
...
...
@@ -3113,7 +3103,7 @@ else
fi
echo
$ac_n
"checking for dyld""...
$ac_c
"
1>&6
echo
"configure:31
1
7: checking for dyld"
>
&5
echo
"configure:31
0
7: checking for dyld"
>
&5
case
$ac_sys_system
/
$ac_sys_release
in
Darwin/
*
)
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -3136,7 +3126,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:31
4
0: checking SO"
>
&5
echo
"configure:31
3
0: checking SO"
>
&5
if
test
-z
"
$SO
"
then
case
$ac_sys_system
in
...
...
@@ -3151,7 +3141,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:31
5
5: checking LDSHARED"
>
&5
echo
"configure:31
4
5: checking LDSHARED"
>
&5
if
test
-z
"
$LDSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -3218,7 +3208,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:32
2
2: checking CCSHARED"
>
&5
echo
"configure:32
1
2: checking CCSHARED"
>
&5
if
test
-z
"
$CCSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -3250,7 +3240,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:32
5
4: checking LINKFORSHARED"
>
&5
echo
"configure:32
4
4: checking LINKFORSHARED"
>
&5
if
test
-z
"
$LINKFORSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -3295,7 +3285,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
echo
$ac_n
"checking CFLAGSFORSHARED""...
$ac_c
"
1>&6
echo
"configure:32
9
9: checking CFLAGSFORSHARED"
>
&5
echo
"configure:32
8
9: checking CFLAGSFORSHARED"
>
&5
if
test
!
"
$LIBRARY
"
=
"
$LDLIBRARY
"
then
case
$ac_sys_system
in
...
...
@@ -3311,7 +3301,7 @@ echo "$ac_t""$CFLAGSFORSHARED" 1>&6
# checks for libraries
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:33
1
5: checking for dlopen in -ldl"
>
&5
echo
"configure:33
0
5: 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
...
...
@@ -3319,7 +3309,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
2
3 "configure"
#line 33
1
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
...
...
@@ -3330,7 +3320,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:33
3
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:33
2
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
...
...
@@ -3358,7 +3348,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:33
6
2: checking for shl_load in -ldld"
>
&5
echo
"configure:33
5
2: 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
...
...
@@ -3366,7 +3356,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
7
0 "configure"
#line 33
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
...
...
@@ -3377,7 +3367,7 @@ int main() {
shl_load()
; return 0; }
EOF
if
{
(
eval echo
configure:33
8
1:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:33
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
...
...
@@ -3408,16 +3398,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:34
1
2: checking for genuine AIX C++ extensions support"
>
&5
echo
"configure:34
0
2: checking for genuine AIX C++ extensions support"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
1
4 "configure"
#line 34
0
4 "configure"
#include "confdefs.h"
#include "/usr/lpp/xlC/include/load.h"
int main() {
loadAndInit("", 0, "")
; return 0; }
EOF
if
{
(
eval echo
configure:34
2
1:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
1
1:
\"
$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
...
...
@@ -3441,7 +3431,7 @@ case "$ac_sys_system" in
IRIX
*
)
;;
*
)
echo
$ac_n
"checking for t_open in -lnsl""...
$ac_c
"
1>&6
echo
"configure:34
4
5: checking for t_open in -lnsl"
>
&5
echo
"configure:34
3
5: 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
...
...
@@ -3449,7 +3439,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
5
3 "configure"
#line 34
4
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
...
...
@@ -3460,7 +3450,7 @@ int main() {
t_open()
; return 0; }
EOF
if
{
(
eval echo
configure:34
6
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
5
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
...
...
@@ -3481,7 +3471,7 @@ else
fi
# SVR4
echo
$ac_n
"checking for socket in -lsocket""...
$ac_c
"
1>&6
echo
"configure:34
8
5: checking for socket in -lsocket"
>
&5
echo
"configure:34
7
5: 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
...
...
@@ -3489,7 +3479,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
9
3 "configure"
#line 34
8
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
...
...
@@ -3500,7 +3490,7 @@ int main() {
socket()
; return 0; }
EOF
if
{
(
eval echo
configure:3
50
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
49
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
...
...
@@ -3525,7 +3515,7 @@ esac
case
"
$ac_sys_system
"
in
BeOS
*
)
echo
$ac_n
"checking for socket in -lnet""...
$ac_c
"
1>&6
echo
"configure:35
2
9: checking for socket in -lnet"
>
&5
echo
"configure:35
1
9: 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
...
...
@@ -3533,7 +3523,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnet
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
3
7 "configure"
#line 35
2
7 "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
...
...
@@ -3544,7 +3534,7 @@ int main() {
socket()
; return 0; }
EOF
if
{
(
eval echo
configure:35
4
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
3
8:
\"
$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
...
...
@@ -3568,7 +3558,7 @@ fi
esac
echo
$ac_n
"checking for --with-libs""...
$ac_c
"
1>&6
echo
"configure:35
7
2: checking for --with-libs"
>
&5
echo
"configure:35
6
2: checking for --with-libs"
>
&5
# Check whether --with-libs or --without-libs was given.
if
test
"
${
with_libs
+set
}
"
=
set
;
then
withval
=
"
$with_libs
"
...
...
@@ -3585,7 +3575,7 @@ fi
echo
$ac_n
"checking for --with-signal-module""...
$ac_c
"
1>&6
echo
"configure:35
8
9: checking for --with-signal-module"
>
&5
echo
"configure:35
7
9: 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
"
...
...
@@ -3611,7 +3601,7 @@ fi
USE_THREAD_MODULE
=
""
echo
$ac_n
"checking for --with-dec-threads""...
$ac_c
"
1>&6
echo
"configure:36
1
5: checking for --with-dec-threads"
>
&5
echo
"configure:36
0
5: 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
...
...
@@ -3628,7 +3618,7 @@ fi
echo
$ac_n
"checking for --with-threads""...
$ac_c
"
1>&6
echo
"configure:36
3
2: checking for --with-threads"
>
&5
echo
"configure:36
2
2: checking for --with-threads"
>
&5
# Check whether --with-threads or --without-threads was given.
if
test
"
${
with_threads
+set
}
"
=
set
;
then
withval
=
"
$with_threads
"
...
...
@@ -3686,9 +3676,9 @@ else
# According to the POSIX spec, a pthreads implementation must
# define _POSIX_THREADS in unistd.h. Some apparently don't (which ones?)
echo
$ac_n
"checking for _POSIX_THREADS in unistd.h""...
$ac_c
"
1>&6
echo
"configure:36
9
0: checking for _POSIX_THREADS in unistd.h"
>
&5
echo
"configure:36
8
0: checking for _POSIX_THREADS in unistd.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
9
2 "configure"
#line 36
8
2 "configure"
#include "confdefs.h"
#include <unistd.h>
#ifdef _POSIX_THREADS
...
...
@@ -3714,17 +3704,17 @@ EOF
ac_safe
=
`
echo
"cthreads.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for cthreads.h""...
$ac_c
"
1>&6
echo
"configure:37
1
8: checking for cthreads.h"
>
&5
echo
"configure:37
0
8: checking for 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 37
2
3 "configure"
#line 37
1
3 "configure"
#include "confdefs.h"
#include <cthreads.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:37
2
8:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:37
1
8:
\"
$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
*
...
...
@@ -3759,17 +3749,17 @@ else
ac_safe
=
`
echo
"mach/cthreads.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for mach/cthreads.h""...
$ac_c
"
1>&6
echo
"configure:37
6
3: checking for mach/cthreads.h"
>
&5
echo
"configure:37
5
3: 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 37
6
8 "configure"
#line 37
5
8 "configure"
#include "confdefs.h"
#include <mach/cthreads.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:37
7
3:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:37
6
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
*
...
...
@@ -3802,7 +3792,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for --with-pth""...
$ac_c
"
1>&6
echo
"configure:3
80
6: checking for --with-pth"
>
&5
echo
"configure:3
79
6: checking for --with-pth"
>
&5
# Check whether --with-pth or --without-pth was given.
if
test
"
${
with_pth
+set
}
"
=
set
;
then
withval
=
"
$with_pth
"
...
...
@@ -3828,9 +3818,9 @@ else
_libs
=
$LIBS
LIBS
=
"
$LIBS
-lpthread"
echo
$ac_n
"checking for pthread_create in -lpthread""...
$ac_c
"
1>&6
echo
"configure:38
3
2: checking for pthread_create in -lpthread"
>
&5
echo
"configure:38
2
2: checking for pthread_create in -lpthread"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
3
4 "configure"
#line 38
2
4 "configure"
#include "confdefs.h"
#include <pthread.h>
...
...
@@ -3840,7 +3830,7 @@ int main() {
pthread_create (NULL, NULL, start_routine, NULL)
; return 0; }
EOF
if
{
(
eval echo
configure:38
4
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
3
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
...
...
@@ -3857,12 +3847,12 @@ else
LIBS
=
$_libs
echo
$ac_n
"checking for pthread_detach""...
$ac_c
"
1>&6
echo
"configure:38
6
1: checking for pthread_detach"
>
&5
echo
"configure:38
5
1: 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 38
6
6 "configure"
#line 38
5
6 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_detach(); below. */
...
...
@@ -3885,7 +3875,7 @@ pthread_detach();
; return 0; }
EOF
if
{
(
eval echo
configure:38
8
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
7
9:
\"
$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
...
...
@@ -3910,17 +3900,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:39
1
4: checking for kernel/OS.h"
>
&5
echo
"configure:39
0
4: 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 39
1
9 "configure"
#line 39
0
9 "configure"
#include "confdefs.h"
#include <kernel/OS.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:39
2
4:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:39
1
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
*
...
...
@@ -3949,7 +3939,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthreads""...
$ac_c
"
1>&6
echo
"configure:39
5
3: checking for pthread_create in -lpthreads"
>
&5
echo
"configure:39
4
3: 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
...
...
@@ -3957,7 +3947,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
6
1 "configure"
#line 39
5
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
...
...
@@ -3968,7 +3958,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:39
7
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
6
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
...
...
@@ -3994,7 +3984,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lc_r""...
$ac_c
"
1>&6
echo
"configure:39
9
8: checking for pthread_create in -lc_r"
>
&5
echo
"configure:39
8
8: 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
...
...
@@ -4002,7 +3992,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lc_r
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line
400
6 "configure"
#line
399
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
...
...
@@ -4013,7 +4003,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:40
1
7:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
0
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
...
...
@@ -4039,7 +4029,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __d6_pthread_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:40
4
3: checking for __d6_pthread_create in -lthread"
>
&5
echo
"configure:40
3
3: 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
...
...
@@ -4047,7 +4037,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
5
1 "configure"
#line 40
4
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
...
...
@@ -4058,7 +4048,7 @@ int main() {
__d6_pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:40
6
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
5
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
...
...
@@ -4084,7 +4074,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __pthread_create_system in -lpthread""...
$ac_c
"
1>&6
echo
"configure:40
8
8: checking for __pthread_create_system in -lpthread"
>
&5
echo
"configure:40
7
8: 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
...
...
@@ -4092,7 +4082,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
9
6 "configure"
#line 40
8
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
...
...
@@ -4103,7 +4093,7 @@ int main() {
__pthread_create_system()
; return 0; }
EOF
if
{
(
eval echo
configure:4
10
7:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
09
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
...
...
@@ -4129,7 +4119,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lcma""...
$ac_c
"
1>&6
echo
"configure:41
3
3: checking for pthread_create in -lcma"
>
&5
echo
"configure:41
2
3: 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
...
...
@@ -4137,7 +4127,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcma
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
4
1 "configure"
#line 41
3
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
...
...
@@ -4148,7 +4138,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:41
5
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:41
4
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
...
...
@@ -4207,7 +4197,7 @@ EOF
fi
echo
$ac_n
"checking if PTHREAD_SCOPE_SYSTEM is supported""...
$ac_c
"
1>&6
echo
"configure:42
1
1: checking if PTHREAD_SCOPE_SYSTEM is supported"
>
&5
echo
"configure:42
0
1: checking if PTHREAD_SCOPE_SYSTEM is supported"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_pthread_system_supported
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4215,7 +4205,7 @@ else
ac_cv_pthread_system_supported
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
1
9 "configure"
#line 42
0
9 "configure"
#include "confdefs.h"
#include <pthread.h>
void *foo(void *parm) {
...
...
@@ -4229,7 +4219,7 @@ else
exit(0);
}
EOF
if
{
(
eval echo
configure:42
3
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:42
2
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_pthread_system_supported
=
yes
else
...
...
@@ -4254,12 +4244,12 @@ EOF
for
ac_func
in
pthread_sigmask
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:42
5
8: checking for
$ac_func
"
>
&5
echo
"configure:42
4
8: 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 42
6
3 "configure"
#line 42
5
3 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4282,7 +4272,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:42
8
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:42
7
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4309,7 +4299,7 @@ done
fi
echo
$ac_n
"checking for usconfig in -lmpc""...
$ac_c
"
1>&6
echo
"configure:43
1
3: checking for usconfig in -lmpc"
>
&5
echo
"configure:43
0
3: 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
...
...
@@ -4317,7 +4307,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
2
1 "configure"
#line 43
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
...
...
@@ -4328,7 +4318,7 @@ int main() {
usconfig()
; return 0; }
EOF
if
{
(
eval echo
configure:43
3
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:43
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
...
...
@@ -4355,7 +4345,7 @@ else
fi
echo
$ac_n
"checking for thr_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:43
5
9: checking for thr_create in -lthread"
>
&5
echo
"configure:43
4
9: 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
...
...
@@ -4363,7 +4353,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
6
7 "configure"
#line 43
5
7 "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
...
...
@@ -4374,7 +4364,7 @@ int main() {
thr_create()
; return 0; }
EOF
if
{
(
eval echo
configure:43
7
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:43
6
8:
\"
$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
...
...
@@ -4413,7 +4403,7 @@ fi
# Check for enable-ipv6
echo
$ac_n
"checking if --enable-ipv6 is specified""...
$ac_c
"
1>&6
echo
"configure:44
1
7: checking if --enable-ipv6 is specified"
>
&5
echo
"configure:44
0
7: 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
"
...
...
@@ -4438,7 +4428,7 @@ else
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
4
2 "configure"
#line 44
3
2 "configure"
#include "confdefs.h"
/* AF_INET6 available check */
#include <sys/types.h>
...
...
@@ -4452,7 +4442,7 @@ main()
}
EOF
if
{
(
eval echo
configure:44
5
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:44
4
6:
\"
$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
ipv6
=
yes
...
...
@@ -4469,9 +4459,9 @@ fi
if
test
"
$ipv6
"
=
"yes"
;
then
echo
$ac_n
"checking if RFC2553 API is available""...
$ac_c
"
1>&6
echo
"configure:44
7
3: checking if RFC2553 API is available"
>
&5
echo
"configure:44
6
3: checking if RFC2553 API is available"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
7
5 "configure"
#line 44
6
5 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <netinet/in.h>
...
...
@@ -4480,7 +4470,7 @@ struct sockaddr_in6 x;
x.sin6_scope_id;
; return 0; }
EOF
if
{
(
eval echo
configure:44
8
4:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:44
7
4:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
ipv6
=
yes
...
...
@@ -4510,13 +4500,13 @@ ipv6trylibc=no
if
test
"
$ipv6
"
=
"yes"
;
then
echo
$ac_n
"checking ipv6 stack type""...
$ac_c
"
1>&6
echo
"configure:45
1
4: checking ipv6 stack type"
>
&5
echo
"configure:45
0
4: 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 45
2
0 "configure"
#line 45
1
0 "configure"
#include "confdefs.h"
#include <netinet/in.h>
...
...
@@ -4534,7 +4524,7 @@ rm -f conftest*
;;
kame
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
3
8 "configure"
#line 45
2
8 "configure"
#include "confdefs.h"
#include <netinet/in.h>
...
...
@@ -4555,7 +4545,7 @@ rm -f conftest*
;;
linux-glibc
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
5
9 "configure"
#line 45
4
9 "configure"
#include "confdefs.h"
#include <features.h>
...
...
@@ -4590,7 +4580,7 @@ rm -f conftest*
;;
toshiba
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
9
4 "configure"
#line 45
8
4 "configure"
#include "confdefs.h"
#include <sys/param.h>
...
...
@@ -4610,7 +4600,7 @@ rm -f conftest*
;;
v6d
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
1
4 "configure"
#line 46
0
4 "configure"
#include "confdefs.h"
#include </usr/local/v6/include/sys/v6config.h>
...
...
@@ -4631,7 +4621,7 @@ rm -f conftest*
;;
zeta
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
3
5 "configure"
#line 46
2
5 "configure"
#include "confdefs.h"
#include <sys/param.h>
...
...
@@ -4675,7 +4665,7 @@ fi
# Check for GC support
echo
$ac_n
"checking for --with-cycle-gc""...
$ac_c
"
1>&6
echo
"configure:46
7
9: checking for --with-cycle-gc"
>
&5
echo
"configure:46
6
9: 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
"
...
...
@@ -4697,7 +4687,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
70
1: checking for --with-pymalloc"
>
&5
echo
"configure:4
69
1: checking for --with-pymalloc"
>
&5
# Check whether --with-pymalloc or --without-pymalloc was given.
if
test
"
${
with_pymalloc
+set
}
"
=
set
;
then
withval
=
"
$with_pymalloc
"
...
...
@@ -4716,7 +4706,7 @@ fi
# Check for --with-wctype-functions
echo
$ac_n
"checking for --with-wctype-functions""...
$ac_c
"
1>&6
echo
"configure:47
2
0: checking for --with-wctype-functions"
>
&5
echo
"configure:47
1
0: 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
"
...
...
@@ -4738,7 +4728,7 @@ fi
DLINCLDIR
=
.
echo
$ac_n
"checking for --with-sgi-dl""...
$ac_c
"
1>&6
echo
"configure:47
4
2: checking for --with-sgi-dl"
>
&5
echo
"configure:47
3
2: 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
"
...
...
@@ -4762,7 +4752,7 @@ fi
echo
$ac_n
"checking for --with-dl-dld""...
$ac_c
"
1>&6
echo
"configure:47
6
6: checking for --with-dl-dld"
>
&5
echo
"configure:47
5
6: 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
"
...
...
@@ -4791,12 +4781,12 @@ fi
for
ac_func
in
dlopen
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:47
9
5: checking for
$ac_func
"
>
&5
echo
"configure:47
8
5: 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
80
0 "configure"
#line 4
79
0 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4819,7 +4809,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:48
2
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:48
1
3:
\"
$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
...
...
@@ -4848,7 +4838,7 @@ done
# loading of modules.
echo
$ac_n
"checking DYNLOADFILE""...
$ac_c
"
1>&6
echo
"configure:48
5
2: checking DYNLOADFILE"
>
&5
echo
"configure:48
4
2: checking DYNLOADFILE"
>
&5
if
test
-z
"
$DYNLOADFILE
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -4879,7 +4869,7 @@ fi
echo
$ac_n
"checking MACHDEP_OBJS""...
$ac_c
"
1>&6
echo
"configure:48
8
3: checking MACHDEP_OBJS"
>
&5
echo
"configure:48
7
3: checking MACHDEP_OBJS"
>
&5
if
test
-z
"
$MACHDEP_OBJS
"
then
MACHDEP_OBJS
=
$extra_machdep_objs
...
...
@@ -4892,7 +4882,7 @@ echo "$ac_t""MACHDEP_OBJS" 1>&6
for
ac_func
in
alarm
chown chroot
clock confstr ctermid ctermid_r execv
\
flock fork fsync fdatasync fpathconf ftime ftruncate
\
gai_strerror getgroups getlogin getpeername getpid getpwent getwd
\
hstrerror inet_pton
kill link
lstat
mkfifo
mktime mremap
\
hstrerror inet_pton
kill
killpg
link
lstat
mkfifo
mktime mremap
\
nice
pathconf pause plock poll pthread_init
\
putenv
readlink
\
select
setegid seteuid setgid setgroups
\
...
...
@@ -4902,12 +4892,12 @@ for ac_func in alarm chown chroot clock confstr ctermid ctermid_r execv \
truncate uname
unsetenv waitpid _getpty getpriority
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:4
90
6: checking for
$ac_func
"
>
&5
echo
"configure:4
89
6: 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
1
1 "configure"
#line 49
0
1 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4930,7 +4920,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:49
3
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:49
2
4:
\"
$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
...
...
@@ -4960,12 +4950,12 @@ done
for
ac_func
in
openpty
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:49
6
4: checking for
$ac_func
"
>
&5
echo
"configure:49
5
4: 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
6
9 "configure"
#line 49
5
9 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4988,7 +4978,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:49
9
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:49
8
2:
\"
$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
...
...
@@ -5010,7 +5000,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for openpty in -lutil""...
$ac_c
"
1>&6
echo
"configure:50
1
4: checking for openpty in -lutil"
>
&5
echo
"configure:50
0
4: 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
...
...
@@ -5018,7 +5008,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
2
2 "configure"
#line 50
1
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
...
...
@@ -5029,7 +5019,7 @@ int main() {
openpty()
; return 0; }
EOF
if
{
(
eval echo
configure:50
3
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:50
2
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
...
...
@@ -5058,12 +5048,12 @@ done
for
ac_func
in
forkpty
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:50
6
2: checking for
$ac_func
"
>
&5
echo
"configure:50
5
2: 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
6
7 "configure"
#line 50
5
7 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5086,7 +5076,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:50
9
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:50
8
0:
\"
$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
...
...
@@ -5108,7 +5098,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for forkpty in -lutil""...
$ac_c
"
1>&6
echo
"configure:51
1
2: checking for forkpty in -lutil"
>
&5
echo
"configure:51
0
2: 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
...
...
@@ -5116,7 +5106,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
2
0 "configure"
#line 51
1
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
...
...
@@ -5127,7 +5117,7 @@ int main() {
forkpty()
; return 0; }
EOF
if
{
(
eval echo
configure:51
3
1:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
2
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
...
...
@@ -5158,12 +5148,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:51
6
2: checking for
$ac_func
"
>
&5
echo
"configure:51
5
2: 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
6
7 "configure"
#line 51
5
7 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5186,7 +5176,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:51
9
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
8
0:
\"
$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
...
...
@@ -5214,12 +5204,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:52
1
8: checking for
$ac_func
"
>
&5
echo
"configure:52
0
8: 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 52
2
3 "configure"
#line 52
1
3 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5242,7 +5232,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:52
4
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:52
3
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5271,12 +5261,12 @@ done
for
ac_func
in
getpgrp
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:52
7
5: checking for
$ac_func
"
>
&5
echo
"configure:52
6
5: 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 52
8
0 "configure"
#line 52
7
0 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5299,7 +5289,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:5
30
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
29
3:
\"
$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
...
...
@@ -5318,14 +5308,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
2
2 "configure"
#line 53
1
2 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
getpgrp(0);
; return 0; }
EOF
if
{
(
eval echo
configure:53
2
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:53
1
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define GETPGRP_HAVE_ARG 1
...
...
@@ -5344,12 +5334,12 @@ done
for
ac_func
in
setpgrp
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:53
4
8: checking for
$ac_func
"
>
&5
echo
"configure:53
3
8: 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
5
3 "configure"
#line 53
4
3 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5372,7 +5362,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:53
7
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:53
6
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5391,14 +5381,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
9
5 "configure"
#line 53
8
5 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
setpgrp(0,0);
; return 0; }
EOF
if
{
(
eval echo
configure:5
40
2:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
39
2:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SETPGRP_HAVE_ARG 1
...
...
@@ -5417,12 +5407,12 @@ done
for
ac_func
in
gettimeofday
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:54
2
1: checking for
$ac_func
"
>
&5
echo
"configure:54
1
1: 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 54
2
6 "configure"
#line 54
1
6 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5445,7 +5435,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:54
4
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:54
3
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5464,14 +5454,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
6
8 "configure"
#line 54
5
8 "configure"
#include "confdefs.h"
#include <sys/time.h>
int main() {
gettimeofday((struct timeval*)0,(struct timezone*)0);
; return 0; }
EOF
if
{
(
eval echo
configure:54
7
5:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
6
5:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -5493,9 +5483,9 @@ done
# On OSF/1 V5.1, getaddrinfo is available, but a define
# for [no]getaddrinfo in netdb.h.
echo
$ac_n
"checking for getaddrinfo""...
$ac_c
"
1>&6
echo
"configure:54
9
7: checking for getaddrinfo"
>
&5
echo
"configure:54
8
7: checking for getaddrinfo"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
9
9 "configure"
#line 54
8
9 "configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5509,18 +5499,18 @@ getaddrinfo(NULL, NULL, NULL, NULL);
; return 0; }
EOF
if
{
(
eval echo
configure:55
1
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:55
0
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
echo
$ac_n
"checking getaddrinfo bug""...
$ac_c
"
1>&6
echo
"configure:55
1
8: checking getaddrinfo bug"
>
&5
echo
"configure:55
0
8: 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 55
2
4 "configure"
#line 55
1
4 "configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5609,7 +5599,7 @@ main()
}
EOF
if
{
(
eval echo
configure:56
1
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:56
0
3:
\"
$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
...
...
@@ -5649,12 +5639,12 @@ fi
for
ac_func
in
getnameinfo
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:56
5
3: checking for
$ac_func
"
>
&5
echo
"configure:56
4
3: 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 56
5
8 "configure"
#line 56
4
8 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5677,7 +5667,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:56
8
1:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:56
7
1:
\"
$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
...
...
@@ -5704,12 +5694,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:5
70
8: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:5
69
8: 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 57
1
3 "configure"
#line 57
0
3 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -5718,7 +5708,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:57
2
2:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:57
1
2:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -5739,12 +5729,12 @@ EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:57
4
3: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:57
3
3: 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 57
4
8 "configure"
#line 57
3
8 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -5752,7 +5742,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:57
5
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:57
4
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -5773,12 +5763,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:57
7
7: checking for tm_zone in struct tm"
>
&5
echo
"configure:57
6
7: 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 57
8
2 "configure"
#line 57
7
2 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -5786,7 +5776,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:57
9
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:57
8
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -5806,12 +5796,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:58
1
0: checking for tzname"
>
&5
echo
"configure:58
0
0: 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 58
1
5 "configure"
#line 58
0
5 "configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -5821,7 +5811,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:58
2
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
1
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -5843,12 +5833,12 @@ EOF
fi
echo
$ac_n
"checking for st_rdev in struct stat""...
$ac_c
"
1>&6
echo
"configure:58
4
7: checking for st_rdev in struct stat"
>
&5
echo
"configure:58
3
7: checking for st_rdev in struct stat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_rdev
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
5
2 "configure"
#line 58
4
2 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -5856,7 +5846,7 @@ int main() {
struct stat s; s.st_rdev;
; return 0; }
EOF
if
{
(
eval echo
configure:58
6
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:58
5
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_st_rdev
=
yes
else
...
...
@@ -5877,12 +5867,12 @@ EOF
fi
echo
$ac_n
"checking for st_blksize in struct stat""...
$ac_c
"
1>&6
echo
"configure:58
8
1: checking for st_blksize in struct stat"
>
&5
echo
"configure:58
7
1: checking for st_blksize in struct stat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_blksize
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
8
6 "configure"
#line 58
7
6 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -5890,7 +5880,7 @@ int main() {
struct stat s; s.st_blksize;
; return 0; }
EOF
if
{
(
eval echo
configure:58
9
4:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:58
8
4:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_st_blksize
=
yes
else
...
...
@@ -5911,12 +5901,12 @@ EOF
fi
echo
$ac_n
"checking for st_blocks in struct stat""...
$ac_c
"
1>&6
echo
"configure:59
1
5: checking for st_blocks in struct stat"
>
&5
echo
"configure:59
0
5: checking for st_blocks in struct stat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_blocks
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
2
0 "configure"
#line 59
1
0 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -5924,7 +5914,7 @@ int main() {
struct stat s; s.st_blocks;
; return 0; }
EOF
if
{
(
eval echo
configure:59
2
8:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
1
8:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_st_blocks
=
yes
else
...
...
@@ -5948,19 +5938,19 @@ fi
echo
$ac_n
"checking for time.h that defines altzone""...
$ac_c
"
1>&6
echo
"configure:59
5
2: checking for time.h that defines altzone"
>
&5
echo
"configure:59
4
2: 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 59
5
7 "configure"
#line 59
4
7 "configure"
#include "confdefs.h"
#include <time.h>
int main() {
return altzone;
; return 0; }
EOF
if
{
(
eval echo
configure:59
6
4:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
5
4:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time_altzone
=
yes
else
...
...
@@ -5982,9 +5972,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:59
8
6: checking whether sys/select.h and sys/time.h may both be included"
>
&5
echo
"configure:59
7
6: checking whether sys/select.h and sys/time.h may both be included"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
8
8 "configure"
#line 59
7
8 "configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5995,7 +5985,7 @@ int main() {
;
; return 0; }
EOF
if
{
(
eval echo
configure:59
9
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
8
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SYS_SELECT_WITH_SYS_TIME 1
...
...
@@ -6009,12 +5999,12 @@ rm -f conftest*
echo
"
$ac_t
""
$was_it_defined
"
1>&6
echo
$ac_n
"checking for addrinfo""...
$ac_c
"
1>&6
echo
"configure:60
1
3: checking for addrinfo"
>
&5
echo
"configure:60
0
3: 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 60
1
8 "configure"
#line 60
0
8 "configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -6022,7 +6012,7 @@ int main() {
struct addrinfo a
; return 0; }
EOF
if
{
(
eval echo
configure:60
2
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:60
1
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_addrinfo
=
yes
else
...
...
@@ -6043,12 +6033,12 @@ EOF
fi
echo
$ac_n
"checking for sockaddr_storage""...
$ac_c
"
1>&6
echo
"configure:60
4
7: checking for sockaddr_storage"
>
&5
echo
"configure:60
3
7: 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 60
5
2 "configure"
#line 60
4
2 "configure"
#include "confdefs.h"
# include <sys/types.h>
...
...
@@ -6057,7 +6047,7 @@ int main() {
struct sockaddr_storage s
; return 0; }
EOF
if
{
(
eval echo
configure:60
6
1:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:60
5
1:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_sockaddr_storage
=
yes
else
...
...
@@ -6080,14 +6070,14 @@ fi
# checks for compiler characteristics
echo
$ac_n
"checking whether char is unsigned""...
$ac_c
"
1>&6
echo
"configure:60
8
4: checking whether char is unsigned"
>
&5
echo
"configure:60
7
4: 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 60
9
1 "configure"
#line 60
8
1 "configure"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
yes
...
...
@@ -6109,7 +6099,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 61
1
3 "configure"
#line 61
0
3 "configure"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1
...
...
@@ -6119,7 +6109,7 @@ main() {
volatile char c = 255; exit(c < 0);
}
EOF
if
{
(
eval echo
configure:61
2
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:61
1
3:
\"
$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
...
...
@@ -6143,12 +6133,12 @@ EOF
fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:61
4
7: checking for working const"
>
&5
echo
"configure:61
3
7: 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 61
5
2 "configure"
#line 61
4
2 "configure"
#include "confdefs.h"
int main() {
...
...
@@ -6197,7 +6187,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:6
20
1:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
19
1:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -6220,16 +6210,16 @@ fi
works
=
no
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&6
echo
"configure:62
2
4: checking for working volatile"
>
&5
echo
"configure:62
1
4: checking for working volatile"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
2
6 "configure"
#line 62
1
6 "configure"
#include "confdefs.h"
int main() {
volatile int x; x = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:62
3
3:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:62
2
3:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -6246,16 +6236,16 @@ echo "$ac_t""$works" 1>&6
works
=
no
echo
$ac_n
"checking for working signed char""...
$ac_c
"
1>&6
echo
"configure:62
5
0: checking for working signed char"
>
&5
echo
"configure:62
4
0: checking for working signed char"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
5
2 "configure"
#line 62
4
2 "configure"
#include "confdefs.h"
int main() {
signed char c;
; return 0; }
EOF
if
{
(
eval echo
configure:62
5
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:62
4
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -6272,16 +6262,16 @@ echo "$ac_t""$works" 1>&6
have_prototypes
=
no
echo
$ac_n
"checking for prototypes""...
$ac_c
"
1>&6
echo
"configure:62
7
6: checking for prototypes"
>
&5
echo
"configure:62
6
6: checking for prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
7
8 "configure"
#line 62
6
8 "configure"
#include "confdefs.h"
int foo(int x) { return 0; }
int main() {
return foo(10);
; return 0; }
EOF
if
{
(
eval echo
configure:62
8
5:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:62
7
5:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_PROTOTYPES 1
...
...
@@ -6296,9 +6286,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:6
30
0: checking for variable length prototypes and stdarg.h"
>
&5
echo
"configure:6
29
0: checking for variable length prototypes and stdarg.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
30
2 "configure"
#line 6
29
2 "configure"
#include "confdefs.h"
#include <stdarg.h>
...
...
@@ -6315,7 +6305,7 @@ int main() {
return foo(10, "", 3.14);
; return 0; }
EOF
if
{
(
eval echo
configure:63
1
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:63
0
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STDARG_PROTOTYPES 1
...
...
@@ -6331,16 +6321,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:63
3
5: checking for bad exec* prototypes"
>
&5
echo
"configure:63
2
5: checking for bad exec* prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
3
7 "configure"
#line 63
2
7 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
char **t;execve("@",t,t);
; return 0; }
EOF
if
{
(
eval echo
configure:63
4
4:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:63
3
4:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -6357,9 +6347,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:63
6
1: checking if sockaddr has sa_len member"
>
&5
echo
"configure:63
5
1: checking if sockaddr has sa_len member"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
6
3 "configure"
#line 63
5
3 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -6368,7 +6358,7 @@ struct sockaddr x;
x.sa_len = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:63
7
2:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:63
6
2:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6384,7 +6374,7 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for bad static forward""...
$ac_c
"
1>&6
echo
"configure:63
8
8: checking for bad static forward"
>
&5
echo
"configure:63
7
8: 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
...
...
@@ -6392,7 +6382,7 @@ else
ac_cv_bad_static_forward
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
9
6 "configure"
#line 63
8
6 "configure"
#include "confdefs.h"
struct s { int a; int b; };
...
...
@@ -6407,7 +6397,7 @@ main() {
exit(!((int)&foo == foobar()));
}
EOF
if
{
(
eval echo
configure:64
1
1:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:64
0
1:
\"
$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
...
...
@@ -6432,9 +6422,9 @@ fi
va_list_is_array
=
no
echo
$ac_n
"checking whether va_list is an array""...
$ac_c
"
1>&6
echo
"configure:64
3
6: checking whether va_list is an array"
>
&5
echo
"configure:64
2
6: checking whether va_list is an array"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
3
8 "configure"
#line 64
2
8 "configure"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
...
...
@@ -6447,7 +6437,7 @@ int main() {
va_list list1, list2; list1 = list2;
; return 0; }
EOF
if
{
(
eval echo
configure:64
5
1:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:64
4
1:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -6463,12 +6453,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:64
6
7: checking for gethostbyname_r"
>
&5
echo
"configure:64
5
7: 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 64
7
2 "configure"
#line 64
6
2 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname_r(); below. */
...
...
@@ -6491,7 +6481,7 @@ gethostbyname_r();
; return 0; }
EOF
if
{
(
eval echo
configure:64
9
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:64
8
5:
\"
$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
...
...
@@ -6511,11 +6501,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:65
1
5: checking gethostbyname_r with 6 args"
>
&5
echo
"configure:65
0
5: 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 65
1
9 "configure"
#line 65
0
9 "configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -6532,7 +6522,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:65
3
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:65
2
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6552,9 +6542,9 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking gethostbyname_r with 5 args""...
$ac_c
"
1>&6
echo
"configure:65
5
6: checking gethostbyname_r with 5 args"
>
&5
echo
"configure:65
4
6: checking gethostbyname_r with 5 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
5
8 "configure"
#line 65
4
8 "configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -6571,7 +6561,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:65
7
5:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:65
6
5:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6591,9 +6581,9 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking gethostbyname_r with 3 args""...
$ac_c
"
1>&6
echo
"configure:65
9
5: checking gethostbyname_r with 3 args"
>
&5
echo
"configure:65
8
5: checking gethostbyname_r with 3 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
9
7 "configure"
#line 65
8
7 "configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -6608,7 +6598,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:66
1
2:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:66
0
2:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6644,12 +6634,12 @@ else
for
ac_func
in
gethostbyname
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:66
4
8: checking for
$ac_func
"
>
&5
echo
"configure:66
3
8: 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 66
5
3 "configure"
#line 66
4
3 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6672,7 +6662,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:66
7
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:66
6
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -6710,12 +6700,12 @@ fi
# Linux requires this for correct f.p. operations
echo
$ac_n
"checking for __fpu_control""...
$ac_c
"
1>&6
echo
"configure:67
1
4: checking for __fpu_control"
>
&5
echo
"configure:67
0
4: 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 67
1
9 "configure"
#line 67
0
9 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __fpu_control(); below. */
...
...
@@ -6738,7 +6728,7 @@ __fpu_control();
; return 0; }
EOF
if
{
(
eval echo
configure:67
4
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:67
3
2:
\"
$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
...
...
@@ -6756,7 +6746,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:67
6
0: checking for __fpu_control in -lieee"
>
&5
echo
"configure:67
5
0: 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
...
...
@@ -6764,7 +6754,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 67
6
8 "configure"
#line 67
5
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
...
...
@@ -6775,7 +6765,7 @@ int main() {
__fpu_control()
; return 0; }
EOF
if
{
(
eval echo
configure:67
7
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:67
6
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
...
...
@@ -6808,7 +6798,7 @@ fi
# Check for --with-fpectl
echo
$ac_n
"checking for --with-fpectl""...
$ac_c
"
1>&6
echo
"configure:68
1
2: checking for --with-fpectl"
>
&5
echo
"configure:68
0
2: checking for --with-fpectl"
>
&5
# Check whether --with-fpectl or --without-fpectl was given.
if
test
"
${
with_fpectl
+set
}
"
=
set
;
then
withval
=
"
$with_fpectl
"
...
...
@@ -6833,7 +6823,7 @@ BeOS) ;;
*
)
LIBM
=
-lm
esac
echo
$ac_n
"checking for --with-libm=STRING""...
$ac_c
"
1>&6
echo
"configure:68
3
7: checking for --with-libm=STRING"
>
&5
echo
"configure:68
2
7: 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
"
...
...
@@ -6854,7 +6844,7 @@ fi
# check for --with-libc=...
echo
$ac_n
"checking for --with-libc=STRING""...
$ac_c
"
1>&6
echo
"configure:68
5
8: checking for --with-libc=STRING"
>
&5
echo
"configure:68
4
8: 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
"
...
...
@@ -6878,12 +6868,12 @@ LIBS="$LIBS $LIBM"
for
ac_func
in
hypot
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:68
8
2: checking for
$ac_func
"
>
&5
echo
"configure:68
7
2: 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 68
8
7 "configure"
#line 68
7
7 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6906,7 +6896,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:69
1
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:69
0
0:
\"
$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
...
...
@@ -6936,7 +6926,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:69
4
0: checking what malloc(0) returns"
>
&5
echo
"configure:69
3
0: 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
...
...
@@ -6944,7 +6934,7 @@ else
ac_cv_malloc_zero
=
nonnull
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 69
4
8 "configure"
#line 69
3
8 "configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef HAVE_STDLIB
...
...
@@ -6963,7 +6953,7 @@ main() {
exit(0);
}
EOF
if
{
(
eval echo
configure:69
6
7:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:69
5
7:
\"
$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
...
...
@@ -6989,17 +6979,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:69
9
3: checking for wchar.h"
>
&5
echo
"configure:69
8
3: 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 69
9
8 "configure"
#line 69
8
8 "configure"
#include "confdefs.h"
#include <wchar.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
700
3:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
699
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
*
...
...
@@ -7030,7 +7020,7 @@ fi
if
test
"
$wchar_h
"
=
yes
then
echo
$ac_n
"checking size of wchar_t""...
$ac_c
"
1>&6
echo
"configure:70
3
4: checking size of wchar_t"
>
&5
echo
"configure:70
2
4: 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
...
...
@@ -7038,10 +7028,9 @@ else
ac_cv_sizeof_wchar_t
=
4
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 70
4
2 "configure"
#line 70
3
2 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
...
...
@@ -7050,7 +7039,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:70
54
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:70
43
:
\"
$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
...
...
@@ -7072,7 +7061,7 @@ EOF
fi
echo
$ac_n
"checking what type to use for unicode""...
$ac_c
"
1>&6
echo
"configure:70
76
: checking what type to use for unicode"
>
&5
echo
"configure:70
65
: 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
"
...
...
@@ -7147,14 +7136,14 @@ fi
# check for endianness
echo
$ac_n
"checking whether byte ordering is bigendian""...
$ac_c
"
1>&6
echo
"configure:71
51
: checking whether byte ordering is bigendian"
>
&5
echo
"configure:71
40
: 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 71
58
"configure"
#line 71
47
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
...
...
@@ -7165,11 +7154,11 @@ int main() {
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:71
69
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:71
58
:
\"
$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 71
73
"configure"
#line 71
62
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
...
...
@@ -7180,7 +7169,7 @@ int main() {
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:71
84
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:71
73
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_bigendian
=
yes
else
...
...
@@ -7200,7 +7189,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 7
204
"configure"
#line 7
193
"configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
...
...
@@ -7213,7 +7202,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if
{
(
eval echo
configure:72
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:72
06
:
\"
$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
...
...
@@ -7240,7 +7229,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:72
44
: checking whether right shift extends the sign bit"
>
&5
echo
"configure:72
33
: 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
...
...
@@ -7249,7 +7238,7 @@ if test "$cross_compiling" = yes; then
ac_cv_rshift_extends_sign
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 72
53
"configure"
#line 72
42
"configure"
#include "confdefs.h"
int main()
...
...
@@ -7258,7 +7247,7 @@ int main()
}
EOF
if
{
(
eval echo
configure:72
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:72
51
:
\"
$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
...
...
@@ -7283,13 +7272,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:72
87
: checking for getc_unlocked() and friends"
>
&5
echo
"configure:72
76
: 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 72
93
"configure"
#line 72
82
"configure"
#include "confdefs.h"
#include <stdio.h>
int main() {
...
...
@@ -7301,7 +7290,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:7
305
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
294
:
\"
$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
...
...
@@ -7324,7 +7313,7 @@ fi
# check for readline 4.0
echo
$ac_n
"checking for rl_pre_input_hook in -lreadline""...
$ac_c
"
1>&6
echo
"configure:73
28
: checking for rl_pre_input_hook in -lreadline"
>
&5
echo
"configure:73
17
: checking for rl_pre_input_hook in -lreadline"
>
&5
ac_lib_var
=
`
echo
readline
'_'
rl_pre_input_hook |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7332,7 +7321,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline -ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 73
36
"configure"
#line 73
25
"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
...
...
@@ -7343,7 +7332,7 @@ int main() {
rl_pre_input_hook()
; return 0; }
EOF
if
{
(
eval echo
configure:73
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:73
36
:
\"
$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
...
...
@@ -7369,7 +7358,7 @@ fi
# check for readline 4.2
echo
$ac_n
"checking for rl_completion_matches in -lreadline""...
$ac_c
"
1>&6
echo
"configure:73
73
: checking for rl_completion_matches in -lreadline"
>
&5
echo
"configure:73
62
: 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
...
...
@@ -7377,7 +7366,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline -ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 73
81
"configure"
#line 73
70
"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
...
...
@@ -7388,7 +7377,7 @@ int main() {
rl_completion_matches()
; return 0; }
EOF
if
{
(
eval echo
configure:73
92
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:73
81
:
\"
$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
...
...
@@ -7413,7 +7402,7 @@ fi
echo
$ac_n
"checking for broken nice()""...
$ac_c
"
1>&6
echo
"configure:74
17
: checking for broken nice()"
>
&5
echo
"configure:74
06
: 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
...
...
@@ -7422,7 +7411,7 @@ if test "$cross_compiling" = yes; then
ac_cv_broken_nice
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 74
26
"configure"
#line 74
15
"configure"
#include "confdefs.h"
int main()
...
...
@@ -7434,7 +7423,7 @@ int main()
}
EOF
if
{
(
eval echo
configure:74
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:74
27
:
\"
$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
...
...
@@ -7459,12 +7448,12 @@ fi
# On HP/UX 11.0, mvwdelch is a block with a return statement
echo
$ac_n
"checking whether mvwdelch is an expression""...
$ac_c
"
1>&6
echo
"configure:74
63
: checking whether mvwdelch is an expression"
>
&5
echo
"configure:74
52
: checking whether mvwdelch is an expression"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_mvwdelch_is_expression
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 74
68
"configure"
#line 74
57
"configure"
#include "confdefs.h"
#include <curses.h>
int main() {
...
...
@@ -7474,7 +7463,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:74
78
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:74
67
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_mvwdelch_is_expression
=
yes
else
...
...
@@ -7497,12 +7486,12 @@ EOF
fi
echo
$ac_n
"checking whether WINDOW has _flags""...
$ac_c
"
1>&6
echo
"configure:7
501
: checking whether WINDOW has _flags"
>
&5
echo
"configure:7
490
: checking whether WINDOW has _flags"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_window_has_flags
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
506
"configure"
#line 7
495
"configure"
#include "confdefs.h"
#include <curses.h>
int main() {
...
...
@@ -7512,7 +7501,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:75
16
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:75
05
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_window_has_flags
=
yes
else
...
...
@@ -7543,12 +7532,12 @@ cat >> confdefs.h <<\EOF
#endif
EOF
echo
$ac_n
"checking for socklen_t""...
$ac_c
"
1>&6
echo
"configure:75
47
: checking for socklen_t"
>
&5
echo
"configure:75
36
: 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 75
52
"configure"
#line 75
41
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -7604,7 +7593,7 @@ done
SRCDIRS
=
"Parser Grammar Objects Python Modules"
echo
$ac_n
"checking for build directories""...
$ac_c
"
1>&6
echo
"configure:7
608
: checking for build directories"
>
&5
echo
"configure:7
597
: checking for build directories"
>
&5
for
dir
in
$SRCDIRS
;
do
if
test
!
-d
$dir
;
then
mkdir
$dir
...
...
configure.in
View file @
b2c92f44
...
...
@@ -1423,7 +1423,7 @@ AC_MSG_RESULT(MACHDEP_OBJS)
AC_CHECK_FUNCS(alarm chown chroot clock confstr ctermid ctermid_r execv \
flock fork fsync fdatasync fpathconf ftime ftruncate \
gai_strerror getgroups getlogin getpeername getpid getpwent getwd \
hstrerror inet_pton kill link lstat mkfifo mktime mremap \
hstrerror inet_pton kill
killpg
link lstat mkfifo mktime mremap \
nice pathconf pause plock poll pthread_init \
putenv readlink \
select setegid seteuid setgid setgroups \
...
...
pyconfig.h.in
View file @
b2c92f44
...
...
@@ -459,6 +459,9 @@
/* Define if you have the kill function. */
#undef HAVE_KILL
/* Define if you have the killpg function. */
#undef HAVE_KILLPG
/* Define if you have the link function. */
#undef HAVE_LINK
...
...
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