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
41933dd1
Commit
41933dd1
authored
Mar 21, 2002
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #532729: check for sem_init in -lrt.
parent
e22d3dfc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
313 additions
and
264 deletions
+313
-264
configure
configure
+309
-262
configure.in
configure.in
+1
-0
pyconfig.h.in
pyconfig.h.in
+3
-2
No files found.
configure
View file @
41933dd1
#! /bin/sh
#! /bin/sh
# From configure.in Revision: 1.29
7
# From configure.in Revision: 1.29
8
# 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
...
@@ -3397,20 +3397,67 @@ else
...
@@ -3397,20 +3397,67 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
fi
fi
# Dynamic linking for HP-UX
# Dynamic linking for HP-UX
echo
$ac_n
"checking for sem_init in -lrt""...
$ac_c
"
1>&6
echo
"configure:3402: checking for sem_init in -lrt"
>
&5
ac_lib_var
=
`
echo
rt
'_'
sem_init |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lrt
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3410 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char sem_init();
int main() {
sem_init()
; return 0; }
EOF
if
{
(
eval echo
configure:3421:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_lib
=
HAVE_LIB
`
echo
rt |
sed
-e
's/[^a-zA-Z0-9_]/_/g'
\
-e
'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_lib
1
EOF
LIBS
=
"-lrt
$LIBS
"
else
echo
"
$ac_t
""no"
1>&6
fi
# 'Real Time' functions on Solaris
# checks for system dependent C++ extensions support
# checks for system dependent C++ extensions support
case
"
$ac_sys_system
"
in
case
"
$ac_sys_system
"
in
AIX
*
)
echo
$ac_n
"checking for genuine AIX C++ extensions support""...
$ac_c
"
1>&6
AIX
*
)
echo
$ac_n
"checking for genuine AIX C++ extensions support""...
$ac_c
"
1>&6
echo
"configure:34
05
: checking for genuine AIX C++ extensions support"
>
&5
echo
"configure:34
52
: checking for genuine AIX C++ extensions support"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
07
"configure"
#line 34
54
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include "/usr/lpp/xlC/include/load.h"
#include "/usr/lpp/xlC/include/load.h"
int main() {
int main() {
loadAndInit("", 0, "")
loadAndInit("", 0, "")
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:34
14
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define AIX_GENUINE_CPLUSPLUS 1
#define AIX_GENUINE_CPLUSPLUS 1
...
@@ -3434,7 +3481,7 @@ case "$ac_sys_system" in
...
@@ -3434,7 +3481,7 @@ case "$ac_sys_system" in
IRIX
*
)
;;
IRIX
*
)
;;
*
)
*
)
echo
$ac_n
"checking for t_open in -lnsl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for t_open in -lnsl""...
$ac_c
"
1>&6
echo
"configure:34
38
: checking for t_open in -lnsl"
>
&5
echo
"configure:34
85
: checking for t_open in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
t_open |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
nsl
'_'
t_open |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3442,7 +3489,7 @@ else
...
@@ -3442,7 +3489,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
46
"configure"
#line 34
93
"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
...
@@ -3453,7 +3500,7 @@ int main() {
...
@@ -3453,7 +3500,7 @@ int main() {
t_open()
t_open()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
457
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
504
:
\"
$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
...
@@ -3474,7 +3521,7 @@ else
...
@@ -3474,7 +3521,7 @@ else
fi
fi
# SVR4
# SVR4
echo
$ac_n
"checking for socket in -lsocket""...
$ac_c
"
1>&6
echo
$ac_n
"checking for socket in -lsocket""...
$ac_c
"
1>&6
echo
"configure:3
478
: checking for socket in -lsocket"
>
&5
echo
"configure:3
525
: checking for socket in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
socket |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
socket
'_'
socket |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3482,7 +3529,7 @@ else
...
@@ -3482,7 +3529,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
486
"configure"
#line 3
533
"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
...
@@ -3493,7 +3540,7 @@ int main() {
...
@@ -3493,7 +3540,7 @@ int main() {
socket()
socket()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
497
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
544
:
\"
$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
...
@@ -3518,7 +3565,7 @@ esac
...
@@ -3518,7 +3565,7 @@ esac
case
"
$ac_sys_system
"
in
case
"
$ac_sys_system
"
in
BeOS
*
)
BeOS
*
)
echo
$ac_n
"checking for socket in -lnet""...
$ac_c
"
1>&6
echo
$ac_n
"checking for socket in -lnet""...
$ac_c
"
1>&6
echo
"configure:35
22
: checking for socket in -lnet"
>
&5
echo
"configure:35
69
: checking for socket in -lnet"
>
&5
ac_lib_var
=
`
echo
net
'_'
socket |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
net
'_'
socket |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3526,7 +3573,7 @@ else
...
@@ -3526,7 +3573,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnet
$LIBS
$LIBS
"
LIBS
=
"-lnet
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
30
"configure"
#line 35
77
"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
...
@@ -3537,7 +3584,7 @@ int main() {
...
@@ -3537,7 +3584,7 @@ int main() {
socket()
socket()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:35
41
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
88
:
\"
$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
...
@@ -3561,7 +3608,7 @@ fi
...
@@ -3561,7 +3608,7 @@ fi
esac
esac
echo
$ac_n
"checking for --with-libs""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-libs""...
$ac_c
"
1>&6
echo
"configure:3
565
: checking for --with-libs"
>
&5
echo
"configure:3
612
: checking for --with-libs"
>
&5
# Check whether --with-libs or --without-libs was given.
# Check whether --with-libs or --without-libs was given.
if
test
"
${
with_libs
+set
}
"
=
set
;
then
if
test
"
${
with_libs
+set
}
"
=
set
;
then
withval
=
"
$with_libs
"
withval
=
"
$with_libs
"
...
@@ -3578,7 +3625,7 @@ fi
...
@@ -3578,7 +3625,7 @@ fi
echo
$ac_n
"checking for --with-signal-module""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-signal-module""...
$ac_c
"
1>&6
echo
"configure:3
582
: checking for --with-signal-module"
>
&5
echo
"configure:3
629
: checking for --with-signal-module"
>
&5
# Check whether --with-signal-module or --without-signal-module was given.
# Check whether --with-signal-module or --without-signal-module was given.
if
test
"
${
with_signal_module
+set
}
"
=
set
;
then
if
test
"
${
with_signal_module
+set
}
"
=
set
;
then
withval
=
"
$with_signal_module
"
withval
=
"
$with_signal_module
"
...
@@ -3604,7 +3651,7 @@ fi
...
@@ -3604,7 +3651,7 @@ fi
USE_THREAD_MODULE
=
""
USE_THREAD_MODULE
=
""
echo
$ac_n
"checking for --with-dec-threads""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-dec-threads""...
$ac_c
"
1>&6
echo
"configure:36
08
: checking for --with-dec-threads"
>
&5
echo
"configure:36
55
: checking for --with-dec-threads"
>
&5
# Check whether --with-dec-threads or --without-dec-threads was given.
# Check whether --with-dec-threads or --without-dec-threads was given.
if
test
"
${
with_dec_threads
+set
}
"
=
set
;
then
if
test
"
${
with_dec_threads
+set
}
"
=
set
;
then
...
@@ -3621,7 +3668,7 @@ fi
...
@@ -3621,7 +3668,7 @@ fi
echo
$ac_n
"checking for --with-threads""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-threads""...
$ac_c
"
1>&6
echo
"configure:36
25
: checking for --with-threads"
>
&5
echo
"configure:36
72
: checking for --with-threads"
>
&5
# Check whether --with-threads or --without-threads was given.
# Check whether --with-threads or --without-threads was given.
if
test
"
${
with_threads
+set
}
"
=
set
;
then
if
test
"
${
with_threads
+set
}
"
=
set
;
then
withval
=
"
$with_threads
"
withval
=
"
$with_threads
"
...
@@ -3679,9 +3726,9 @@ else
...
@@ -3679,9 +3726,9 @@ else
# According to the POSIX spec, a pthreads implementation must
# According to the POSIX spec, a pthreads implementation must
# define _POSIX_THREADS in unistd.h. Some apparently don't (which ones?)
# define _POSIX_THREADS in unistd.h. Some apparently don't (which ones?)
echo
$ac_n
"checking for _POSIX_THREADS in unistd.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for _POSIX_THREADS in unistd.h""...
$ac_c
"
1>&6
echo
"configure:3
683
: checking for _POSIX_THREADS in unistd.h"
>
&5
echo
"configure:3
730
: checking for _POSIX_THREADS in unistd.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
685
"configure"
#line 3
732
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
#ifdef _POSIX_THREADS
#ifdef _POSIX_THREADS
...
@@ -3707,17 +3754,17 @@ EOF
...
@@ -3707,17 +3754,17 @@ EOF
ac_safe
=
`
echo
"cthreads.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"cthreads.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for cthreads.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for cthreads.h""...
$ac_c
"
1>&6
echo
"configure:37
11
: checking for cthreads.h"
>
&5
echo
"configure:37
58
: checking for cthreads.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
16
"configure"
#line 37
63
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <cthreads.h>
#include <cthreads.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:37
21
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:37
68
:
\"
$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
*
...
@@ -3752,17 +3799,17 @@ else
...
@@ -3752,17 +3799,17 @@ else
ac_safe
=
`
echo
"mach/cthreads.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"mach/cthreads.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for mach/cthreads.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for mach/cthreads.h""...
$ac_c
"
1>&6
echo
"configure:3
756
: checking for mach/cthreads.h"
>
&5
echo
"configure:3
803
: checking for mach/cthreads.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
761
"configure"
#line 3
808
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <mach/cthreads.h>
#include <mach/cthreads.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
766
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
813
:
\"
$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
*
...
@@ -3795,7 +3842,7 @@ else
...
@@ -3795,7 +3842,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for --with-pth""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-pth""...
$ac_c
"
1>&6
echo
"configure:3
799
: checking for --with-pth"
>
&5
echo
"configure:3
846
: checking for --with-pth"
>
&5
# Check whether --with-pth or --without-pth was given.
# Check whether --with-pth or --without-pth was given.
if
test
"
${
with_pth
+set
}
"
=
set
;
then
if
test
"
${
with_pth
+set
}
"
=
set
;
then
withval
=
"
$with_pth
"
withval
=
"
$with_pth
"
...
@@ -3821,9 +3868,9 @@ else
...
@@ -3821,9 +3868,9 @@ else
_libs
=
$LIBS
_libs
=
$LIBS
LIBS
=
"
$LIBS
-lpthread"
LIBS
=
"
$LIBS
-lpthread"
echo
$ac_n
"checking for pthread_create in -lpthread""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthread""...
$ac_c
"
1>&6
echo
"configure:38
25
: checking for pthread_create in -lpthread"
>
&5
echo
"configure:38
72
: checking for pthread_create in -lpthread"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
27
"configure"
#line 38
74
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <pthread.h>
#include <pthread.h>
...
@@ -3833,7 +3880,7 @@ int main() {
...
@@ -3833,7 +3880,7 @@ int main() {
pthread_create (NULL, NULL, start_routine, NULL)
pthread_create (NULL, NULL, start_routine, NULL)
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:38
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
84
:
\"
$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
...
@@ -3850,12 +3897,12 @@ else
...
@@ -3850,12 +3897,12 @@ else
LIBS
=
$_libs
LIBS
=
$_libs
echo
$ac_n
"checking for pthread_detach""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pthread_detach""...
$ac_c
"
1>&6
echo
"configure:3
854
: checking for pthread_detach"
>
&5
echo
"configure:3
901
: checking for pthread_detach"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_pthread_detach
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_pthread_detach
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
859
"configure"
#line 3
906
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_detach(); below. */
which can conflict with char pthread_detach(); below. */
...
@@ -3878,7 +3925,7 @@ pthread_detach();
...
@@ -3878,7 +3925,7 @@ pthread_detach();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
882
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
929
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_pthread_detach=yes"
eval
"ac_cv_func_pthread_detach=yes"
else
else
...
@@ -3903,17 +3950,17 @@ else
...
@@ -3903,17 +3950,17 @@ else
ac_safe
=
`
echo
"kernel/OS.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"kernel/OS.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for kernel/OS.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for kernel/OS.h""...
$ac_c
"
1>&6
echo
"configure:39
07
: checking for kernel/OS.h"
>
&5
echo
"configure:39
54
: checking for kernel/OS.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
12
"configure"
#line 39
59
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <kernel/OS.h>
#include <kernel/OS.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:39
17
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:39
64
:
\"
$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
*
...
@@ -3942,7 +3989,7 @@ else
...
@@ -3942,7 +3989,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthreads""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthreads""...
$ac_c
"
1>&6
echo
"configure:39
46
: checking for pthread_create in -lpthreads"
>
&5
echo
"configure:39
93
: checking for pthread_create in -lpthreads"
>
&5
ac_lib_var
=
`
echo
pthreads
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
pthreads
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3950,7 +3997,7 @@ else
...
@@ -3950,7 +3997,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
3954
"configure"
#line
4001
"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
...
@@ -3961,7 +4008,7 @@ int main() {
...
@@ -3961,7 +4008,7 @@ int main() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:
3965
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
4012
:
\"
$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
...
@@ -3987,7 +4034,7 @@ else
...
@@ -3987,7 +4034,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lc_r""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pthread_create in -lc_r""...
$ac_c
"
1>&6
echo
"configure:
3991
: checking for pthread_create in -lc_r"
>
&5
echo
"configure:
4038
: checking for pthread_create in -lc_r"
>
&5
ac_lib_var
=
`
echo
c_r
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
c_r
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3995,7 +4042,7 @@ else
...
@@ -3995,7 +4042,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lc_r
$LIBS
"
LIBS
=
"-lc_r
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
3999
"configure"
#line
4046
"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
...
@@ -4006,7 +4053,7 @@ int main() {
...
@@ -4006,7 +4053,7 @@ int main() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:40
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
57
:
\"
$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
...
@@ -4032,7 +4079,7 @@ else
...
@@ -4032,7 +4079,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __d6_pthread_create in -lthread""...
$ac_c
"
1>&6
echo
$ac_n
"checking for __d6_pthread_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:40
36
: checking for __d6_pthread_create in -lthread"
>
&5
echo
"configure:40
83
: checking for __d6_pthread_create in -lthread"
>
&5
ac_lib_var
=
`
echo
thread
'_'
__d6_pthread_create |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
thread
'_'
__d6_pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4040,7 +4087,7 @@ else
...
@@ -4040,7 +4087,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
44
"configure"
#line 40
91
"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
...
@@ -4051,7 +4098,7 @@ int main() {
...
@@ -4051,7 +4098,7 @@ int main() {
__d6_pthread_create()
__d6_pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
055
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
102
:
\"
$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
...
@@ -4077,7 +4124,7 @@ else
...
@@ -4077,7 +4124,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __pthread_create_system in -lpthread""...
$ac_c
"
1>&6
echo
$ac_n
"checking for __pthread_create_system in -lpthread""...
$ac_c
"
1>&6
echo
"configure:4
081
: checking for __pthread_create_system in -lpthread"
>
&5
echo
"configure:4
128
: checking for __pthread_create_system in -lpthread"
>
&5
ac_lib_var
=
`
echo
pthread
'_'
__pthread_create_system |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
pthread
'_'
__pthread_create_system |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4085,7 +4132,7 @@ else
...
@@ -4085,7 +4132,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
089
"configure"
#line 4
136
"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
...
@@ -4096,7 +4143,7 @@ int main() {
...
@@ -4096,7 +4143,7 @@ int main() {
__pthread_create_system()
__pthread_create_system()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:41
00
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:41
47
:
\"
$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
...
@@ -4122,7 +4169,7 @@ else
...
@@ -4122,7 +4169,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lcma""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pthread_create in -lcma""...
$ac_c
"
1>&6
echo
"configure:41
26
: checking for pthread_create in -lcma"
>
&5
echo
"configure:41
73
: checking for pthread_create in -lcma"
>
&5
ac_lib_var
=
`
echo
cma
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
cma
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4130,7 +4177,7 @@ else
...
@@ -4130,7 +4177,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcma
$LIBS
"
LIBS
=
"-lcma
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
34
"configure"
#line 41
81
"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
...
@@ -4141,7 +4188,7 @@ int main() {
...
@@ -4141,7 +4188,7 @@ int main() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:41
45
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:41
92
:
\"
$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
...
@@ -4200,7 +4247,7 @@ EOF
...
@@ -4200,7 +4247,7 @@ EOF
fi
fi
echo
$ac_n
"checking if PTHREAD_SCOPE_SYSTEM is supported""...
$ac_c
"
1>&6
echo
$ac_n
"checking if PTHREAD_SCOPE_SYSTEM is supported""...
$ac_c
"
1>&6
echo
"configure:42
04
: checking if PTHREAD_SCOPE_SYSTEM is supported"
>
&5
echo
"configure:42
51
: checking if PTHREAD_SCOPE_SYSTEM is supported"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_pthread_system_supported
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_pthread_system_supported
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -4208,7 +4255,7 @@ else
...
@@ -4208,7 +4255,7 @@ else
ac_cv_pthread_system_supported
=
no
ac_cv_pthread_system_supported
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
12
"configure"
#line 42
59
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <pthread.h>
#include <pthread.h>
void *foo(void *parm) {
void *foo(void *parm) {
...
@@ -4223,7 +4270,7 @@ else
...
@@ -4223,7 +4270,7 @@ else
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:42
27
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:42
74
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_pthread_system_supported
=
yes
ac_cv_pthread_system_supported
=
yes
else
else
...
@@ -4248,12 +4295,12 @@ EOF
...
@@ -4248,12 +4295,12 @@ EOF
for
ac_func
in
pthread_sigmask
for
ac_func
in
pthread_sigmask
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:42
52
: checking for
$ac_func
"
>
&5
echo
"configure:42
99
: 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 4
257
"configure"
#line 4
304
"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. */
...
@@ -4276,7 +4323,7 @@ $ac_func();
...
@@ -4276,7 +4323,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
280
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
327
:
\"
$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
...
@@ -4303,7 +4350,7 @@ done
...
@@ -4303,7 +4350,7 @@ done
fi
fi
echo
$ac_n
"checking for usconfig in -lmpc""...
$ac_c
"
1>&6
echo
$ac_n
"checking for usconfig in -lmpc""...
$ac_c
"
1>&6
echo
"configure:43
07
: checking for usconfig in -lmpc"
>
&5
echo
"configure:43
54
: checking for usconfig in -lmpc"
>
&5
ac_lib_var
=
`
echo
mpc
'_'
usconfig |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
mpc
'_'
usconfig |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4311,7 +4358,7 @@ else
...
@@ -4311,7 +4358,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
15
"configure"
#line 43
62
"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
...
@@ -4322,7 +4369,7 @@ int main() {
...
@@ -4322,7 +4369,7 @@ int main() {
usconfig()
usconfig()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:43
26
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:43
73
:
\"
$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
...
@@ -4351,7 +4398,7 @@ fi
...
@@ -4351,7 +4398,7 @@ fi
if
test
$posix_threads
!=
"yes"
;
then
if
test
$posix_threads
!=
"yes"
;
then
echo
$ac_n
"checking for thr_create in -lthread""...
$ac_c
"
1>&6
echo
$ac_n
"checking for thr_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:4
355
: checking for thr_create in -lthread"
>
&5
echo
"configure:4
402
: checking for thr_create in -lthread"
>
&5
ac_lib_var
=
`
echo
thread
'_'
thr_create |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
thread
'_'
thr_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4359,7 +4406,7 @@ else
...
@@ -4359,7 +4406,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
363
"configure"
#line 4
410
"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
...
@@ -4370,7 +4417,7 @@ int main() {
...
@@ -4370,7 +4417,7 @@ int main() {
thr_create()
thr_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
374
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
421
:
\"
$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
...
@@ -4410,7 +4457,7 @@ fi
...
@@ -4410,7 +4457,7 @@ fi
# Check for enable-ipv6
# Check for enable-ipv6
echo
$ac_n
"checking if --enable-ipv6 is specified""...
$ac_c
"
1>&6
echo
$ac_n
"checking if --enable-ipv6 is specified""...
$ac_c
"
1>&6
echo
"configure:44
14
: checking if --enable-ipv6 is specified"
>
&5
echo
"configure:44
61
: checking if --enable-ipv6 is specified"
>
&5
# Check whether --enable-ipv6 or --disable-ipv6 was given.
# Check whether --enable-ipv6 or --disable-ipv6 was given.
if
test
"
${
enable_ipv6
+set
}
"
=
set
;
then
if
test
"
${
enable_ipv6
+set
}
"
=
set
;
then
enableval
=
"
$enable_ipv6
"
enableval
=
"
$enable_ipv6
"
...
@@ -4435,7 +4482,7 @@ else
...
@@ -4435,7 +4482,7 @@ else
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
39
"configure"
#line 44
86
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* AF_INET6 available check */
/* AF_INET6 available check */
#include <sys/types.h>
#include <sys/types.h>
...
@@ -4449,7 +4496,7 @@ main()
...
@@ -4449,7 +4496,7 @@ main()
}
}
EOF
EOF
if
{
(
eval echo
configure:4
453
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:4
500
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
ipv6
=
yes
ipv6
=
yes
...
@@ -4466,9 +4513,9 @@ fi
...
@@ -4466,9 +4513,9 @@ fi
if
test
"
$ipv6
"
=
"yes"
;
then
if
test
"
$ipv6
"
=
"yes"
;
then
echo
$ac_n
"checking if RFC2553 API is available""...
$ac_c
"
1>&6
echo
$ac_n
"checking if RFC2553 API is available""...
$ac_c
"
1>&6
echo
"configure:4
470
: checking if RFC2553 API is available"
>
&5
echo
"configure:4
517
: checking if RFC2553 API is available"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
472
"configure"
#line 4
519
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/in.h>
...
@@ -4477,7 +4524,7 @@ struct sockaddr_in6 x;
...
@@ -4477,7 +4524,7 @@ struct sockaddr_in6 x;
x.sin6_scope_id;
x.sin6_scope_id;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
481
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
528
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
ipv6
=
yes
ipv6
=
yes
...
@@ -4507,13 +4554,13 @@ ipv6trylibc=no
...
@@ -4507,13 +4554,13 @@ ipv6trylibc=no
if
test
"
$ipv6
"
=
"yes"
;
then
if
test
"
$ipv6
"
=
"yes"
;
then
echo
$ac_n
"checking ipv6 stack type""...
$ac_c
"
1>&6
echo
$ac_n
"checking ipv6 stack type""...
$ac_c
"
1>&6
echo
"configure:45
11
: checking ipv6 stack type"
>
&5
echo
"configure:45
58
: checking ipv6 stack type"
>
&5
for
i
in
inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta
;
for
i
in
inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta
;
do
do
case
$i
in
case
$i
in
inria
)
inria
)
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
17
"configure"
#line 45
64
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <netinet/in.h>
#include <netinet/in.h>
...
@@ -4531,7 +4578,7 @@ rm -f conftest*
...
@@ -4531,7 +4578,7 @@ rm -f conftest*
;;
;;
kame
)
kame
)
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
35
"configure"
#line 45
82
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <netinet/in.h>
#include <netinet/in.h>
...
@@ -4552,7 +4599,7 @@ rm -f conftest*
...
@@ -4552,7 +4599,7 @@ rm -f conftest*
;;
;;
linux-glibc
)
linux-glibc
)
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
556
"configure"
#line 4
603
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <features.h>
#include <features.h>
...
@@ -4587,7 +4634,7 @@ rm -f conftest*
...
@@ -4587,7 +4634,7 @@ rm -f conftest*
;;
;;
toshiba
)
toshiba
)
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
591
"configure"
#line 4
638
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/param.h>
...
@@ -4607,7 +4654,7 @@ rm -f conftest*
...
@@ -4607,7 +4654,7 @@ rm -f conftest*
;;
;;
v6d
)
v6d
)
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
11
"configure"
#line 46
58
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include </usr/local/v6/include/sys/v6config.h>
#include </usr/local/v6/include/sys/v6config.h>
...
@@ -4628,7 +4675,7 @@ rm -f conftest*
...
@@ -4628,7 +4675,7 @@ rm -f conftest*
;;
;;
zeta
)
zeta
)
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
32
"configure"
#line 46
79
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/param.h>
...
@@ -4672,7 +4719,7 @@ fi
...
@@ -4672,7 +4719,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
676
: checking for --with-cycle-gc"
>
&5
echo
"configure:4
723
: 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
"
...
@@ -4694,7 +4741,7 @@ echo "$ac_t""$with_cycle_gc" 1>&6
...
@@ -4694,7 +4741,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:4
698
: checking for --with-pymalloc"
>
&5
echo
"configure:4
745
: 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
"
...
@@ -4713,7 +4760,7 @@ fi
...
@@ -4713,7 +4760,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:47
17
: checking for --with-wctype-functions"
>
&5
echo
"configure:47
64
: 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
"
...
@@ -4735,7 +4782,7 @@ fi
...
@@ -4735,7 +4782,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:47
39
: checking for --with-sgi-dl"
>
&5
echo
"configure:47
86
: 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
"
...
@@ -4759,7 +4806,7 @@ fi
...
@@ -4759,7 +4806,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:4
763
: checking for --with-dl-dld"
>
&5
echo
"configure:4
810
: 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
"
...
@@ -4788,12 +4835,12 @@ fi
...
@@ -4788,12 +4835,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:4
792
: checking for
$ac_func
"
>
&5
echo
"configure:4
839
: 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 4
797
"configure"
#line 4
844
"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. */
...
@@ -4816,7 +4863,7 @@ $ac_func();
...
@@ -4816,7 +4863,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:48
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:48
67
:
\"
$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
...
@@ -4845,7 +4892,7 @@ done
...
@@ -4845,7 +4892,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:48
49
: checking DYNLOADFILE"
>
&5
echo
"configure:48
96
: 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
...
@@ -4876,7 +4923,7 @@ fi
...
@@ -4876,7 +4923,7 @@ fi
echo
$ac_n
"checking MACHDEP_OBJS""...
$ac_c
"
1>&6
echo
$ac_n
"checking MACHDEP_OBJS""...
$ac_c
"
1>&6
echo
"configure:4
880
: checking MACHDEP_OBJS"
>
&5
echo
"configure:4
927
: 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
...
@@ -4899,12 +4946,12 @@ for ac_func in alarm chown chroot clock confstr ctermid ctermid_r execv \
...
@@ -4899,12 +4946,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:49
03
: checking for
$ac_func
"
>
&5
echo
"configure:49
50
: 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
08
"configure"
#line 49
55
"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. */
...
@@ -4927,7 +4974,7 @@ $ac_func();
...
@@ -4927,7 +4974,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:49
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:49
78
:
\"
$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
...
@@ -4957,12 +5004,12 @@ done
...
@@ -4957,12 +5004,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:
4961
: checking for
$ac_func
"
>
&5
echo
"configure:
5008
: 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
4966
"configure"
#line
5013
"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. */
...
@@ -4985,7 +5032,7 @@ $ac_func();
...
@@ -4985,7 +5032,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:
4989
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
5036
:
\"
$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
...
@@ -5007,7 +5054,7 @@ EOF
...
@@ -5007,7 +5054,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:50
11
: checking for openpty in -lutil"
>
&5
echo
"configure:50
58
: 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
...
@@ -5015,7 +5062,7 @@ else
...
@@ -5015,7 +5062,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
19
"configure"
#line 50
66
"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
...
@@ -5026,7 +5073,7 @@ int main() {
...
@@ -5026,7 +5073,7 @@ int main() {
openpty()
openpty()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:50
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:50
77
:
\"
$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
...
@@ -5055,12 +5102,12 @@ done
...
@@ -5055,12 +5102,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:5
059
: checking for
$ac_func
"
>
&5
echo
"configure:5
106
: 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
064
"configure"
#line 5
111
"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. */
...
@@ -5083,7 +5130,7 @@ $ac_func();
...
@@ -5083,7 +5130,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
087
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
134
:
\"
$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
...
@@ -5105,7 +5152,7 @@ EOF
...
@@ -5105,7 +5152,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:51
09
: checking for forkpty in -lutil"
>
&5
echo
"configure:51
56
: 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
...
@@ -5113,7 +5160,7 @@ else
...
@@ -5113,7 +5160,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 51
17
"configure"
#line 51
64
"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
...
@@ -5124,7 +5171,7 @@ int main() {
...
@@ -5124,7 +5171,7 @@ int main() {
forkpty()
forkpty()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:51
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
75
:
\"
$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
...
@@ -5155,12 +5202,12 @@ done
...
@@ -5155,12 +5202,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:5
159
: checking for
$ac_func
"
>
&5
echo
"configure:5
206
: 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
164
"configure"
#line 5
211
"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. */
...
@@ -5183,7 +5230,7 @@ $ac_func();
...
@@ -5183,7 +5230,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
187
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
234
:
\"
$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
...
@@ -5211,12 +5258,12 @@ done
...
@@ -5211,12 +5258,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:52
15
: checking for
$ac_func
"
>
&5
echo
"configure:52
62
: 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 52
20
"configure"
#line 52
67
"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. */
...
@@ -5239,7 +5286,7 @@ $ac_func();
...
@@ -5239,7 +5286,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:52
43
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:52
90
:
\"
$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
...
@@ -5268,12 +5315,12 @@ done
...
@@ -5268,12 +5315,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
272
: checking for
$ac_func
"
>
&5
echo
"configure:5
319
: 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
277
"configure"
#line 5
324
"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. */
...
@@ -5296,7 +5343,7 @@ $ac_func();
...
@@ -5296,7 +5343,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:53
00
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:53
47
:
\"
$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
...
@@ -5315,14 +5362,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
...
@@ -5315,14 +5362,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
19
"configure"
#line 53
66
"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:53
26
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:53
73
:
\"
$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
...
@@ -5341,12 +5388,12 @@ done
...
@@ -5341,12 +5388,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:53
45
: checking for
$ac_func
"
>
&5
echo
"configure:53
92
: 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
50
"configure"
#line 53
97
"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. */
...
@@ -5369,7 +5416,7 @@ $ac_func();
...
@@ -5369,7 +5416,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
373
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
420
:
\"
$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
...
@@ -5388,14 +5435,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
...
@@ -5388,14 +5435,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 5
392
"configure"
#line 5
439
"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:5
399
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
446
:
\"
$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
...
@@ -5414,12 +5461,12 @@ done
...
@@ -5414,12 +5461,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:54
18
: checking for
$ac_func
"
>
&5
echo
"configure:54
65
: 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 54
23
"configure"
#line 54
70
"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. */
...
@@ -5442,7 +5489,7 @@ $ac_func();
...
@@ -5442,7 +5489,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:54
46
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:54
93
:
\"
$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
...
@@ -5461,14 +5508,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
...
@@ -5461,14 +5508,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 5
465
"configure"
#line 5
512
"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
472
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
519
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -5490,9 +5537,9 @@ done
...
@@ -5490,9 +5537,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:5
494
: checking for getaddrinfo"
>
&5
echo
"configure:5
541
: checking for getaddrinfo"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
496
"configure"
#line 5
543
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5506,18 +5553,18 @@ getaddrinfo(NULL, NULL, NULL, NULL);
...
@@ -5506,18 +5553,18 @@ getaddrinfo(NULL, NULL, NULL, NULL);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:55
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:55
57
:
\"
$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:55
15
: checking getaddrinfo bug"
>
&5
echo
"configure:55
62
: 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 55
21
"configure"
#line 55
68
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5606,7 +5653,7 @@ main()
...
@@ -5606,7 +5653,7 @@ main()
}
}
EOF
EOF
if
{
(
eval echo
configure:56
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:56
57
:
\"
$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
...
@@ -5646,12 +5693,12 @@ fi
...
@@ -5646,12 +5693,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:56
50
: checking for
$ac_func
"
>
&5
echo
"configure:56
97
: 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
655
"configure"
#line 5
702
"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. */
...
@@ -5674,7 +5721,7 @@ $ac_func();
...
@@ -5674,7 +5721,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
678
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
725
:
\"
$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
...
@@ -5701,12 +5748,12 @@ done
...
@@ -5701,12 +5748,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:57
05
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:57
52
: 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 57
10
"configure"
#line 57
57
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -5715,7 +5762,7 @@ int main() {
...
@@ -5715,7 +5762,7 @@ int main() {
struct tm *tp;
struct tm *tp;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:57
19
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:57
66
:
\"
$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
...
@@ -5736,12 +5783,12 @@ EOF
...
@@ -5736,12 +5783,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:57
40
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:57
87
: 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 57
45
"configure"
#line 57
92
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -5749,7 +5796,7 @@ int main() {
...
@@ -5749,7 +5796,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:5
753
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
800
:
\"
$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
...
@@ -5770,12 +5817,12 @@ EOF
...
@@ -5770,12 +5817,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
774
: checking for tm_zone in struct tm"
>
&5
echo
"configure:5
821
: 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 5
779
"configure"
#line 5
826
"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
>
...
@@ -5783,7 +5830,7 @@ int main() {
...
@@ -5783,7 +5830,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:5
787
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
834
:
\"
$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
...
@@ -5803,12 +5850,12 @@ EOF
...
@@ -5803,12 +5850,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:58
07
: checking for tzname"
>
&5
echo
"configure:58
54
: 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 58
12
"configure"
#line 58
59
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
#ifndef tzname /* For SGI. */
#ifndef tzname /* For SGI. */
...
@@ -5818,7 +5865,7 @@ int main() {
...
@@ -5818,7 +5865,7 @@ int main() {
atoi(*tzname);
atoi(*tzname);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:58
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:58
69
:
\"
$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
...
@@ -5840,12 +5887,12 @@ EOF
...
@@ -5840,12 +5887,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:58
44
: checking for st_rdev in struct stat"
>
&5
echo
"configure:58
91
: 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 58
49
"configure"
#line 58
96
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -5853,7 +5900,7 @@ int main() {
...
@@ -5853,7 +5900,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:5
857
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
904
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_st_rdev
=
yes
ac_cv_struct_st_rdev
=
yes
else
else
...
@@ -5874,12 +5921,12 @@ EOF
...
@@ -5874,12 +5921,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:5
878
: checking for st_blksize in struct stat"
>
&5
echo
"configure:5
925
: 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 5
883
"configure"
#line 5
930
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -5887,7 +5934,7 @@ int main() {
...
@@ -5887,7 +5934,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:5
891
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
938
:
\"
$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
...
@@ -5908,12 +5955,12 @@ EOF
...
@@ -5908,12 +5955,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:59
12
: checking for st_blocks in struct stat"
>
&5
echo
"configure:59
59
: 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 59
17
"configure"
#line 59
64
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -5921,7 +5968,7 @@ int main() {
...
@@ -5921,7 +5968,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:59
25
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
72
:
\"
$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
...
@@ -5945,19 +5992,19 @@ fi
...
@@ -5945,19 +5992,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:59
49
: checking for time.h that defines altzone"
>
&5
echo
"configure:59
96
: 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
5954
"configure"
#line
6001
"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:
5961
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
6008
:
\"
$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
...
@@ -5979,9 +6026,9 @@ fi
...
@@ -5979,9 +6026,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:
5983
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
echo
"configure:
6030
: 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
5985
"configure"
#line
6032
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5992,7 +6039,7 @@ int main() {
...
@@ -5992,7 +6039,7 @@ int main() {
;
;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:
5996
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
6043
:
\"
$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
...
@@ -6006,12 +6053,12 @@ rm -f conftest*
...
@@ -6006,12 +6053,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:60
10
: checking for addrinfo"
>
&5
echo
"configure:60
57
: 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 60
15
"configure"
#line 60
62
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -6019,7 +6066,7 @@ int main() {
...
@@ -6019,7 +6066,7 @@ int main() {
struct addrinfo a
struct addrinfo a
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:60
23
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:60
70
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_struct_addrinfo
=
yes
ac_cv_struct_addrinfo
=
yes
else
else
...
@@ -6040,12 +6087,12 @@ EOF
...
@@ -6040,12 +6087,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:60
44
: checking for sockaddr_storage"
>
&5
echo
"configure:60
91
: 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 60
49
"configure"
#line 60
96
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <sys/types.h>
# include <sys/types.h>
...
@@ -6054,7 +6101,7 @@ int main() {
...
@@ -6054,7 +6101,7 @@ int main() {
struct sockaddr_storage s
struct sockaddr_storage s
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
058
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
105
:
\"
$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
...
@@ -6077,14 +6124,14 @@ fi
...
@@ -6077,14 +6124,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:6
081
: checking whether char is unsigned"
>
&5
echo
"configure:6
128
: 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 6
088
"configure"
#line 6
135
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
#ifdef __CHAR_UNSIGNED__
yes
yes
...
@@ -6106,7 +6153,7 @@ if test "$cross_compiling" = yes; then
...
@@ -6106,7 +6153,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 61
10
"configure"
#line 61
57
"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
...
@@ -6116,7 +6163,7 @@ main() {
...
@@ -6116,7 +6163,7 @@ main() {
volatile char c = 255; exit(c < 0);
volatile char c = 255; exit(c < 0);
}
}
EOF
EOF
if
{
(
eval echo
configure:61
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:61
67
:
\"
$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
...
@@ -6140,12 +6187,12 @@ EOF
...
@@ -6140,12 +6187,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:61
44
: checking for working const"
>
&5
echo
"configure:61
91
: 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 61
49
"configure"
#line 61
96
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -6194,7 +6241,7 @@ ccp = (char const *const *) p;
...
@@ -6194,7 +6241,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
198
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
245
:
\"
$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
...
@@ -6217,16 +6264,16 @@ fi
...
@@ -6217,16 +6264,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:62
21
: checking for working volatile"
>
&5
echo
"configure:62
68
: checking for working volatile"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
23
"configure"
#line 62
70
"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:62
30
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:62
77
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -6243,16 +6290,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -6243,16 +6290,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:62
47
: checking for working signed char"
>
&5
echo
"configure:62
94
: checking for working signed char"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
49
"configure"
#line 62
96
"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:6
256
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
303
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -6269,16 +6316,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -6269,16 +6316,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
273
: checking for prototypes"
>
&5
echo
"configure:6
320
: checking for prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
275
"configure"
#line 6
322
"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:6
282
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
329
:
\"
$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
...
@@ -6293,9 +6340,9 @@ echo "$ac_t""$have_prototypes" 1>&6
...
@@ -6293,9 +6340,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:6
297
: checking for variable length prototypes and stdarg.h"
>
&5
echo
"configure:6
344
: checking for variable length prototypes and stdarg.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
299
"configure"
#line 6
346
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdarg.h>
#include <stdarg.h>
...
@@ -6312,7 +6359,7 @@ int main() {
...
@@ -6312,7 +6359,7 @@ int main() {
return foo(10, "", 3.14);
return foo(10, "", 3.14);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:63
16
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:63
63
:
\"
$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
...
@@ -6328,16 +6375,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -6328,16 +6375,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:63
32
: checking for bad exec* prototypes"
>
&5
echo
"configure:63
79
: checking for bad exec* prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
34
"configure"
#line 63
81
"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:63
41
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:63
88
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -6354,9 +6401,9 @@ fi
...
@@ -6354,9 +6401,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:6
358
: checking if sockaddr has sa_len member"
>
&5
echo
"configure:6
405
: checking if sockaddr has sa_len member"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
360
"configure"
#line 6
407
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/socket.h>
...
@@ -6365,7 +6412,7 @@ struct sockaddr x;
...
@@ -6365,7 +6412,7 @@ struct sockaddr x;
x.sa_len = 0;
x.sa_len = 0;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
369
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
416
:
\"
$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
...
@@ -6381,7 +6428,7 @@ fi
...
@@ -6381,7 +6428,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:6
385
: checking for bad static forward"
>
&5
echo
"configure:6
432
: 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
...
@@ -6389,7 +6436,7 @@ else
...
@@ -6389,7 +6436,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 6
393
"configure"
#line 6
440
"configure"
#include "confdefs.h"
#include "confdefs.h"
struct s { int a; int b; };
struct s { int a; int b; };
...
@@ -6404,7 +6451,7 @@ main() {
...
@@ -6404,7 +6451,7 @@ main() {
exit(!((int)&foo == foobar()));
exit(!((int)&foo == foobar()));
}
}
EOF
EOF
if
{
(
eval echo
configure:64
08
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:64
55
:
\"
$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
...
@@ -6429,9 +6476,9 @@ fi
...
@@ -6429,9 +6476,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:64
33
: checking whether va_list is an array"
>
&5
echo
"configure:64
80
: checking whether va_list is an array"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
35
"configure"
#line 64
82
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
#ifdef HAVE_STDARG_PROTOTYPES
...
@@ -6444,7 +6491,7 @@ int main() {
...
@@ -6444,7 +6491,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:64
48
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:64
95
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -6460,12 +6507,12 @@ echo "$ac_t""$va_list_is_array" 1>&6
...
@@ -6460,12 +6507,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:6
464
: checking for gethostbyname_r"
>
&5
echo
"configure:6
511
: 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 6
469
"configure"
#line 6
516
"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. */
...
@@ -6488,7 +6535,7 @@ gethostbyname_r();
...
@@ -6488,7 +6535,7 @@ gethostbyname_r();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
492
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
539
:
\"
$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
...
@@ -6508,11 +6555,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
...
@@ -6508,11 +6555,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:65
12
: checking gethostbyname_r with 6 args"
>
&5
echo
"configure:65
59
: 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 65
16
"configure"
#line 65
63
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -6529,7 +6576,7 @@ int main() {
...
@@ -6529,7 +6576,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:65
33
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:65
80
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -6549,9 +6596,9 @@ else
...
@@ -6549,9 +6596,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:6
553
: checking gethostbyname_r with 5 args"
>
&5
echo
"configure:6
600
: checking gethostbyname_r with 5 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
555
"configure"
#line 6
602
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -6568,7 +6615,7 @@ int main() {
...
@@ -6568,7 +6615,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
572
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
619
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -6588,9 +6635,9 @@ else
...
@@ -6588,9 +6635,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:6
592
: checking gethostbyname_r with 3 args"
>
&5
echo
"configure:6
639
: checking gethostbyname_r with 3 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
594
"configure"
#line 6
641
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -6605,7 +6652,7 @@ int main() {
...
@@ -6605,7 +6652,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:66
09
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:66
56
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -6641,12 +6688,12 @@ else
...
@@ -6641,12 +6688,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:66
45
: checking for
$ac_func
"
>
&5
echo
"configure:66
92
: 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 66
50
"configure"
#line 66
97
"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. */
...
@@ -6669,7 +6716,7 @@ $ac_func();
...
@@ -6669,7 +6716,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
673
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
720
:
\"
$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
...
@@ -6707,12 +6754,12 @@ fi
...
@@ -6707,12 +6754,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:67
11
: checking for __fpu_control"
>
&5
echo
"configure:67
58
: 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 67
16
"configure"
#line 67
63
"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. */
...
@@ -6735,7 +6782,7 @@ __fpu_control();
...
@@ -6735,7 +6782,7 @@ __fpu_control();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:67
39
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:67
86
:
\"
$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
...
@@ -6753,7 +6800,7 @@ if eval "test \"`echo '$ac_cv_func_'__fpu_control`\" = yes"; then
...
@@ -6753,7 +6800,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:6
757
: checking for __fpu_control in -lieee"
>
&5
echo
"configure:6
804
: 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
...
@@ -6761,7 +6808,7 @@ else
...
@@ -6761,7 +6808,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 6
765
"configure"
#line 6
812
"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
...
@@ -6772,7 +6819,7 @@ int main() {
...
@@ -6772,7 +6819,7 @@ int main() {
__fpu_control()
__fpu_control()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:6
776
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
823
:
\"
$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
...
@@ -6805,7 +6852,7 @@ fi
...
@@ -6805,7 +6852,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:68
09
: checking for --with-fpectl"
>
&5
echo
"configure:68
56
: 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
"
...
@@ -6830,7 +6877,7 @@ BeOS) ;;
...
@@ -6830,7 +6877,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:68
34
: checking for --with-libm=STRING"
>
&5
echo
"configure:68
81
: 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
"
...
@@ -6851,7 +6898,7 @@ fi
...
@@ -6851,7 +6898,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:6
855
: checking for --with-libc=STRING"
>
&5
echo
"configure:6
902
: 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
"
...
@@ -6875,12 +6922,12 @@ LIBS="$LIBS $LIBM"
...
@@ -6875,12 +6922,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:6
879
: checking for
$ac_func
"
>
&5
echo
"configure:6
926
: 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 6
884
"configure"
#line 6
931
"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. */
...
@@ -6903,7 +6950,7 @@ $ac_func();
...
@@ -6903,7 +6950,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:69
07
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:69
54
:
\"
$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
...
@@ -6933,7 +6980,7 @@ LIBS=$LIBS_SAVE
...
@@ -6933,7 +6980,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:69
37
: checking what malloc(0) returns"
>
&5
echo
"configure:69
84
: 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
...
@@ -6941,7 +6988,7 @@ else
...
@@ -6941,7 +6988,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 69
45
"configure"
#line 69
92
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
#ifdef HAVE_STDLIB
#ifdef HAVE_STDLIB
...
@@ -6960,7 +7007,7 @@ main() {
...
@@ -6960,7 +7007,7 @@ main() {
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:
6964
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:
7011
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_malloc_zero
=
nonnull
ac_cv_malloc_zero
=
nonnull
else
else
...
@@ -6986,17 +7033,17 @@ fi
...
@@ -6986,17 +7033,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:
6990
: checking for wchar.h"
>
&5
echo
"configure:
7037
: 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
6995
"configure"
#line
7042
"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:70
00
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:70
47
:
\"
$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
*
...
@@ -7027,7 +7074,7 @@ fi
...
@@ -7027,7 +7074,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:70
31
: checking size of wchar_t"
>
&5
echo
"configure:70
78
: 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
...
@@ -7035,7 +7082,7 @@ else
...
@@ -7035,7 +7082,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 70
39
"configure"
#line 70
86
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
main()
main()
...
@@ -7046,7 +7093,7 @@ main()
...
@@ -7046,7 +7093,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:70
50
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:70
97
:
\"
$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
...
@@ -7068,7 +7115,7 @@ EOF
...
@@ -7068,7 +7115,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:7
072
: checking what type to use for unicode"
>
&5
echo
"configure:7
119
: 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
"
...
@@ -7143,14 +7190,14 @@ fi
...
@@ -7143,14 +7190,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:71
47
: checking whether byte ordering is bigendian"
>
&5
echo
"configure:71
94
: 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 7
154
"configure"
#line 7
201
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/param.h>
...
@@ -7161,11 +7208,11 @@ int main() {
...
@@ -7161,11 +7208,11 @@ int main() {
#endif
#endif
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:7
165
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:7
212
:
\"
$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 7
169
"configure"
#line 7
216
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/param.h>
...
@@ -7176,7 +7223,7 @@ int main() {
...
@@ -7176,7 +7223,7 @@ int main() {
#endif
#endif
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:7
180
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:7
227
:
\"
$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
...
@@ -7196,7 +7243,7 @@ if test "$cross_compiling" = yes; then
...
@@ -7196,7 +7243,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 72
00
"configure"
#line 72
47
"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. */
...
@@ -7209,7 +7256,7 @@ main () {
...
@@ -7209,7 +7256,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
exit (u.c[sizeof (long) - 1] == 1);
}
}
EOF
EOF
if
{
(
eval echo
configure:72
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:72
60
:
\"
$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
...
@@ -7236,7 +7283,7 @@ fi
...
@@ -7236,7 +7283,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:72
40
: checking whether right shift extends the sign bit"
>
&5
echo
"configure:72
87
: 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
...
@@ -7245,7 +7292,7 @@ if test "$cross_compiling" = yes; then
...
@@ -7245,7 +7292,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 72
49
"configure"
#line 72
96
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main()
int main()
...
@@ -7254,7 +7301,7 @@ int main()
...
@@ -7254,7 +7301,7 @@ int main()
}
}
EOF
EOF
if
{
(
eval echo
configure:7
258
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:7
305
:
\"
$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
...
@@ -7279,13 +7326,13 @@ fi
...
@@ -7279,13 +7326,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:7
283
: checking for getc_unlocked() and friends"
>
&5
echo
"configure:7
330
: 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 7
289
"configure"
#line 7
336
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
int main() {
int main() {
...
@@ -7297,7 +7344,7 @@ int main() {
...
@@ -7297,7 +7344,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:73
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:73
48
:
\"
$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
...
@@ -7320,7 +7367,7 @@ fi
...
@@ -7320,7 +7367,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:73
24
: checking for rl_pre_input_hook in -lreadline"
>
&5
echo
"configure:73
71
: 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
...
@@ -7328,7 +7375,7 @@ else
...
@@ -7328,7 +7375,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 73
32
"configure"
#line 73
79
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -7339,7 +7386,7 @@ int main() {
...
@@ -7339,7 +7386,7 @@ int main() {
rl_pre_input_hook()
rl_pre_input_hook()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:73
43
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:73
90
:
\"
$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
...
@@ -7365,7 +7412,7 @@ fi
...
@@ -7365,7 +7412,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:7
369
: checking for rl_completion_matches in -lreadline"
>
&5
echo
"configure:7
416
: 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
...
@@ -7373,7 +7420,7 @@ else
...
@@ -7373,7 +7420,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
377
"configure"
#line 7
424
"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
...
@@ -7384,7 +7431,7 @@ int main() {
...
@@ -7384,7 +7431,7 @@ int main() {
rl_completion_matches()
rl_completion_matches()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:7
388
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
435
:
\"
$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
...
@@ -7409,7 +7456,7 @@ fi
...
@@ -7409,7 +7456,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:74
13
: checking for broken nice()"
>
&5
echo
"configure:74
60
: 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
...
@@ -7418,7 +7465,7 @@ if test "$cross_compiling" = yes; then
...
@@ -7418,7 +7465,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 74
22
"configure"
#line 74
69
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main()
int main()
...
@@ -7430,7 +7477,7 @@ int main()
...
@@ -7430,7 +7477,7 @@ int main()
}
}
EOF
EOF
if
{
(
eval echo
configure:74
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:74
81
:
\"
$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
...
@@ -7455,12 +7502,12 @@ fi
...
@@ -7455,12 +7502,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:7
459
: checking whether mvwdelch is an expression"
>
&5
echo
"configure:7
506
: 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 7
464
"configure"
#line 7
511
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <curses.h>
#include <curses.h>
int main() {
int main() {
...
@@ -7470,7 +7517,7 @@ int main() {
...
@@ -7470,7 +7517,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:7
474
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:7
521
:
\"
$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
...
@@ -7493,12 +7540,12 @@ EOF
...
@@ -7493,12 +7540,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:7
497
: checking whether WINDOW has _flags"
>
&5
echo
"configure:7
544
: 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 75
02
"configure"
#line 75
49
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <curses.h>
#include <curses.h>
int main() {
int main() {
...
@@ -7508,7 +7555,7 @@ int main() {
...
@@ -7508,7 +7555,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:75
12
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:75
59
:
\"
$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
...
@@ -7539,12 +7586,12 @@ cat >> confdefs.h <<\EOF
...
@@ -7539,12 +7586,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:75
43
: checking for socklen_t"
>
&5
echo
"configure:75
90
: 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 75
48
"configure"
#line 75
95
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -7600,7 +7647,7 @@ done
...
@@ -7600,7 +7647,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:76
04
: checking for build directories"
>
&5
echo
"configure:76
51
: 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
...
...
configure.in
View file @
41933dd1
...
@@ -916,6 +916,7 @@ AC_MSG_RESULT($CFLAGSFORSHARED)
...
@@ -916,6 +916,7 @@ AC_MSG_RESULT($CFLAGSFORSHARED)
# checks for libraries
# checks for libraries
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
AC_CHECK_LIB(rt, sem_init) # 'Real Time' functions on Solaris
# checks for system dependent C++ extensions support
# checks for system dependent C++ extensions support
case "$ac_sys_system" in
case "$ac_sys_system" in
...
...
pyconfig.h.in
View file @
41933dd1
...
@@ -106,9 +106,7 @@
...
@@ -106,9 +106,7 @@
#undef __EXTENSIONS__
#undef __EXTENSIONS__
/* This must be set to 64 on some systems to enable large file support */
/* This must be set to 64 on some systems to enable large file support */
#ifndef _FILE_OFFSET_BITS
#undef _FILE_OFFSET_BITS
#undef _FILE_OFFSET_BITS
#endif
/* Define if getpgrp() must be called as getpgrp(0). */
/* Define if getpgrp() must be called as getpgrp(0). */
#undef GETPGRP_HAVE_ARG
#undef GETPGRP_HAVE_ARG
...
@@ -761,6 +759,9 @@
...
@@ -761,6 +759,9 @@
/* Define if you have the ieee library (-lieee). */
/* Define if you have the ieee library (-lieee). */
#undef HAVE_LIBIEEE
#undef HAVE_LIBIEEE
/* Define if you have the rt library (-lrt). */
#undef HAVE_LIBRT
#ifdef __CYGWIN__
#ifdef __CYGWIN__
#ifdef USE_DL_IMPORT
#ifdef USE_DL_IMPORT
#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
...
...
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