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
44ddbde3
Commit
44ddbde3
authored
23 years ago
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove INET6 define. Use ENABLE_IPV6 instead.
parent
080d5b3f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
236 additions
and
248 deletions
+236
-248
Modules/getaddrinfo.c
Modules/getaddrinfo.c
+16
-16
Modules/getnameinfo.c
Modules/getnameinfo.c
+6
-6
Modules/socketmodule.c
Modules/socketmodule.c
+11
-11
configure
configure
+197
-203
configure.in
configure.in
+6
-12
No files found.
Modules/getaddrinfo.c
View file @
44ddbde3
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
#include "addrinfo.h"
#include "addrinfo.h"
#endif
#endif
#if defined(__KAME__) && defined(
INET
6)
#if defined(__KAME__) && defined(
ENABLE_IPV
6)
# define FAITH
# define FAITH
#endif
#endif
...
@@ -94,7 +94,7 @@ static struct gai_afd {
...
@@ -94,7 +94,7 @@ static struct gai_afd {
const
char
*
a_addrany
;
const
char
*
a_addrany
;
const
char
*
a_loopback
;
const
char
*
a_loopback
;
}
gai_afdl
[]
=
{
}
gai_afdl
[]
=
{
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
#define N_INET6 0
#define N_INET6 0
{
PF_INET6
,
sizeof
(
struct
in6_addr
),
{
PF_INET6
,
sizeof
(
struct
in6_addr
),
sizeof
(
struct
sockaddr_in6
),
sizeof
(
struct
sockaddr_in6
),
...
@@ -111,7 +111,7 @@ static struct gai_afd {
...
@@ -111,7 +111,7 @@ static struct gai_afd {
{
0
,
0
,
0
,
0
,
NULL
,
NULL
},
{
0
,
0
,
0
,
0
,
NULL
,
NULL
},
};
};
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
#define PTON_MAX 16
#define PTON_MAX 16
#else
#else
#define PTON_MAX 4
#define PTON_MAX 4
...
@@ -288,7 +288,7 @@ getaddrinfo(const char*hostname, const char*servname,
...
@@ -288,7 +288,7 @@ getaddrinfo(const char*hostname, const char*servname,
switch
(
hints
->
ai_family
)
{
switch
(
hints
->
ai_family
)
{
case
PF_UNSPEC
:
case
PF_UNSPEC
:
case
PF_INET
:
case
PF_INET
:
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
PF_INET6
:
case
PF_INET6
:
#endif
#endif
break
;
break
;
...
@@ -417,7 +417,7 @@ getaddrinfo(const char*hostname, const char*servname,
...
@@ -417,7 +417,7 @@ getaddrinfo(const char*hostname, const char*servname,
for
(
i
=
0
;
gai_afdl
[
i
].
a_af
;
i
++
)
{
for
(
i
=
0
;
gai_afdl
[
i
].
a_af
;
i
++
)
{
if
(
inet_pton
(
gai_afdl
[
i
].
a_af
,
hostname
,
pton
))
{
if
(
inet_pton
(
gai_afdl
[
i
].
a_af
,
hostname
,
pton
))
{
u_long
v4a
;
u_long
v4a
;
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
u_char
pfx
;
u_char
pfx
;
#endif
#endif
...
@@ -430,7 +430,7 @@ getaddrinfo(const char*hostname, const char*servname,
...
@@ -430,7 +430,7 @@ getaddrinfo(const char*hostname, const char*servname,
if
(
v4a
==
0
||
v4a
==
IN_LOOPBACKNET
)
if
(
v4a
==
0
||
v4a
==
IN_LOOPBACKNET
)
pai
->
ai_flags
&=
~
AI_CANONNAME
;
pai
->
ai_flags
&=
~
AI_CANONNAME
;
break
;
break
;
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
AF_INET6
:
case
AF_INET6
:
pfx
=
((
struct
in6_addr
*
)
pton
)
->
s6_addr8
[
0
];
pfx
=
((
struct
in6_addr
*
)
pton
)
->
s6_addr8
[
0
];
if
(
pfx
==
0
||
pfx
==
0xfe
||
pfx
==
0xff
)
if
(
pfx
==
0
||
pfx
==
0xfe
||
pfx
==
0xff
)
...
@@ -495,11 +495,11 @@ get_name(addr, gai_afd, res, numaddr, pai, port0)
...
@@ -495,11 +495,11 @@ get_name(addr, gai_afd, res, numaddr, pai, port0)
struct
hostent
*
hp
;
struct
hostent
*
hp
;
struct
addrinfo
*
cur
;
struct
addrinfo
*
cur
;
int
error
=
0
;
int
error
=
0
;
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
int
h_error
;
int
h_error
;
#endif
#endif
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
hp
=
getipnodebyaddr
(
addr
,
gai_afd
->
a_addrlen
,
gai_afd
->
a_af
,
&
h_error
);
hp
=
getipnodebyaddr
(
addr
,
gai_afd
->
a_addrlen
,
gai_afd
->
a_af
,
&
h_error
);
#else
#else
hp
=
gethostbyaddr
(
addr
,
gai_afd
->
a_addrlen
,
AF_INET
);
hp
=
gethostbyaddr
(
addr
,
gai_afd
->
a_addrlen
,
AF_INET
);
...
@@ -510,7 +510,7 @@ get_name(addr, gai_afd, res, numaddr, pai, port0)
...
@@ -510,7 +510,7 @@ get_name(addr, gai_afd, res, numaddr, pai, port0)
}
else
}
else
GET_AI
(
cur
,
gai_afd
,
numaddr
,
port
);
GET_AI
(
cur
,
gai_afd
,
numaddr
,
port
);
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
if
(
hp
)
if
(
hp
)
freehostent
(
hp
);
freehostent
(
hp
);
#endif
#endif
...
@@ -519,7 +519,7 @@ get_name(addr, gai_afd, res, numaddr, pai, port0)
...
@@ -519,7 +519,7 @@ get_name(addr, gai_afd, res, numaddr, pai, port0)
free:
free:
if
(
cur
)
if
(
cur
)
freeaddrinfo
(
cur
);
freeaddrinfo
(
cur
);
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
if
(
hp
)
if
(
hp
)
freehostent
(
hp
);
freehostent
(
hp
);
#endif
#endif
...
@@ -547,7 +547,7 @@ get_addr(hostname, af, res, pai, port0)
...
@@ -547,7 +547,7 @@ get_addr(hostname, af, res, pai, port0)
top
=
NULL
;
top
=
NULL
;
sentinel
.
ai_next
=
NULL
;
sentinel
.
ai_next
=
NULL
;
cur
=
&
sentinel
;
cur
=
&
sentinel
;
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
if
(
af
==
AF_UNSPEC
)
{
if
(
af
==
AF_UNSPEC
)
{
hp
=
getipnodebyname
(
hostname
,
AF_INET6
,
hp
=
getipnodebyname
(
hostname
,
AF_INET6
,
AI_ADDRCONFIG
|
AI_ALL
|
AI_V4MAPPED
,
&
h_error
);
AI_ADDRCONFIG
|
AI_ALL
|
AI_V4MAPPED
,
&
h_error
);
...
@@ -582,18 +582,18 @@ get_addr(hostname, af, res, pai, port0)
...
@@ -582,18 +582,18 @@ get_addr(hostname, af, res, pai, port0)
for
(
i
=
0
;
(
ap
=
hp
->
h_addr_list
[
i
])
!=
NULL
;
i
++
)
{
for
(
i
=
0
;
(
ap
=
hp
->
h_addr_list
[
i
])
!=
NULL
;
i
++
)
{
switch
(
af
)
{
switch
(
af
)
{
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
AF_INET6
:
case
AF_INET6
:
gai_afd
=
&
gai_afdl
[
N_INET6
];
gai_afd
=
&
gai_afdl
[
N_INET6
];
break
;
break
;
#endif
#endif
#ifndef
INET
6
#ifndef
ENABLE_IPV
6
default:
/* AF_UNSPEC */
default:
/* AF_UNSPEC */
#endif
#endif
case
AF_INET
:
case
AF_INET
:
gai_afd
=
&
gai_afdl
[
N_INET
];
gai_afd
=
&
gai_afdl
[
N_INET
];
break
;
break
;
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
default:
/* AF_UNSPEC */
default:
/* AF_UNSPEC */
if
(
IN6_IS_ADDR_V4MAPPED
((
struct
in6_addr
*
)
ap
))
{
if
(
IN6_IS_ADDR_V4MAPPED
((
struct
in6_addr
*
)
ap
))
{
ap
+=
sizeof
(
struct
in6_addr
)
-
ap
+=
sizeof
(
struct
in6_addr
)
-
...
@@ -622,7 +622,7 @@ get_addr(hostname, af, res, pai, port0)
...
@@ -622,7 +622,7 @@ get_addr(hostname, af, res, pai, port0)
}
}
cur
=
cur
->
ai_next
;
cur
=
cur
->
ai_next
;
}
}
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
freehostent
(
hp
);
freehostent
(
hp
);
#endif
#endif
*
res
=
top
;
*
res
=
top
;
...
@@ -630,7 +630,7 @@ get_addr(hostname, af, res, pai, port0)
...
@@ -630,7 +630,7 @@ get_addr(hostname, af, res, pai, port0)
free:
free:
if
(
top
)
if
(
top
)
freeaddrinfo
(
top
);
freeaddrinfo
(
top
);
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
if
(
hp
)
if
(
hp
)
freehostent
(
hp
);
freehostent
(
hp
);
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Modules/getnameinfo.c
View file @
44ddbde3
...
@@ -58,7 +58,7 @@ static struct gni_afd {
...
@@ -58,7 +58,7 @@ static struct gni_afd {
int
a_socklen
;
int
a_socklen
;
int
a_off
;
int
a_off
;
}
gni_afdl
[]
=
{
}
gni_afdl
[]
=
{
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
{
PF_INET6
,
sizeof
(
struct
in6_addr
),
sizeof
(
struct
sockaddr_in6
),
{
PF_INET6
,
sizeof
(
struct
in6_addr
),
sizeof
(
struct
sockaddr_in6
),
offsetof
(
struct
sockaddr_in6
,
sin6_addr
)},
offsetof
(
struct
sockaddr_in6
,
sin6_addr
)},
#endif
#endif
...
@@ -102,7 +102,7 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
...
@@ -102,7 +102,7 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
int
family
,
len
,
i
;
int
family
,
len
,
i
;
char
*
addr
,
*
p
;
char
*
addr
,
*
p
;
u_long
v4a
;
u_long
v4a
;
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
u_char
pfx
;
u_char
pfx
;
#endif
#endif
int
h_error
;
int
h_error
;
...
@@ -159,7 +159,7 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
...
@@ -159,7 +159,7 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
if
(
v4a
==
0
||
v4a
==
IN_LOOPBACKNET
)
if
(
v4a
==
0
||
v4a
==
IN_LOOPBACKNET
)
flags
|=
NI_NUMERICHOST
;
flags
|=
NI_NUMERICHOST
;
break
;
break
;
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
AF_INET6
:
case
AF_INET6
:
pfx
=
((
struct
sockaddr_in6
*
)
sa
)
->
sin6_addr
.
s6_addr8
[
0
];
pfx
=
((
struct
sockaddr_in6
*
)
sa
)
->
sin6_addr
.
s6_addr8
[
0
];
if
(
pfx
==
0
||
pfx
==
0xfe
||
pfx
==
0xff
)
if
(
pfx
==
0
||
pfx
==
0xfe
||
pfx
==
0xff
)
...
@@ -177,7 +177,7 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
...
@@ -177,7 +177,7 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
return
ENI_MEMORY
;
return
ENI_MEMORY
;
strcpy
(
host
,
numaddr
);
strcpy
(
host
,
numaddr
);
}
else
{
}
else
{
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
hp
=
getipnodebyaddr
(
addr
,
gni_afd
->
a_addrlen
,
gni_afd
->
a_af
,
&
h_error
);
hp
=
getipnodebyaddr
(
addr
,
gni_afd
->
a_addrlen
,
gni_afd
->
a_af
,
&
h_error
);
#else
#else
hp
=
gethostbyaddr
(
addr
,
gni_afd
->
a_addrlen
,
gni_afd
->
a_af
);
hp
=
gethostbyaddr
(
addr
,
gni_afd
->
a_addrlen
,
gni_afd
->
a_af
);
...
@@ -190,13 +190,13 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
...
@@ -190,13 +190,13 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
if
(
p
)
*
p
=
'\0'
;
if
(
p
)
*
p
=
'\0'
;
}
}
if
(
strlen
(
hp
->
h_name
)
>
hostlen
)
{
if
(
strlen
(
hp
->
h_name
)
>
hostlen
)
{
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
freehostent
(
hp
);
freehostent
(
hp
);
#endif
#endif
return
ENI_MEMORY
;
return
ENI_MEMORY
;
}
}
strcpy
(
host
,
hp
->
h_name
);
strcpy
(
host
,
hp
->
h_name
);
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
freehostent
(
hp
);
freehostent
(
hp
);
#endif
#endif
}
else
{
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Modules/socketmodule.c
View file @
44ddbde3
...
@@ -479,7 +479,7 @@ typedef struct {
...
@@ -479,7 +479,7 @@ typedef struct {
#ifdef AF_UNIX
#ifdef AF_UNIX
struct
sockaddr_un
un
;
struct
sockaddr_un
un
;
#endif
#endif
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
struct
sockaddr_in6
in6
;
struct
sockaddr_in6
in6
;
struct
sockaddr_storage
storage
;
struct
sockaddr_storage
storage
;
#endif
#endif
...
@@ -594,7 +594,7 @@ setipaddr(char* name, struct sockaddr * addr_ret, int af)
...
@@ -594,7 +594,7 @@ setipaddr(char* name, struct sockaddr * addr_ret, int af)
case
AF_INET
:
case
AF_INET
:
siz
=
4
;
siz
=
4
;
break
;
break
;
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
AF_INET6
:
case
AF_INET6
:
siz
=
16
;
siz
=
16
;
break
;
break
;
...
@@ -651,7 +651,7 @@ setipaddr(char* name, struct sockaddr * addr_ret, int af)
...
@@ -651,7 +651,7 @@ setipaddr(char* name, struct sockaddr * addr_ret, int af)
switch
(
addr_ret
->
sa_family
)
{
switch
(
addr_ret
->
sa_family
)
{
case
AF_INET
:
case
AF_INET
:
return
4
;
return
4
;
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
AF_INET6
:
case
AF_INET6
:
return
16
;
return
16
;
#endif
#endif
...
@@ -725,7 +725,7 @@ makesockaddr(int sockfd, struct sockaddr *addr, int addrlen)
...
@@ -725,7 +725,7 @@ makesockaddr(int sockfd, struct sockaddr *addr, int addrlen)
}
}
#endif
/* AF_UNIX */
#endif
/* AF_UNIX */
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
AF_INET6
:
case
AF_INET6
:
{
{
struct
sockaddr_in6
*
a
;
struct
sockaddr_in6
*
a
;
...
@@ -830,7 +830,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
...
@@ -830,7 +830,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
return
1
;
return
1
;
}
}
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
AF_INET6
:
case
AF_INET6
:
{
{
struct
sockaddr_in6
*
addr
;
struct
sockaddr_in6
*
addr
;
...
@@ -919,7 +919,7 @@ getsockaddrlen(PySocketSockObject *s, socklen_t *len_ret)
...
@@ -919,7 +919,7 @@ getsockaddrlen(PySocketSockObject *s, socklen_t *len_ret)
return
1
;
return
1
;
}
}
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
AF_INET6
:
case
AF_INET6
:
{
{
*
len_ret
=
sizeof
(
struct
sockaddr_in6
);
*
len_ret
=
sizeof
(
struct
sockaddr_in6
);
...
@@ -1993,7 +1993,7 @@ gethost_common(struct hostent *h, struct sockaddr *addr, int alen, int af)
...
@@ -1993,7 +1993,7 @@ gethost_common(struct hostent *h, struct sockaddr *addr, int alen, int af)
if
(
alen
<
sizeof
(
struct
sockaddr_in
))
if
(
alen
<
sizeof
(
struct
sockaddr_in
))
return
NULL
;
return
NULL
;
break
;
break
;
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
AF_INET6
:
case
AF_INET6
:
if
(
alen
<
sizeof
(
struct
sockaddr_in6
))
if
(
alen
<
sizeof
(
struct
sockaddr_in6
))
return
NULL
;
return
NULL
;
...
@@ -2031,7 +2031,7 @@ gethost_common(struct hostent *h, struct sockaddr *addr, int alen, int af)
...
@@ -2031,7 +2031,7 @@ gethost_common(struct hostent *h, struct sockaddr *addr, int alen, int af)
memcpy
((
char
*
)
addr
,
&
sin
,
sizeof
(
sin
));
memcpy
((
char
*
)
addr
,
&
sin
,
sizeof
(
sin
));
break
;
break
;
}
}
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
AF_INET6
:
case
AF_INET6
:
{
{
struct
sockaddr_in6
sin6
;
struct
sockaddr_in6
sin6
;
...
@@ -2138,7 +2138,7 @@ for a host. The host argument is a string giving a host name or IP number.";
...
@@ -2138,7 +2138,7 @@ for a host. The host argument is a string giving a host name or IP number.";
static
PyObject
*
static
PyObject
*
PySocket_gethostbyaddr
(
PyObject
*
self
,
PyObject
*
args
)
PySocket_gethostbyaddr
(
PyObject
*
self
,
PyObject
*
args
)
{
{
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
struct
sockaddr_storage
addr
;
struct
sockaddr_storage
addr
;
#else
#else
struct
sockaddr_in
addr
;
struct
sockaddr_in
addr
;
...
@@ -2177,7 +2177,7 @@ PySocket_gethostbyaddr(PyObject *self, PyObject *args)
...
@@ -2177,7 +2177,7 @@ PySocket_gethostbyaddr(PyObject *self, PyObject *args)
ap
=
(
char
*
)
&
((
struct
sockaddr_in
*
)
sa
)
->
sin_addr
;
ap
=
(
char
*
)
&
((
struct
sockaddr_in
*
)
sa
)
->
sin_addr
;
al
=
sizeof
(((
struct
sockaddr_in
*
)
sa
)
->
sin_addr
);
al
=
sizeof
(((
struct
sockaddr_in
*
)
sa
)
->
sin_addr
);
break
;
break
;
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
AF_INET6
:
case
AF_INET6
:
ap
=
(
char
*
)
&
((
struct
sockaddr_in6
*
)
sa
)
->
sin6_addr
;
ap
=
(
char
*
)
&
((
struct
sockaddr_in6
*
)
sa
)
->
sin6_addr
;
al
=
sizeof
(((
struct
sockaddr_in6
*
)
sa
)
->
sin6_addr
);
al
=
sizeof
(((
struct
sockaddr_in6
*
)
sa
)
->
sin6_addr
);
...
@@ -2588,7 +2588,7 @@ PySocket_getnameinfo(PyObject *self, PyObject *args)
...
@@ -2588,7 +2588,7 @@ PySocket_getnameinfo(PyObject *self, PyObject *args)
}
}
break
;
break
;
}
}
#ifdef
INET
6
#ifdef
ENABLE_IPV
6
case
AF_INET6
:
case
AF_INET6
:
{
{
struct
sockaddr_in6
*
sin6
;
struct
sockaddr_in6
*
sin6
;
...
...
This diff is collapsed.
Click to expand it.
configure
View file @
44ddbde3
#! /bin/sh
#! /bin/sh
# From configure.in Revision: 1.28
0
# From configure.in Revision: 1.28
1
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
# Generated automatically using autoconf version 2.13
...
@@ -4446,15 +4446,14 @@ EOF
...
@@ -4446,15 +4446,14 @@ EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"yes"
>
/dev/null 2>&1
;
then
egrep
"yes"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ipv6type
=
$i
;
ipv6type
=
$i
OPT
=
"-DINET6
$OPT
"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
;;
;;
kame
)
kame
)
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 445
8
"configure"
#line 445
7
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <netinet/in.h>
#include <netinet/in.h>
...
@@ -4469,14 +4468,13 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -4469,14 +4468,13 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
ipv6lib
=
inet6
ipv6lib
=
inet6
ipv6libdir
=
/usr/local/v6/lib
ipv6libdir
=
/usr/local/v6/lib
ipv6trylibc
=
yes
ipv6trylibc
=
yes
OPT
=
"-DINET6
$OPT
"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
;;
;;
linux-glibc
)
linux-glibc
)
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
80
"configure"
#line 44
78
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <features.h>
#include <features.h>
...
@@ -4489,7 +4487,6 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -4489,7 +4487,6 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
rm
-rf
conftest
*
rm
-rf
conftest
*
ipv6type
=
$i
;
ipv6type
=
$i
;
ipv6trylibc
=
yes
ipv6trylibc
=
yes
OPT
=
"-DINET6
$OPT
"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
...
@@ -4499,7 +4496,7 @@ rm -f conftest*
...
@@ -4499,7 +4496,7 @@ rm -f conftest*
ipv6type
=
$i
ipv6type
=
$i
ipv6lib
=
inet6
ipv6lib
=
inet6
ipv6libdir
=
/usr/inet6/lib
ipv6libdir
=
/usr/inet6/lib
OPT
=
"-
DINET6 -
I/usr/inet6/include
$OPT
"
OPT
=
"-I/usr/inet6/include
$OPT
"
fi
fi
;;
;;
solaris
)
solaris
)
...
@@ -4507,13 +4504,12 @@ rm -f conftest*
...
@@ -4507,13 +4504,12 @@ rm -f conftest*
if
/usr/xpg4/bin/grep
-q
tcp6 /etc/netconfig
;
then
if
/usr/xpg4/bin/grep
-q
tcp6 /etc/netconfig
;
then
ipv6type
=
$i
ipv6type
=
$i
ipv6trylibc
=
yes
ipv6trylibc
=
yes
OPT
=
"-DINET6
$OPT
"
fi
fi
fi
fi
;;
;;
toshiba
)
toshiba
)
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 451
7
"configure"
#line 451
3
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/param.h>
...
@@ -4526,15 +4522,14 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -4526,15 +4522,14 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
rm
-rf
conftest
*
rm
-rf
conftest
*
ipv6type
=
$i
;
ipv6type
=
$i
;
ipv6lib
=
inet6
;
ipv6lib
=
inet6
;
ipv6libdir
=
/usr/local/v6/lib
;
ipv6libdir
=
/usr/local/v6/lib
OPT
=
"-DINET6
$OPT
"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
;;
;;
v6d
)
v6d
)
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 453
8
"configure"
#line 453
3
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include </usr/local/v6/include/sys/v6config.h>
#include </usr/local/v6/include/sys/v6config.h>
...
@@ -4555,7 +4550,7 @@ rm -f conftest*
...
@@ -4555,7 +4550,7 @@ rm -f conftest*
;;
;;
zeta
)
zeta
)
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 455
9
"configure"
#line 455
4
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/param.h>
...
@@ -4568,8 +4563,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -4568,8 +4563,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
rm
-rf
conftest
*
rm
-rf
conftest
*
ipv6type
=
$i
;
ipv6type
=
$i
;
ipv6lib
=
inet6
;
ipv6lib
=
inet6
;
ipv6libdir
=
/usr/local/v6/lib
;
ipv6libdir
=
/usr/local/v6/lib
OPT
=
"-DINET6
$OPT
"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
...
@@ -4600,7 +4594,7 @@ fi
...
@@ -4600,7 +4594,7 @@ fi
# Check for GC support
# Check for GC support
echo
$ac_n
"checking for --with-cycle-gc""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-cycle-gc""...
$ac_c
"
1>&6
echo
"configure:4
604
: checking for --with-cycle-gc"
>
&5
echo
"configure:4
598
: checking for --with-cycle-gc"
>
&5
# Check whether --with-cycle-gc or --without-cycle-gc was given.
# Check whether --with-cycle-gc or --without-cycle-gc was given.
if
test
"
${
with_cycle_gc
+set
}
"
=
set
;
then
if
test
"
${
with_cycle_gc
+set
}
"
=
set
;
then
withval
=
"
$with_cycle_gc
"
withval
=
"
$with_cycle_gc
"
...
@@ -4622,7 +4616,7 @@ echo "$ac_t""$with_cycle_gc" 1>&6
...
@@ -4622,7 +4616,7 @@ echo "$ac_t""$with_cycle_gc" 1>&6
# Check for Python-specific malloc support
# Check for Python-specific malloc support
echo
$ac_n
"checking for --with-pymalloc""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-pymalloc""...
$ac_c
"
1>&6
echo
"configure:462
6
: checking for --with-pymalloc"
>
&5
echo
"configure:462
0
: checking for --with-pymalloc"
>
&5
# Check whether --with-pymalloc or --without-pymalloc was given.
# Check whether --with-pymalloc or --without-pymalloc was given.
if
test
"
${
with_pymalloc
+set
}
"
=
set
;
then
if
test
"
${
with_pymalloc
+set
}
"
=
set
;
then
withval
=
"
$with_pymalloc
"
withval
=
"
$with_pymalloc
"
...
@@ -4641,7 +4635,7 @@ fi
...
@@ -4641,7 +4635,7 @@ fi
# Check for --with-wctype-functions
# Check for --with-wctype-functions
echo
$ac_n
"checking for --with-wctype-functions""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-wctype-functions""...
$ac_c
"
1>&6
echo
"configure:46
45
: checking for --with-wctype-functions"
>
&5
echo
"configure:46
39
: checking for --with-wctype-functions"
>
&5
# Check whether --with-wctype-functions or --without-wctype-functions was given.
# Check whether --with-wctype-functions or --without-wctype-functions was given.
if
test
"
${
with_wctype_functions
+set
}
"
=
set
;
then
if
test
"
${
with_wctype_functions
+set
}
"
=
set
;
then
withval
=
"
$with_wctype_functions
"
withval
=
"
$with_wctype_functions
"
...
@@ -4663,7 +4657,7 @@ fi
...
@@ -4663,7 +4657,7 @@ fi
DLINCLDIR
=
.
DLINCLDIR
=
.
echo
$ac_n
"checking for --with-sgi-dl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-sgi-dl""...
$ac_c
"
1>&6
echo
"configure:466
7
: checking for --with-sgi-dl"
>
&5
echo
"configure:466
1
: checking for --with-sgi-dl"
>
&5
# Check whether --with-sgi-dl or --without-sgi-dl was given.
# Check whether --with-sgi-dl or --without-sgi-dl was given.
if
test
"
${
with_sgi_dl
+set
}
"
=
set
;
then
if
test
"
${
with_sgi_dl
+set
}
"
=
set
;
then
withval
=
"
$with_sgi_dl
"
withval
=
"
$with_sgi_dl
"
...
@@ -4687,7 +4681,7 @@ fi
...
@@ -4687,7 +4681,7 @@ fi
echo
$ac_n
"checking for --with-dl-dld""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-dl-dld""...
$ac_c
"
1>&6
echo
"configure:46
91
: checking for --with-dl-dld"
>
&5
echo
"configure:46
85
: checking for --with-dl-dld"
>
&5
# Check whether --with-dl-dld or --without-dl-dld was given.
# Check whether --with-dl-dld or --without-dl-dld was given.
if
test
"
${
with_dl_dld
+set
}
"
=
set
;
then
if
test
"
${
with_dl_dld
+set
}
"
=
set
;
then
withval
=
"
$with_dl_dld
"
withval
=
"
$with_dl_dld
"
...
@@ -4716,12 +4710,12 @@ fi
...
@@ -4716,12 +4710,12 @@ fi
for
ac_func
in
dlopen
for
ac_func
in
dlopen
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:47
20
: checking for
$ac_func
"
>
&5
echo
"configure:47
14
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
25
"configure"
#line 47
19
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -4744,7 +4738,7 @@ $ac_func();
...
@@ -4744,7 +4738,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:474
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:474
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -4773,7 +4767,7 @@ done
...
@@ -4773,7 +4767,7 @@ done
# loading of modules.
# loading of modules.
echo
$ac_n
"checking DYNLOADFILE""...
$ac_c
"
1>&6
echo
$ac_n
"checking DYNLOADFILE""...
$ac_c
"
1>&6
echo
"configure:477
7
: checking DYNLOADFILE"
>
&5
echo
"configure:477
1
: checking DYNLOADFILE"
>
&5
if
test
-z
"
$DYNLOADFILE
"
if
test
-z
"
$DYNLOADFILE
"
then
then
case
$ac_sys_system
/
$ac_sys_release
in
case
$ac_sys_system
/
$ac_sys_release
in
...
@@ -4804,7 +4798,7 @@ fi
...
@@ -4804,7 +4798,7 @@ fi
echo
$ac_n
"checking MACHDEP_OBJS""...
$ac_c
"
1>&6
echo
$ac_n
"checking MACHDEP_OBJS""...
$ac_c
"
1>&6
echo
"configure:480
8
: checking MACHDEP_OBJS"
>
&5
echo
"configure:480
2
: checking MACHDEP_OBJS"
>
&5
if
test
-z
"
$MACHDEP_OBJS
"
if
test
-z
"
$MACHDEP_OBJS
"
then
then
MACHDEP_OBJS
=
$extra_machdep_objs
MACHDEP_OBJS
=
$extra_machdep_objs
...
@@ -4827,12 +4821,12 @@ for ac_func in alarm chown chroot clock confstr ctermid ctermid_r execv \
...
@@ -4827,12 +4821,12 @@ for ac_func in alarm chown chroot clock confstr ctermid ctermid_r execv \
truncate uname
unsetenv waitpid _getpty getpriority
truncate uname
unsetenv waitpid _getpty getpriority
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:48
31
: checking for
$ac_func
"
>
&5
echo
"configure:48
25
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 483
6
"configure"
#line 483
0
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -4855,7 +4849,7 @@ $ac_func();
...
@@ -4855,7 +4849,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:485
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:485
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -4885,12 +4879,12 @@ done
...
@@ -4885,12 +4879,12 @@ done
for
ac_func
in
openpty
for
ac_func
in
openpty
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:488
9
: checking for
$ac_func
"
>
&5
echo
"configure:488
3
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
94
"configure"
#line 48
88
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -4913,7 +4907,7 @@ $ac_func();
...
@@ -4913,7 +4907,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:491
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:491
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -4935,7 +4929,7 @@ EOF
...
@@ -4935,7 +4929,7 @@ EOF
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for openpty in -lutil""...
$ac_c
"
1>&6
echo
$ac_n
"checking for openpty in -lutil""...
$ac_c
"
1>&6
echo
"configure:493
9
: checking for openpty in -lutil"
>
&5
echo
"configure:493
3
: checking for openpty in -lutil"
>
&5
ac_lib_var
=
`
echo
util
'_'
openpty |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
util
'_'
openpty |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4943,7 +4937,7 @@ else
...
@@ -4943,7 +4937,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 494
7
"configure"
#line 494
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -4954,7 +4948,7 @@ int main() {
...
@@ -4954,7 +4948,7 @@ int main() {
openpty()
openpty()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:495
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:495
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -4983,12 +4977,12 @@ done
...
@@ -4983,12 +4977,12 @@ done
for
ac_func
in
forkpty
for
ac_func
in
forkpty
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:498
7
: checking for
$ac_func
"
>
&5
echo
"configure:498
1
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
92
"configure"
#line 49
86
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -5011,7 +5005,7 @@ $ac_func();
...
@@ -5011,7 +5005,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:50
15
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:50
09
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -5033,7 +5027,7 @@ EOF
...
@@ -5033,7 +5027,7 @@ EOF
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for forkpty in -lutil""...
$ac_c
"
1>&6
echo
$ac_n
"checking for forkpty in -lutil""...
$ac_c
"
1>&6
echo
"configure:503
7
: checking for forkpty in -lutil"
>
&5
echo
"configure:503
1
: checking for forkpty in -lutil"
>
&5
ac_lib_var
=
`
echo
util
'_'
forkpty |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
util
'_'
forkpty |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -5041,7 +5035,7 @@ else
...
@@ -5041,7 +5035,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
45
"configure"
#line 50
39
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -5052,7 +5046,7 @@ int main() {
...
@@ -5052,7 +5046,7 @@ int main() {
forkpty()
forkpty()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:505
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:505
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -5083,12 +5077,12 @@ done
...
@@ -5083,12 +5077,12 @@ done
for
ac_func
in
fseek64 fseeko fstatvfs ftell64 ftello statvfs
for
ac_func
in
fseek64 fseeko fstatvfs ftell64 ftello statvfs
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:508
7
: checking for
$ac_func
"
>
&5
echo
"configure:508
1
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
92
"configure"
#line 50
86
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -5111,7 +5105,7 @@ $ac_func();
...
@@ -5111,7 +5105,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:51
15
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
09
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -5139,12 +5133,12 @@ done
...
@@ -5139,12 +5133,12 @@ done
for
ac_func
in
dup2 getcwd strdup strerror memmove
for
ac_func
in
dup2 getcwd strdup strerror memmove
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:51
43
: checking for
$ac_func
"
>
&5
echo
"configure:51
37
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 514
8
"configure"
#line 514
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -5167,7 +5161,7 @@ $ac_func();
...
@@ -5167,7 +5161,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:51
71
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -5196,12 +5190,12 @@ done
...
@@ -5196,12 +5190,12 @@ done
for
ac_func
in
getpgrp
for
ac_func
in
getpgrp
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:5
200
: checking for
$ac_func
"
>
&5
echo
"configure:5
194
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
205
"configure"
#line 5
199
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -5224,7 +5218,7 @@ $ac_func();
...
@@ -5224,7 +5218,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:522
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:522
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -5243,14 +5237,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
...
@@ -5243,14 +5237,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
#define
$ac_tr_func
1
EOF
EOF
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 524
7
"configure"
#line 524
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() {
int main() {
getpgrp(0);
getpgrp(0);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:52
54
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
48
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define GETPGRP_HAVE_ARG 1
#define GETPGRP_HAVE_ARG 1
...
@@ -5269,12 +5263,12 @@ done
...
@@ -5269,12 +5263,12 @@ done
for
ac_func
in
setpgrp
for
ac_func
in
setpgrp
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:52
73
: checking for
$ac_func
"
>
&5
echo
"configure:52
67
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 527
8
"configure"
#line 527
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -5297,7 +5291,7 @@ $ac_func();
...
@@ -5297,7 +5291,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
301
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
295
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -5316,14 +5310,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
...
@@ -5316,14 +5310,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
#define
$ac_tr_func
1
EOF
EOF
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
20
"configure"
#line 53
14
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() {
int main() {
setpgrp(0,0);
setpgrp(0,0);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:532
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:532
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define SETPGRP_HAVE_ARG 1
#define SETPGRP_HAVE_ARG 1
...
@@ -5342,12 +5336,12 @@ done
...
@@ -5342,12 +5336,12 @@ done
for
ac_func
in
gettimeofday
for
ac_func
in
gettimeofday
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:534
6
: checking for
$ac_func
"
>
&5
echo
"configure:534
0
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
51
"configure"
#line 53
45
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -5370,7 +5364,7 @@ $ac_func();
...
@@ -5370,7 +5364,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:53
74
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:53
68
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -5389,14 +5383,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
...
@@ -5389,14 +5383,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
#define
$ac_tr_func
1
EOF
EOF
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
93
"configure"
#line 53
87
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/time.h>
#include <sys/time.h>
int main() {
int main() {
gettimeofday((struct timeval*)0,(struct timezone*)0);
gettimeofday((struct timeval*)0,(struct timezone*)0);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
400
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
394
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -5418,9 +5412,9 @@ done
...
@@ -5418,9 +5412,9 @@ done
# On OSF/1 V5.1, getaddrinfo is available, but a define
# On OSF/1 V5.1, getaddrinfo is available, but a define
# for [no]getaddrinfo in netdb.h.
# for [no]getaddrinfo in netdb.h.
echo
$ac_n
"checking for getaddrinfo""...
$ac_c
"
1>&6
echo
$ac_n
"checking for getaddrinfo""...
$ac_c
"
1>&6
echo
"configure:54
22
: checking for getaddrinfo"
>
&5
echo
"configure:54
16
: checking for getaddrinfo"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
24
"configure"
#line 54
18
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5434,18 +5428,18 @@ getaddrinfo(NULL, NULL, NULL, NULL);
...
@@ -5434,18 +5428,18 @@ getaddrinfo(NULL, NULL, NULL, NULL);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:543
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:543
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
echo
$ac_n
"checking getaddrinfo bug""...
$ac_c
"
1>&6
echo
$ac_n
"checking getaddrinfo bug""...
$ac_c
"
1>&6
echo
"configure:54
43
: checking getaddrinfo bug"
>
&5
echo
"configure:54
37
: checking getaddrinfo bug"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""buggy"
1>&6
echo
"
$ac_t
""buggy"
1>&6
buggygetaddrinfo
=
yes
buggygetaddrinfo
=
yes
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 544
9
"configure"
#line 544
3
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5534,7 +5528,7 @@ main()
...
@@ -5534,7 +5528,7 @@ main()
}
}
EOF
EOF
if
{
(
eval echo
configure:553
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:553
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
echo
"
$ac_t
""good"
1>&6
echo
"
$ac_t
""good"
1>&6
buggygetaddrinfo
=
no
buggygetaddrinfo
=
no
...
@@ -5574,12 +5568,12 @@ fi
...
@@ -5574,12 +5568,12 @@ fi
for
ac_func
in
getnameinfo
for
ac_func
in
getnameinfo
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:557
8
: checking for
$ac_func
"
>
&5
echo
"configure:557
2
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
83
"configure"
#line 55
77
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -5602,7 +5596,7 @@ $ac_func();
...
@@ -5602,7 +5596,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:560
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:560
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -5629,12 +5623,12 @@ done
...
@@ -5629,12 +5623,12 @@ done
# checks for structures
# checks for structures
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:56
33
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:56
27
: checking whether time.h and sys/time.h may both be included"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 563
8
"configure"
#line 563
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -5643,7 +5637,7 @@ int main() {
...
@@ -5643,7 +5637,7 @@ int main() {
struct tm *tp;
struct tm *tp;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:564
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:564
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_header_time
=
yes
ac_cv_header_time
=
yes
else
else
...
@@ -5664,12 +5658,12 @@ EOF
...
@@ -5664,12 +5658,12 @@ EOF
fi
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:566
8
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:566
2
: checking whether struct tm is in sys/time.h or time.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
73
"configure"
#line 56
67
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -5677,7 +5671,7 @@ int main() {
...
@@ -5677,7 +5671,7 @@ int main() {
struct tm *tp; tp->tm_sec;
struct tm *tp; tp->tm_sec;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:56
81
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:56
75
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
ac_cv_struct_tm
=
time.h
else
else
...
@@ -5698,12 +5692,12 @@ EOF
...
@@ -5698,12 +5692,12 @@ EOF
fi
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:5
702
: checking for tm_zone in struct tm"
>
&5
echo
"configure:5
696
: checking for tm_zone in struct tm"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 570
7
"configure"
#line 570
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
#include <
$ac_cv_struct_tm
>
...
@@ -5711,7 +5705,7 @@ int main() {
...
@@ -5711,7 +5705,7 @@ int main() {
struct tm tm; tm.tm_zone;
struct tm tm; tm.tm_zone;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:57
15
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:57
09
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
ac_cv_struct_tm_zone
=
yes
else
else
...
@@ -5731,12 +5725,12 @@ EOF
...
@@ -5731,12 +5725,12 @@ EOF
else
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:57
35
: checking for tzname"
>
&5
echo
"configure:57
29
: checking for tzname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
40
"configure"
#line 57
34
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
#ifndef tzname /* For SGI. */
#ifndef tzname /* For SGI. */
...
@@ -5746,7 +5740,7 @@ int main() {
...
@@ -5746,7 +5740,7 @@ int main() {
atoi(*tzname);
atoi(*tzname);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:57
50
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:57
44
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
ac_cv_var_tzname
=
yes
else
else
...
@@ -5768,12 +5762,12 @@ EOF
...
@@ -5768,12 +5762,12 @@ EOF
fi
fi
echo
$ac_n
"checking for st_rdev in struct stat""...
$ac_c
"
1>&6
echo
$ac_n
"checking for st_rdev in struct stat""...
$ac_c
"
1>&6
echo
"configure:57
72
: checking for st_rdev in struct stat"
>
&5
echo
"configure:57
66
: checking for st_rdev in struct stat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_rdev
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_rdev
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 577
7
"configure"
#line 577
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -5781,7 +5775,7 @@ int main() {
...
@@ -5781,7 +5775,7 @@ int main() {
struct stat s; s.st_rdev;
struct stat s; s.st_rdev;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:57
85
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:57
79
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_st_rdev
=
yes
ac_cv_struct_st_rdev
=
yes
else
else
...
@@ -5802,12 +5796,12 @@ EOF
...
@@ -5802,12 +5796,12 @@ EOF
fi
fi
echo
$ac_n
"checking for st_blksize in struct stat""...
$ac_c
"
1>&6
echo
$ac_n
"checking for st_blksize in struct stat""...
$ac_c
"
1>&6
echo
"configure:580
6
: checking for st_blksize in struct stat"
>
&5
echo
"configure:580
0
: checking for st_blksize in struct stat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_blksize
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_blksize
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
11
"configure"
#line 58
05
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -5815,7 +5809,7 @@ int main() {
...
@@ -5815,7 +5809,7 @@ int main() {
struct stat s; s.st_blksize;
struct stat s; s.st_blksize;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:581
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:581
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_st_blksize
=
yes
ac_cv_struct_st_blksize
=
yes
else
else
...
@@ -5836,12 +5830,12 @@ EOF
...
@@ -5836,12 +5830,12 @@ EOF
fi
fi
echo
$ac_n
"checking for st_blocks in struct stat""...
$ac_c
"
1>&6
echo
$ac_n
"checking for st_blocks in struct stat""...
$ac_c
"
1>&6
echo
"configure:58
40
: checking for st_blocks in struct stat"
>
&5
echo
"configure:58
34
: checking for st_blocks in struct stat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_blocks
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_st_blocks
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
45
"configure"
#line 58
39
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -5849,7 +5843,7 @@ int main() {
...
@@ -5849,7 +5843,7 @@ int main() {
struct stat s; s.st_blocks;
struct stat s; s.st_blocks;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:58
53
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:58
47
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_st_blocks
=
yes
ac_cv_struct_st_blocks
=
yes
else
else
...
@@ -5873,19 +5867,19 @@ fi
...
@@ -5873,19 +5867,19 @@ fi
echo
$ac_n
"checking for time.h that defines altzone""...
$ac_c
"
1>&6
echo
$ac_n
"checking for time.h that defines altzone""...
$ac_c
"
1>&6
echo
"configure:587
7
: checking for time.h that defines altzone"
>
&5
echo
"configure:587
1
: checking for time.h that defines altzone"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time_altzone
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time_altzone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
82
"configure"
#line 58
76
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
int main() {
int main() {
return altzone;
return altzone;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:588
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:588
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_header_time_altzone
=
yes
ac_cv_header_time_altzone
=
yes
else
else
...
@@ -5907,9 +5901,9 @@ fi
...
@@ -5907,9 +5901,9 @@ fi
was_it_defined
=
no
was_it_defined
=
no
echo
$ac_n
"checking whether sys/select.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether sys/select.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:59
11
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
echo
"configure:59
05
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
13
"configure"
#line 59
07
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5920,7 +5914,7 @@ int main() {
...
@@ -5920,7 +5914,7 @@ int main() {
;
;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:59
24
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
18
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define SYS_SELECT_WITH_SYS_TIME 1
#define SYS_SELECT_WITH_SYS_TIME 1
...
@@ -5934,12 +5928,12 @@ rm -f conftest*
...
@@ -5934,12 +5928,12 @@ rm -f conftest*
echo
"
$ac_t
""
$was_it_defined
"
1>&6
echo
"
$ac_t
""
$was_it_defined
"
1>&6
echo
$ac_n
"checking for addrinfo""...
$ac_c
"
1>&6
echo
$ac_n
"checking for addrinfo""...
$ac_c
"
1>&6
echo
"configure:593
8
: checking for addrinfo"
>
&5
echo
"configure:593
2
: checking for addrinfo"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_addrinfo
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_addrinfo
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
43
"configure"
#line 59
37
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -5947,7 +5941,7 @@ int main() {
...
@@ -5947,7 +5941,7 @@ int main() {
struct addrinfo a
struct addrinfo a
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:59
51
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
45
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_addrinfo
=
yes
ac_cv_struct_addrinfo
=
yes
else
else
...
@@ -5968,12 +5962,12 @@ EOF
...
@@ -5968,12 +5962,12 @@ EOF
fi
fi
echo
$ac_n
"checking for sockaddr_storage""...
$ac_c
"
1>&6
echo
$ac_n
"checking for sockaddr_storage""...
$ac_c
"
1>&6
echo
"configure:59
72
: checking for sockaddr_storage"
>
&5
echo
"configure:59
66
: checking for sockaddr_storage"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_sockaddr_storage
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_sockaddr_storage
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 597
7
"configure"
#line 597
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <sys/types.h>
# include <sys/types.h>
...
@@ -5982,7 +5976,7 @@ int main() {
...
@@ -5982,7 +5976,7 @@ int main() {
struct sockaddr_storage s
struct sockaddr_storage s
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:598
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:598
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_sockaddr_storage
=
yes
ac_cv_struct_sockaddr_storage
=
yes
else
else
...
@@ -6005,14 +5999,14 @@ fi
...
@@ -6005,14 +5999,14 @@ fi
# checks for compiler characteristics
# checks for compiler characteristics
echo
$ac_n
"checking whether char is unsigned""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether char is unsigned""...
$ac_c
"
1>&6
echo
"configure:600
9
: checking whether char is unsigned"
>
&5
echo
"configure:600
3
: checking whether char is unsigned"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_char_unsigned
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_char_unsigned
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
if
test
"
$GCC
"
=
yes
;
then
if
test
"
$GCC
"
=
yes
;
then
# GCC predefines this symbol on systems where it applies.
# GCC predefines this symbol on systems where it applies.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 601
6
"configure"
#line 601
0
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
#ifdef __CHAR_UNSIGNED__
yes
yes
...
@@ -6034,7 +6028,7 @@ if test "$cross_compiling" = yes; then
...
@@ -6034,7 +6028,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 603
8
"configure"
#line 603
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1
#if !defined(__STDC__) || __STDC__ != 1
...
@@ -6044,7 +6038,7 @@ main() {
...
@@ -6044,7 +6038,7 @@ main() {
volatile char c = 255; exit(c < 0);
volatile char c = 255; exit(c < 0);
}
}
EOF
EOF
if
{
(
eval echo
configure:604
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:604
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_c_char_unsigned
=
yes
ac_cv_c_char_unsigned
=
yes
else
else
...
@@ -6068,12 +6062,12 @@ EOF
...
@@ -6068,12 +6062,12 @@ EOF
fi
fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:60
72
: checking for working const"
>
&5
echo
"configure:60
66
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 607
7
"configure"
#line 607
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -6122,7 +6116,7 @@ ccp = (char const *const *) p;
...
@@ -6122,7 +6116,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:612
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:612
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_const
=
yes
ac_cv_c_const
=
yes
else
else
...
@@ -6145,16 +6139,16 @@ fi
...
@@ -6145,16 +6139,16 @@ fi
works
=
no
works
=
no
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&6
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&6
echo
"configure:614
9
: checking for working volatile"
>
&5
echo
"configure:614
3
: checking for working volatile"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 61
51
"configure"
#line 61
45
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
volatile int x; x = 0;
volatile int x; x = 0;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:615
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:615
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -6171,16 +6165,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -6171,16 +6165,16 @@ echo "$ac_t""$works" 1>&6
works
=
no
works
=
no
echo
$ac_n
"checking for working signed char""...
$ac_c
"
1>&6
echo
$ac_n
"checking for working signed char""...
$ac_c
"
1>&6
echo
"configure:61
75
: checking for working signed char"
>
&5
echo
"configure:61
69
: checking for working signed char"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 617
7
"configure"
#line 617
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
signed char c;
signed char c;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:61
84
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:61
78
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -6197,16 +6191,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -6197,16 +6191,16 @@ echo "$ac_t""$works" 1>&6
have_prototypes
=
no
have_prototypes
=
no
echo
$ac_n
"checking for prototypes""...
$ac_c
"
1>&6
echo
$ac_n
"checking for prototypes""...
$ac_c
"
1>&6
echo
"configure:6
201
: checking for prototypes"
>
&5
echo
"configure:6
195
: checking for prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
203
"configure"
#line 6
197
"configure"
#include "confdefs.h"
#include "confdefs.h"
int foo(int x) { return 0; }
int foo(int x) { return 0; }
int main() {
int main() {
return foo(10);
return foo(10);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:62
10
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:62
04
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_PROTOTYPES 1
#define HAVE_PROTOTYPES 1
...
@@ -6221,9 +6215,9 @@ echo "$ac_t""$have_prototypes" 1>&6
...
@@ -6221,9 +6215,9 @@ echo "$ac_t""$have_prototypes" 1>&6
works
=
no
works
=
no
echo
$ac_n
"checking for variable length prototypes and stdarg.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for variable length prototypes and stdarg.h""...
$ac_c
"
1>&6
echo
"configure:62
25
: checking for variable length prototypes and stdarg.h"
>
&5
echo
"configure:62
19
: checking for variable length prototypes and stdarg.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 622
7
"configure"
#line 622
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdarg.h>
#include <stdarg.h>
...
@@ -6240,7 +6234,7 @@ int main() {
...
@@ -6240,7 +6234,7 @@ int main() {
return foo(10, "", 3.14);
return foo(10, "", 3.14);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:62
44
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:62
38
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STDARG_PROTOTYPES 1
#define HAVE_STDARG_PROTOTYPES 1
...
@@ -6256,16 +6250,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -6256,16 +6250,16 @@ echo "$ac_t""$works" 1>&6
if
test
"
$have_prototypes
"
=
yes
;
then
if
test
"
$have_prototypes
"
=
yes
;
then
bad_prototypes
=
no
bad_prototypes
=
no
echo
$ac_n
"checking for bad exec* prototypes""...
$ac_c
"
1>&6
echo
$ac_n
"checking for bad exec* prototypes""...
$ac_c
"
1>&6
echo
"configure:62
60
: checking for bad exec* prototypes"
>
&5
echo
"configure:62
54
: checking for bad exec* prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
62
"configure"
#line 62
56
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
int main() {
int main() {
char **t;execve("@",t,t);
char **t;execve("@",t,t);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:626
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:626
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -6282,9 +6276,9 @@ fi
...
@@ -6282,9 +6276,9 @@ fi
# check if sockaddr has sa_len member
# check if sockaddr has sa_len member
echo
$ac_n
"checking if sockaddr has sa_len member""...
$ac_c
"
1>&6
echo
$ac_n
"checking if sockaddr has sa_len member""...
$ac_c
"
1>&6
echo
"configure:628
6
: checking if sockaddr has sa_len member"
>
&5
echo
"configure:628
0
: checking if sockaddr has sa_len member"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 628
8
"configure"
#line 628
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/socket.h>
...
@@ -6293,7 +6287,7 @@ struct sockaddr x;
...
@@ -6293,7 +6287,7 @@ struct sockaddr x;
x.sa_len = 0;
x.sa_len = 0;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:629
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:629
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -6309,7 +6303,7 @@ fi
...
@@ -6309,7 +6303,7 @@ fi
rm
-f
conftest
*
rm
-f
conftest
*
echo
$ac_n
"checking for bad static forward""...
$ac_c
"
1>&6
echo
$ac_n
"checking for bad static forward""...
$ac_c
"
1>&6
echo
"configure:63
13
: checking for bad static forward"
>
&5
echo
"configure:63
07
: checking for bad static forward"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_bad_static_forward
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_bad_static_forward
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -6317,7 +6311,7 @@ else
...
@@ -6317,7 +6311,7 @@ else
ac_cv_bad_static_forward
=
no
ac_cv_bad_static_forward
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
21
"configure"
#line 63
15
"configure"
#include "confdefs.h"
#include "confdefs.h"
struct s { int a; int b; };
struct s { int a; int b; };
...
@@ -6332,7 +6326,7 @@ main() {
...
@@ -6332,7 +6326,7 @@ main() {
exit(!((int)&foo == foobar()));
exit(!((int)&foo == foobar()));
}
}
EOF
EOF
if
{
(
eval echo
configure:633
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:633
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_bad_static_forward
=
no
ac_cv_bad_static_forward
=
no
else
else
...
@@ -6357,9 +6351,9 @@ fi
...
@@ -6357,9 +6351,9 @@ fi
va_list_is_array
=
no
va_list_is_array
=
no
echo
$ac_n
"checking whether va_list is an array""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether va_list is an array""...
$ac_c
"
1>&6
echo
"configure:63
61
: checking whether va_list is an array"
>
&5
echo
"configure:63
55
: checking whether va_list is an array"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
63
"configure"
#line 63
57
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
#ifdef HAVE_STDARG_PROTOTYPES
...
@@ -6372,7 +6366,7 @@ int main() {
...
@@ -6372,7 +6366,7 @@ int main() {
va_list list1, list2; list1 = list2;
va_list list1, list2; list1 = list2;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:637
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:637
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -6388,12 +6382,12 @@ echo "$ac_t""$va_list_is_array" 1>&6
...
@@ -6388,12 +6382,12 @@ echo "$ac_t""$va_list_is_array" 1>&6
# sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
# sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
echo
$ac_n
"checking for gethostbyname_r""...
$ac_c
"
1>&6
echo
$ac_n
"checking for gethostbyname_r""...
$ac_c
"
1>&6
echo
"configure:63
92
: checking for gethostbyname_r"
>
&5
echo
"configure:63
86
: checking for gethostbyname_r"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostbyname_r
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostbyname_r
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 639
7
"configure"
#line 639
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname_r(); below. */
which can conflict with char gethostbyname_r(); below. */
...
@@ -6416,7 +6410,7 @@ gethostbyname_r();
...
@@ -6416,7 +6410,7 @@ gethostbyname_r();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:64
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:64
14
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_gethostbyname_r=yes"
eval
"ac_cv_func_gethostbyname_r=yes"
else
else
...
@@ -6436,11 +6430,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
...
@@ -6436,11 +6430,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
EOF
EOF
echo
$ac_n
"checking gethostbyname_r with 6 args""...
$ac_c
"
1>&6
echo
$ac_n
"checking gethostbyname_r with 6 args""...
$ac_c
"
1>&6
echo
"configure:64
40
: checking gethostbyname_r with 6 args"
>
&5
echo
"configure:64
34
: checking gethostbyname_r with 6 args"
>
&5
OLD_CFLAGS
=
$CFLAGS
OLD_CFLAGS
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
$MY_CPPFLAGS
$MY_THREAD_CPPFLAGS
$MY_CFLAGS
"
CFLAGS
=
"
$CFLAGS
$MY_CPPFLAGS
$MY_THREAD_CPPFLAGS
$MY_CFLAGS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
44
"configure"
#line 64
38
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -6457,7 +6451,7 @@ int main() {
...
@@ -6457,7 +6451,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:64
61
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:64
55
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -6477,9 +6471,9 @@ else
...
@@ -6477,9 +6471,9 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking gethostbyname_r with 5 args""...
$ac_c
"
1>&6
echo
$ac_n
"checking gethostbyname_r with 5 args""...
$ac_c
"
1>&6
echo
"configure:64
81
: checking gethostbyname_r with 5 args"
>
&5
echo
"configure:64
75
: checking gethostbyname_r with 5 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
83
"configure"
#line 64
77
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -6496,7 +6490,7 @@ int main() {
...
@@ -6496,7 +6490,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
500
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
494
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -6516,9 +6510,9 @@ else
...
@@ -6516,9 +6510,9 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking gethostbyname_r with 3 args""...
$ac_c
"
1>&6
echo
$ac_n
"checking gethostbyname_r with 3 args""...
$ac_c
"
1>&6
echo
"configure:65
20
: checking gethostbyname_r with 3 args"
>
&5
echo
"configure:65
14
: checking gethostbyname_r with 3 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
22
"configure"
#line 65
16
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -6533,7 +6527,7 @@ int main() {
...
@@ -6533,7 +6527,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:653
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:653
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -6569,12 +6563,12 @@ else
...
@@ -6569,12 +6563,12 @@ else
for
ac_func
in
gethostbyname
for
ac_func
in
gethostbyname
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:65
73
: checking for
$ac_func
"
>
&5
echo
"configure:65
67
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 657
8
"configure"
#line 657
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -6597,7 +6591,7 @@ $ac_func();
...
@@ -6597,7 +6591,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
601
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
595
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -6635,12 +6629,12 @@ fi
...
@@ -6635,12 +6629,12 @@ fi
# Linux requires this for correct f.p. operations
# Linux requires this for correct f.p. operations
echo
$ac_n
"checking for __fpu_control""...
$ac_c
"
1>&6
echo
$ac_n
"checking for __fpu_control""...
$ac_c
"
1>&6
echo
"configure:663
9
: checking for __fpu_control"
>
&5
echo
"configure:663
3
: checking for __fpu_control"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func___fpu_control
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func___fpu_control
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 66
44
"configure"
#line 66
38
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __fpu_control(); below. */
which can conflict with char __fpu_control(); below. */
...
@@ -6663,7 +6657,7 @@ __fpu_control();
...
@@ -6663,7 +6657,7 @@ __fpu_control();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:666
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:666
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func___fpu_control=yes"
eval
"ac_cv_func___fpu_control=yes"
else
else
...
@@ -6681,7 +6675,7 @@ if eval "test \"`echo '$ac_cv_func_'__fpu_control`\" = yes"; then
...
@@ -6681,7 +6675,7 @@ if eval "test \"`echo '$ac_cv_func_'__fpu_control`\" = yes"; then
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __fpu_control in -lieee""...
$ac_c
"
1>&6
echo
$ac_n
"checking for __fpu_control in -lieee""...
$ac_c
"
1>&6
echo
"configure:66
85
: checking for __fpu_control in -lieee"
>
&5
echo
"configure:66
79
: checking for __fpu_control in -lieee"
>
&5
ac_lib_var
=
`
echo
ieee
'_'
__fpu_control |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
ieee
'_'
__fpu_control |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -6689,7 +6683,7 @@ else
...
@@ -6689,7 +6683,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 66
93
"configure"
#line 66
87
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -6700,7 +6694,7 @@ int main() {
...
@@ -6700,7 +6694,7 @@ int main() {
__fpu_control()
__fpu_control()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
704
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
698
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -6733,7 +6727,7 @@ fi
...
@@ -6733,7 +6727,7 @@ fi
# Check for --with-fpectl
# Check for --with-fpectl
echo
$ac_n
"checking for --with-fpectl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-fpectl""...
$ac_c
"
1>&6
echo
"configure:673
7
: checking for --with-fpectl"
>
&5
echo
"configure:673
1
: checking for --with-fpectl"
>
&5
# Check whether --with-fpectl or --without-fpectl was given.
# Check whether --with-fpectl or --without-fpectl was given.
if
test
"
${
with_fpectl
+set
}
"
=
set
;
then
if
test
"
${
with_fpectl
+set
}
"
=
set
;
then
withval
=
"
$with_fpectl
"
withval
=
"
$with_fpectl
"
...
@@ -6758,7 +6752,7 @@ BeOS) ;;
...
@@ -6758,7 +6752,7 @@ BeOS) ;;
*
)
LIBM
=
-lm
*
)
LIBM
=
-lm
esac
esac
echo
$ac_n
"checking for --with-libm=STRING""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-libm=STRING""...
$ac_c
"
1>&6
echo
"configure:67
62
: checking for --with-libm=STRING"
>
&5
echo
"configure:67
56
: checking for --with-libm=STRING"
>
&5
# Check whether --with-libm or --without-libm was given.
# Check whether --with-libm or --without-libm was given.
if
test
"
${
with_libm
+set
}
"
=
set
;
then
if
test
"
${
with_libm
+set
}
"
=
set
;
then
withval
=
"
$with_libm
"
withval
=
"
$with_libm
"
...
@@ -6779,7 +6773,7 @@ fi
...
@@ -6779,7 +6773,7 @@ fi
# check for --with-libc=...
# check for --with-libc=...
echo
$ac_n
"checking for --with-libc=STRING""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-libc=STRING""...
$ac_c
"
1>&6
echo
"configure:67
83
: checking for --with-libc=STRING"
>
&5
echo
"configure:67
77
: checking for --with-libc=STRING"
>
&5
# Check whether --with-libc or --without-libc was given.
# Check whether --with-libc or --without-libc was given.
if
test
"
${
with_libc
+set
}
"
=
set
;
then
if
test
"
${
with_libc
+set
}
"
=
set
;
then
withval
=
"
$with_libc
"
withval
=
"
$with_libc
"
...
@@ -6803,12 +6797,12 @@ LIBS="$LIBS $LIBM"
...
@@ -6803,12 +6797,12 @@ LIBS="$LIBS $LIBM"
for
ac_func
in
hypot
for
ac_func
in
hypot
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:680
7
: checking for
$ac_func
"
>
&5
echo
"configure:680
1
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 68
12
"configure"
#line 68
06
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -6831,7 +6825,7 @@ $ac_func();
...
@@ -6831,7 +6825,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:68
35
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:68
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -6861,7 +6855,7 @@ LIBS=$LIBS_SAVE
...
@@ -6861,7 +6855,7 @@ LIBS=$LIBS_SAVE
# check whether malloc(0) returns NULL or not
# check whether malloc(0) returns NULL or not
echo
$ac_n
"checking what malloc(0) returns""...
$ac_c
"
1>&6
echo
$ac_n
"checking what malloc(0) returns""...
$ac_c
"
1>&6
echo
"configure:68
65
: checking what malloc(0) returns"
>
&5
echo
"configure:68
59
: checking what malloc(0) returns"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_malloc_zero
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_malloc_zero
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -6869,7 +6863,7 @@ else
...
@@ -6869,7 +6863,7 @@ else
ac_cv_malloc_zero
=
nonnull
ac_cv_malloc_zero
=
nonnull
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 68
73
"configure"
#line 68
67
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
#ifdef HAVE_STDLIB
#ifdef HAVE_STDLIB
...
@@ -6888,7 +6882,7 @@ main() {
...
@@ -6888,7 +6882,7 @@ main() {
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:68
92
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:68
86
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_malloc_zero
=
nonnull
ac_cv_malloc_zero
=
nonnull
else
else
...
@@ -6914,17 +6908,17 @@ fi
...
@@ -6914,17 +6908,17 @@ fi
# check for wchar.h
# check for wchar.h
ac_safe
=
`
echo
"wchar.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"wchar.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for wchar.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for wchar.h""...
$ac_c
"
1>&6
echo
"configure:691
8
: checking for wchar.h"
>
&5
echo
"configure:691
2
: checking for wchar.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 69
23
"configure"
#line 69
17
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <wchar.h>
#include <wchar.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:692
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:692
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -6955,7 +6949,7 @@ fi
...
@@ -6955,7 +6949,7 @@ fi
if
test
"
$wchar_h
"
=
yes
if
test
"
$wchar_h
"
=
yes
then
then
echo
$ac_n
"checking size of wchar_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking size of wchar_t""...
$ac_c
"
1>&6
echo
"configure:695
9
: checking size of wchar_t"
>
&5
echo
"configure:695
3
: checking size of wchar_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_wchar_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_wchar_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -6963,7 +6957,7 @@ else
...
@@ -6963,7 +6957,7 @@ else
ac_cv_sizeof_wchar_t
=
4
ac_cv_sizeof_wchar_t
=
4
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 696
7
"configure"
#line 696
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
main()
main()
...
@@ -6974,7 +6968,7 @@ main()
...
@@ -6974,7 +6968,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:697
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:697
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_sizeof_wchar_t
=
`
cat
conftestval
`
ac_cv_sizeof_wchar_t
=
`
cat
conftestval
`
else
else
...
@@ -6996,7 +6990,7 @@ EOF
...
@@ -6996,7 +6990,7 @@ EOF
fi
fi
echo
$ac_n
"checking what type to use for unicode""...
$ac_c
"
1>&6
echo
$ac_n
"checking what type to use for unicode""...
$ac_c
"
1>&6
echo
"configure:
7000
: checking what type to use for unicode"
>
&5
echo
"configure:
6994
: checking what type to use for unicode"
>
&5
# Check whether --enable-unicode or --disable-unicode was given.
# Check whether --enable-unicode or --disable-unicode was given.
if
test
"
${
enable_unicode
+set
}
"
=
set
;
then
if
test
"
${
enable_unicode
+set
}
"
=
set
;
then
enableval
=
"
$enable_unicode
"
enableval
=
"
$enable_unicode
"
...
@@ -7071,14 +7065,14 @@ fi
...
@@ -7071,14 +7065,14 @@ fi
# check for endianness
# check for endianness
echo
$ac_n
"checking whether byte ordering is bigendian""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether byte ordering is bigendian""...
$ac_c
"
1>&6
echo
"configure:70
75
: checking whether byte ordering is bigendian"
>
&5
echo
"configure:70
69
: checking whether byte ordering is bigendian"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_bigendian
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_bigendian
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
ac_cv_c_bigendian
=
unknown
ac_cv_c_bigendian
=
unknown
# See if sys/param.h defines the BYTE_ORDER macro.
# See if sys/param.h defines the BYTE_ORDER macro.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 70
82
"configure"
#line 70
76
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/param.h>
...
@@ -7089,11 +7083,11 @@ int main() {
...
@@ -7089,11 +7083,11 @@ int main() {
#endif
#endif
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:70
93
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:70
87
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
# It does; now see whether it defined to BIG_ENDIAN or not.
# It does; now see whether it defined to BIG_ENDIAN or not.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 709
7
"configure"
#line 709
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/param.h>
...
@@ -7104,7 +7098,7 @@ int main() {
...
@@ -7104,7 +7098,7 @@ int main() {
#endif
#endif
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:710
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:710
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_bigendian
=
yes
ac_cv_c_bigendian
=
yes
else
else
...
@@ -7124,7 +7118,7 @@ if test "$cross_compiling" = yes; then
...
@@ -7124,7 +7118,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 712
8
"configure"
#line 712
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
main () {
main () {
/* Are we little or big endian? From Harbison&Steele. */
/* Are we little or big endian? From Harbison&Steele. */
...
@@ -7137,7 +7131,7 @@ main () {
...
@@ -7137,7 +7131,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
exit (u.c[sizeof (long) - 1] == 1);
}
}
EOF
EOF
if
{
(
eval echo
configure:71
41
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:71
35
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_c_bigendian
=
no
ac_cv_c_bigendian
=
no
else
else
...
@@ -7164,7 +7158,7 @@ fi
...
@@ -7164,7 +7158,7 @@ fi
# Check whether right shifting a negative integer extends the sign bit
# Check whether right shifting a negative integer extends the sign bit
# or fills with zeros (like the Cray J90, according to Tim Peters).
# or fills with zeros (like the Cray J90, according to Tim Peters).
echo
$ac_n
"checking whether right shift extends the sign bit""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether right shift extends the sign bit""...
$ac_c
"
1>&6
echo
"configure:716
8
: checking whether right shift extends the sign bit"
>
&5
echo
"configure:716
2
: checking whether right shift extends the sign bit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_rshift_extends_sign
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_rshift_extends_sign
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7173,7 +7167,7 @@ if test "$cross_compiling" = yes; then
...
@@ -7173,7 +7167,7 @@ if test "$cross_compiling" = yes; then
ac_cv_rshift_extends_sign
=
yes
ac_cv_rshift_extends_sign
=
yes
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 717
7
"configure"
#line 717
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main()
int main()
...
@@ -7182,7 +7176,7 @@ int main()
...
@@ -7182,7 +7176,7 @@ int main()
}
}
EOF
EOF
if
{
(
eval echo
configure:718
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:718
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_rshift_extends_sign
=
yes
ac_cv_rshift_extends_sign
=
yes
else
else
...
@@ -7207,13 +7201,13 @@ fi
...
@@ -7207,13 +7201,13 @@ fi
# check for getc_unlocked and related locking functions
# check for getc_unlocked and related locking functions
echo
$ac_n
"checking for getc_unlocked() and friends""...
$ac_c
"
1>&6
echo
$ac_n
"checking for getc_unlocked() and friends""...
$ac_c
"
1>&6
echo
"configure:72
11
: checking for getc_unlocked() and friends"
>
&5
echo
"configure:72
05
: checking for getc_unlocked() and friends"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_have_getc_unlocked
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_have_getc_unlocked
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 721
7
"configure"
#line 721
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
int main() {
int main() {
...
@@ -7225,7 +7219,7 @@ int main() {
...
@@ -7225,7 +7219,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:722
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:722
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_have_getc_unlocked
=
yes
ac_cv_have_getc_unlocked
=
yes
else
else
...
@@ -7248,7 +7242,7 @@ fi
...
@@ -7248,7 +7242,7 @@ fi
# check for readline 4.0
# check for readline 4.0
echo
$ac_n
"checking for rl_pre_input_hook in -lreadline""...
$ac_c
"
1>&6
echo
$ac_n
"checking for rl_pre_input_hook in -lreadline""...
$ac_c
"
1>&6
echo
"configure:72
52
: checking for rl_pre_input_hook in -lreadline"
>
&5
echo
"configure:72
46
: checking for rl_pre_input_hook in -lreadline"
>
&5
ac_lib_var
=
`
echo
readline
'_'
rl_pre_input_hook |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
readline
'_'
rl_pre_input_hook |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -7256,7 +7250,7 @@ else
...
@@ -7256,7 +7250,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline -ltermcap
$LIBS
"
LIBS
=
"-lreadline -ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 72
60
"configure"
#line 72
54
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -7267,7 +7261,7 @@ int main() {
...
@@ -7267,7 +7261,7 @@ int main() {
rl_pre_input_hook()
rl_pre_input_hook()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:72
71
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:72
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -7293,7 +7287,7 @@ fi
...
@@ -7293,7 +7287,7 @@ fi
# check for readline 4.2
# check for readline 4.2
echo
$ac_n
"checking for rl_completion_matches in -lreadline""...
$ac_c
"
1>&6
echo
$ac_n
"checking for rl_completion_matches in -lreadline""...
$ac_c
"
1>&6
echo
"configure:729
7
: checking for rl_completion_matches in -lreadline"
>
&5
echo
"configure:729
1
: checking for rl_completion_matches in -lreadline"
>
&5
ac_lib_var
=
`
echo
readline
'_'
rl_completion_matches |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
readline
'_'
rl_completion_matches |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -7301,7 +7295,7 @@ else
...
@@ -7301,7 +7295,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline -ltermcap
$LIBS
"
LIBS
=
"-lreadline -ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
305
"configure"
#line 7
299
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -7312,7 +7306,7 @@ int main() {
...
@@ -7312,7 +7306,7 @@ int main() {
rl_completion_matches()
rl_completion_matches()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:731
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:731
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -7337,7 +7331,7 @@ fi
...
@@ -7337,7 +7331,7 @@ fi
echo
$ac_n
"checking for broken nice()""...
$ac_c
"
1>&6
echo
$ac_n
"checking for broken nice()""...
$ac_c
"
1>&6
echo
"configure:73
41
: checking for broken nice()"
>
&5
echo
"configure:73
35
: checking for broken nice()"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_broken_nice
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_broken_nice
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7346,7 +7340,7 @@ if test "$cross_compiling" = yes; then
...
@@ -7346,7 +7340,7 @@ if test "$cross_compiling" = yes; then
ac_cv_broken_nice
=
no
ac_cv_broken_nice
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 73
50
"configure"
#line 73
44
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main()
int main()
...
@@ -7358,7 +7352,7 @@ int main()
...
@@ -7358,7 +7352,7 @@ int main()
}
}
EOF
EOF
if
{
(
eval echo
configure:73
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:73
56
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_broken_nice
=
yes
ac_cv_broken_nice
=
yes
else
else
...
@@ -7383,12 +7377,12 @@ fi
...
@@ -7383,12 +7377,12 @@ fi
# On HP/UX 11.0, mvwdelch is a block with a return statement
# 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
$ac_n
"checking whether mvwdelch is an expression""...
$ac_c
"
1>&6
echo
"configure:738
7
: checking whether mvwdelch is an expression"
>
&5
echo
"configure:738
1
: checking whether mvwdelch is an expression"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_mvwdelch_is_expression
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_mvwdelch_is_expression
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 73
92
"configure"
#line 73
86
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <curses.h>
#include <curses.h>
int main() {
int main() {
...
@@ -7398,7 +7392,7 @@ int main() {
...
@@ -7398,7 +7392,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:7
402
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:7
396
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_mvwdelch_is_expression
=
yes
ac_cv_mvwdelch_is_expression
=
yes
else
else
...
@@ -7421,12 +7415,12 @@ EOF
...
@@ -7421,12 +7415,12 @@ EOF
fi
fi
echo
$ac_n
"checking whether WINDOW has _flags""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether WINDOW has _flags""...
$ac_c
"
1>&6
echo
"configure:74
25
: checking whether WINDOW has _flags"
>
&5
echo
"configure:74
19
: checking whether WINDOW has _flags"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_window_has_flags
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_window_has_flags
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 74
30
"configure"
#line 74
24
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <curses.h>
#include <curses.h>
int main() {
int main() {
...
@@ -7436,7 +7430,7 @@ int main() {
...
@@ -7436,7 +7430,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:74
40
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:74
34
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_window_has_flags
=
yes
ac_cv_window_has_flags
=
yes
else
else
...
@@ -7467,12 +7461,12 @@ cat >> confdefs.h <<\EOF
...
@@ -7467,12 +7461,12 @@ cat >> confdefs.h <<\EOF
#endif
#endif
EOF
EOF
echo
$ac_n
"checking for socklen_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for socklen_t""...
$ac_c
"
1>&6
echo
"configure:74
71
: checking for socklen_t"
>
&5
echo
"configure:74
65
: checking for socklen_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_socklen_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_socklen_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 747
6
"configure"
#line 747
0
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -7521,7 +7515,7 @@ done
...
@@ -7521,7 +7515,7 @@ done
SRCDIRS
=
"Parser Grammar Objects Python Modules"
SRCDIRS
=
"Parser Grammar Objects Python Modules"
echo
$ac_n
"checking for build directories""...
$ac_c
"
1>&6
echo
$ac_n
"checking for build directories""...
$ac_c
"
1>&6
echo
"configure:75
25
: checking for build directories"
>
&5
echo
"configure:75
19
: checking for build directories"
>
&5
for
dir
in
$SRCDIRS
;
do
for
dir
in
$SRCDIRS
;
do
if
test
!
-d
$dir
;
then
if
test
!
-d
$dir
;
then
mkdir
$dir
mkdir
$dir
...
...
This diff is collapsed.
Click to expand it.
configure.in
View file @
44ddbde3
...
@@ -1189,8 +1189,7 @@ if test "$ipv6" = "yes"; then
...
@@ -1189,8 +1189,7 @@ if test "$ipv6" = "yes"; then
#ifdef IPV6_INRIA_VERSION
#ifdef IPV6_INRIA_VERSION
yes
yes
#endif],
#endif],
[ipv6type=$i;
[ipv6type=$i])
OPT="-DINET6 $OPT"])
;;
;;
kame)
kame)
dnl http://www.kame.net/
dnl http://www.kame.net/
...
@@ -1202,8 +1201,7 @@ yes
...
@@ -1202,8 +1201,7 @@ yes
[ipv6type=$i;
[ipv6type=$i;
ipv6lib=inet6
ipv6lib=inet6
ipv6libdir=/usr/local/v6/lib
ipv6libdir=/usr/local/v6/lib
ipv6trylibc=yes
ipv6trylibc=yes])
OPT="-DINET6 $OPT"])
;;
;;
linux-glibc)
linux-glibc)
dnl http://www.v6.linux.or.jp/
dnl http://www.v6.linux.or.jp/
...
@@ -1213,8 +1211,7 @@ yes
...
@@ -1213,8 +1211,7 @@ yes
yes
yes
#endif],
#endif],
[ipv6type=$i;
[ipv6type=$i;
ipv6trylibc=yes
ipv6trylibc=yes])
OPT="-DINET6 $OPT"])
;;
;;
linux-inet6)
linux-inet6)
dnl http://www.v6.linux.or.jp/
dnl http://www.v6.linux.or.jp/
...
@@ -1222,7 +1219,7 @@ yes
...
@@ -1222,7 +1219,7 @@ yes
ipv6type=$i
ipv6type=$i
ipv6lib=inet6
ipv6lib=inet6
ipv6libdir=/usr/inet6/lib
ipv6libdir=/usr/inet6/lib
OPT="-
DINET6 -
I/usr/inet6/include $OPT"
OPT="-I/usr/inet6/include $OPT"
fi
fi
;;
;;
solaris)
solaris)
...
@@ -1230,7 +1227,6 @@ yes
...
@@ -1230,7 +1227,6 @@ yes
if /usr/xpg4/bin/grep -q tcp6 /etc/netconfig; then
if /usr/xpg4/bin/grep -q tcp6 /etc/netconfig; then
ipv6type=$i
ipv6type=$i
ipv6trylibc=yes
ipv6trylibc=yes
OPT="-DINET6 $OPT"
fi
fi
fi
fi
;;
;;
...
@@ -1242,8 +1238,7 @@ yes
...
@@ -1242,8 +1238,7 @@ yes
#endif],
#endif],
[ipv6type=$i;
[ipv6type=$i;
ipv6lib=inet6;
ipv6lib=inet6;
ipv6libdir=/usr/local/v6/lib;
ipv6libdir=/usr/local/v6/lib])
OPT="-DINET6 $OPT"])
;;
;;
v6d)
v6d)
AC_EGREP_CPP(yes, [
AC_EGREP_CPP(yes, [
...
@@ -1264,8 +1259,7 @@ yes
...
@@ -1264,8 +1259,7 @@ yes
#endif],
#endif],
[ipv6type=$i;
[ipv6type=$i;
ipv6lib=inet6;
ipv6lib=inet6;
ipv6libdir=/usr/local/v6/lib;
ipv6libdir=/usr/local/v6/lib])
OPT="-DINET6 $OPT"])
;;
;;
esac
esac
if test "$ipv6type" != "unknown"; then
if test "$ipv6type" != "unknown"; then
...
...
This diff is collapsed.
Click to expand it.
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