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
86a278ad
Commit
86a278ad
authored
Mar 21, 2001
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use proper compiler flags on UnixWare.
Closes bug #231439.
parent
a1f89f9d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
225 additions
and
203 deletions
+225
-203
configure
configure
+214
-203
configure.in
configure.in
+11
-0
No files found.
configure
View file @
86a278ad
...
@@ -2925,6 +2925,11 @@ then
...
@@ -2925,6 +2925,11 @@ then
else
else
LDSHARED
=
"ld -Bshareable
${
LDFLAGS
}
"
LDSHARED
=
"ld -Bshareable
${
LDFLAGS
}
"
fi
;;
fi
;;
UnixWare
*
)
if
test
"
$GCC
"
=
"yes"
then
LDSHARED
=
"
$(
CC
)
-shared"
else
LDSHARED
=
"
$(
CC
)
-G"
fi
;;
SCO_SV
*
)
LDSHARED
=
"cc -G -KPIC -Ki486 -belf -Wl,-Bexport"
;;
SCO_SV
*
)
LDSHARED
=
"cc -G -KPIC -Ki486 -belf -Wl,-Bexport"
;;
Monterey
*
)
LDSHARED
=
"cc -G -dy -Bdynamic -Bexport -L/usr/lib/ia64l64"
;;
Monterey
*
)
LDSHARED
=
"cc -G -dy -Bdynamic -Bexport -L/usr/lib/ia64l64"
;;
CYGWIN
*
)
LDSHARED
=
"gcc -shared -Wl,--enable-auto-image-base"
;;
CYGWIN
*
)
LDSHARED
=
"gcc -shared -Wl,--enable-auto-image-base"
;;
...
@@ -2936,7 +2941,7 @@ BLDSHARED=${BLDSHARED-$LDSHARED}
...
@@ -2936,7 +2941,7 @@ BLDSHARED=${BLDSHARED-$LDSHARED}
# CCSHARED are the C *flags* used to create objects to go into a shared
# CCSHARED are the C *flags* used to create objects to go into a shared
# library (module) -- this is only needed for a few systems
# library (module) -- this is only needed for a few systems
echo
$ac_n
"checking CCSHARED""...
$ac_c
"
1>&6
echo
$ac_n
"checking CCSHARED""...
$ac_c
"
1>&6
echo
"configure:294
0
: checking CCSHARED"
>
&5
echo
"configure:294
5
: checking CCSHARED"
>
&5
if
test
-z
"
$CCSHARED
"
if
test
-z
"
$CCSHARED
"
then
then
case
$ac_sys_system
/
$ac_sys_release
in
case
$ac_sys_system
/
$ac_sys_release
in
...
@@ -2951,6 +2956,11 @@ then
...
@@ -2951,6 +2956,11 @@ then
BSD/OS
*
/4
*
)
CCSHARED
=
"-fpic"
;;
BSD/OS
*
/4
*
)
CCSHARED
=
"-fpic"
;;
OpenBSD
*
)
CCSHARED
=
"-fpic"
;;
OpenBSD
*
)
CCSHARED
=
"-fpic"
;;
FreeBSD
*
|
NetBSD
*
)
CCSHARED
=
"-fPIC"
;;
FreeBSD
*
|
NetBSD
*
)
CCSHARED
=
"-fPIC"
;;
UnixWare
*
)
if
test
"
$GCC
"
=
"yes"
then
CCSHARED
=
"-fPIC"
else
CCSHARED
=
"-KPIC"
fi
;;
SCO_SV
*
)
CCSHARED
=
"-KPIC -dy -Bdynamic"
;;
SCO_SV
*
)
CCSHARED
=
"-KPIC -dy -Bdynamic"
;;
Monterey
*
)
CCSHARED
=
"-G"
;;
Monterey
*
)
CCSHARED
=
"-G"
;;
IRIX
*
/6
*
)
case
$CC
in
IRIX
*
/6
*
)
case
$CC
in
...
@@ -2964,7 +2974,7 @@ echo "$ac_t""$CCSHARED" 1>&6
...
@@ -2964,7 +2974,7 @@ echo "$ac_t""$CCSHARED" 1>&6
# LINKFORSHARED are the flags passed to the $(CC) command that links
# LINKFORSHARED are the flags passed to the $(CC) command that links
# the python executable -- this is only needed for a few systems
# the python executable -- this is only needed for a few systems
echo
$ac_n
"checking LINKFORSHARED""...
$ac_c
"
1>&6
echo
$ac_n
"checking LINKFORSHARED""...
$ac_c
"
1>&6
echo
"configure:29
6
8: checking LINKFORSHARED"
>
&5
echo
"configure:29
7
8: checking LINKFORSHARED"
>
&5
if
test
-z
"
$LINKFORSHARED
"
if
test
-z
"
$LINKFORSHARED
"
then
then
case
$ac_sys_system
/
$ac_sys_release
in
case
$ac_sys_system
/
$ac_sys_release
in
...
@@ -2981,6 +2991,7 @@ then
...
@@ -2981,6 +2991,7 @@ then
# loading of any modules which reference it in System.framework
# loading of any modules which reference it in System.framework
next/4
*
|
next/5
*
)
LINKFORSHARED
=
"-u __dummy -framework System"
;;
next/4
*
|
next/5
*
)
LINKFORSHARED
=
"-u __dummy -framework System"
;;
Darwin/
*
)
LINKFORSHARED
=
"-u __dummy -framework System -framework Foundation"
;;
Darwin/
*
)
LINKFORSHARED
=
"-u __dummy -framework System -framework Foundation"
;;
UnixWare
*
)
LINKFORSHARED
=
"-Wl,-Bexport"
;;
SCO_SV
*
)
LINKFORSHARED
=
"-Bdynamic -dy -Wl,-Bexport"
;;
SCO_SV
*
)
LINKFORSHARED
=
"-Bdynamic -dy -Wl,-Bexport"
;;
ReliantUNIX
*
)
LINKFORSHARED
=
"-W1 -Blargedynsym"
;;
ReliantUNIX
*
)
LINKFORSHARED
=
"-W1 -Blargedynsym"
;;
FreeBSD
*
|
NetBSD
*
)
FreeBSD
*
|
NetBSD
*
)
...
@@ -3001,7 +3012,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
...
@@ -3001,7 +3012,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
echo
$ac_n
"checking CFLAGSFORSHARED""...
$ac_c
"
1>&6
echo
$ac_n
"checking CFLAGSFORSHARED""...
$ac_c
"
1>&6
echo
"configure:30
05
: checking CFLAGSFORSHARED"
>
&5
echo
"configure:30
16
: checking CFLAGSFORSHARED"
>
&5
if
test
!
"
$LIBRARY
"
=
"
$LDLIBRARY
"
if
test
!
"
$LIBRARY
"
=
"
$LDLIBRARY
"
then
then
case
$ac_sys_system
in
case
$ac_sys_system
in
...
@@ -3017,7 +3028,7 @@ echo "$ac_t""$CFLAGSFORSHARED" 1>&6
...
@@ -3017,7 +3028,7 @@ echo "$ac_t""$CFLAGSFORSHARED" 1>&6
# checks for libraries
# checks for libraries
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:30
21
: checking for dlopen in -ldl"
>
&5
echo
"configure:30
32
: checking for dlopen in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
dlopen |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
dl
'_'
dlopen |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3025,7 +3036,7 @@ else
...
@@ -3025,7 +3036,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
29
"configure"
#line 30
40
"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
...
@@ -3036,7 +3047,7 @@ int main() {
...
@@ -3036,7 +3047,7 @@ int main() {
dlopen()
dlopen()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:30
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:30
51
:
\"
$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
...
@@ -3064,7 +3075,7 @@ else
...
@@ -3064,7 +3075,7 @@ else
fi
fi
# Dynamic linking for SunOS/Solaris and SYSV
# Dynamic linking for SunOS/Solaris and SYSV
echo
$ac_n
"checking for shl_load in -ldld""...
$ac_c
"
1>&6
echo
$ac_n
"checking for shl_load in -ldld""...
$ac_c
"
1>&6
echo
"configure:30
68
: checking for shl_load in -ldld"
>
&5
echo
"configure:30
79
: checking for shl_load in -ldld"
>
&5
ac_lib_var
=
`
echo
dld
'_'
shl_load |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
dld
'_'
shl_load |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3072,7 +3083,7 @@ else
...
@@ -3072,7 +3083,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
76
"configure"
#line 30
87
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3083,7 +3094,7 @@ int main() {
...
@@ -3083,7 +3094,7 @@ int main() {
shl_load()
shl_load()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:30
87
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:30
98
:
\"
$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
...
@@ -3113,7 +3124,7 @@ fi
...
@@ -3113,7 +3124,7 @@ fi
# Check for --with-pydebug
# Check for --with-pydebug
echo
$ac_n
"checking for --with-pydebug""...
$ac_c
"
1>&6
echo
$ac_n
"checking for --with-pydebug""...
$ac_c
"
1>&6
echo
"configure:31
17
: checking for --with-pydebug"
>
&5
echo
"configure:31
28
: checking for --with-pydebug"
>
&5
# Check whether --with-pydebug or --without-pydebug was given.
# Check whether --with-pydebug or --without-pydebug was given.
if
test
"
${
with_pydebug
+set
}
"
=
set
;
then
if
test
"
${
with_pydebug
+set
}
"
=
set
;
then
withval
=
"
$with_pydebug
"
withval
=
"
$with_pydebug
"
...
@@ -3133,16 +3144,16 @@ fi
...
@@ -3133,16 +3144,16 @@ fi
# checks for system dependent C++ extensions support
# checks for system dependent C++ extensions support
case
"
$ac_sys_system
"
in
case
"
$ac_sys_system
"
in
AIX
*
)
echo
$ac_n
"checking for genuine AIX C++ extensions support""...
$ac_c
"
1>&6
AIX
*
)
echo
$ac_n
"checking for genuine AIX C++ extensions support""...
$ac_c
"
1>&6
echo
"configure:31
37
: checking for genuine AIX C++ extensions support"
>
&5
echo
"configure:31
48
: checking for genuine AIX C++ extensions support"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
39
"configure"
#line 31
50
"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:31
46
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:31
57
:
\"
$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
...
@@ -3166,7 +3177,7 @@ case "$ac_sys_system" in
...
@@ -3166,7 +3177,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:31
70
: checking for t_open in -lnsl"
>
&5
echo
"configure:31
81
: 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
...
@@ -3174,7 +3185,7 @@ else
...
@@ -3174,7 +3185,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 31
78
"configure"
#line 31
89
"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
...
@@ -3185,7 +3196,7 @@ int main() {
...
@@ -3185,7 +3196,7 @@ int main() {
t_open()
t_open()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
189
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
200
:
\"
$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
...
@@ -3206,7 +3217,7 @@ else
...
@@ -3206,7 +3217,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:32
10
: checking for socket in -lsocket"
>
&5
echo
"configure:32
21
: 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
...
@@ -3214,7 +3225,7 @@ else
...
@@ -3214,7 +3225,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 32
18
"configure"
#line 32
29
"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
...
@@ -3225,7 +3236,7 @@ int main() {
...
@@ -3225,7 +3236,7 @@ int main() {
socket()
socket()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:32
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
40
:
\"
$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
...
@@ -3250,7 +3261,7 @@ esac
...
@@ -3250,7 +3261,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:32
54
: checking for socket in -lnet"
>
&5
echo
"configure:32
65
: 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
...
@@ -3258,7 +3269,7 @@ else
...
@@ -3258,7 +3269,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 32
62
"configure"
#line 32
73
"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
...
@@ -3269,7 +3280,7 @@ int main() {
...
@@ -3269,7 +3280,7 @@ int main() {
socket()
socket()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:32
73
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
84
:
\"
$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
...
@@ -3293,7 +3304,7 @@ fi
...
@@ -3293,7 +3304,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
297
: checking for --with-libs"
>
&5
echo
"configure:3
308
: 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
"
...
@@ -3310,7 +3321,7 @@ fi
...
@@ -3310,7 +3321,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:33
14
: checking for --with-signal-module"
>
&5
echo
"configure:33
25
: 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
"
...
@@ -3336,7 +3347,7 @@ fi
...
@@ -3336,7 +3347,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:33
40
: checking for --with-dec-threads"
>
&5
echo
"configure:33
51
: 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
...
@@ -3353,7 +3364,7 @@ fi
...
@@ -3353,7 +3364,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:33
57
: checking for --with-threads"
>
&5
echo
"configure:33
68
: 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
"
...
@@ -3391,17 +3402,17 @@ EOF
...
@@ -3391,17 +3402,17 @@ EOF
ac_safe
=
`
echo
"mach/cthreads.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"mach/cthreads.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for mach/cthreads.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for mach/cthreads.h""...
$ac_c
"
1>&6
echo
"configure:3
395
: checking for mach/cthreads.h"
>
&5
echo
"configure:3
406
: 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 34
00
"configure"
#line 34
11
"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:34
05
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:34
16
:
\"
$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
*
...
@@ -3430,7 +3441,7 @@ else
...
@@ -3430,7 +3441,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:34
34
: checking for --with-pth"
>
&5
echo
"configure:34
45
: 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
"
...
@@ -3450,7 +3461,7 @@ else
...
@@ -3450,7 +3461,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
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:34
54
: checking for pthread_create in -lpthread"
>
&5
echo
"configure:34
65
: checking for pthread_create in -lpthread"
>
&5
ac_lib_var
=
`
echo
pthread
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
pthread
'_'
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
...
@@ -3458,7 +3469,7 @@ else
...
@@ -3458,7 +3469,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 34
62
"configure"
#line 34
73
"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
...
@@ -3469,7 +3480,7 @@ int main() {
...
@@ -3469,7 +3480,7 @@ int main() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:34
73
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
84
:
\"
$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
...
@@ -3498,12 +3509,12 @@ else
...
@@ -3498,12 +3509,12 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_detach""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pthread_detach""...
$ac_c
"
1>&6
echo
"configure:35
02
: checking for pthread_detach"
>
&5
echo
"configure:35
13
: 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 35
07
"configure"
#line 35
18
"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. */
...
@@ -3526,7 +3537,7 @@ pthread_detach();
...
@@ -3526,7 +3537,7 @@ pthread_detach();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:35
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
41
:
\"
$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
...
@@ -3557,17 +3568,17 @@ else
...
@@ -3557,17 +3568,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:35
61
: checking for kernel/OS.h"
>
&5
echo
"configure:35
72
: 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 35
66
"configure"
#line 35
77
"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:35
71
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:35
82
:
\"
$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
*
...
@@ -3596,7 +3607,7 @@ else
...
@@ -3596,7 +3607,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:36
00
: checking for pthread_create in -lpthreads"
>
&5
echo
"configure:36
11
: 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
...
@@ -3604,7 +3615,7 @@ else
...
@@ -3604,7 +3615,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 36
08
"configure"
#line 36
19
"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
...
@@ -3615,7 +3626,7 @@ int main() {
...
@@ -3615,7 +3626,7 @@ int main() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:36
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:36
30
:
\"
$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
...
@@ -3644,7 +3655,7 @@ else
...
@@ -3644,7 +3655,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:36
48
: checking for pthread_create in -lc_r"
>
&5
echo
"configure:36
59
: 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
...
@@ -3652,7 +3663,7 @@ else
...
@@ -3652,7 +3663,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 36
56
"configure"
#line 36
67
"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
...
@@ -3663,7 +3674,7 @@ int main() {
...
@@ -3663,7 +3674,7 @@ int main() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:36
67
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:36
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_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3692,7 +3703,7 @@ else
...
@@ -3692,7 +3703,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:3
696
: checking for __d6_pthread_create in -lthread"
>
&5
echo
"configure:3
707
: 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
...
@@ -3700,7 +3711,7 @@ else
...
@@ -3700,7 +3711,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 37
04
"configure"
#line 37
15
"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
...
@@ -3711,7 +3722,7 @@ int main() {
...
@@ -3711,7 +3722,7 @@ int main() {
__d6_pthread_create()
__d6_pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:37
15
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:37
26
:
\"
$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
...
@@ -3740,7 +3751,7 @@ else
...
@@ -3740,7 +3751,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:37
44
: checking for __pthread_create_system in -lpthread"
>
&5
echo
"configure:37
55
: 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
...
@@ -3748,7 +3759,7 @@ else
...
@@ -3748,7 +3759,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 37
52
"configure"
#line 37
63
"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
...
@@ -3759,7 +3770,7 @@ int main() {
...
@@ -3759,7 +3770,7 @@ int main() {
__pthread_create_system()
__pthread_create_system()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:37
63
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:37
74
:
\"
$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
...
@@ -3788,7 +3799,7 @@ else
...
@@ -3788,7 +3799,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:3
792
: checking for pthread_create in -lcma"
>
&5
echo
"configure:3
803
: 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
...
@@ -3796,7 +3807,7 @@ else
...
@@ -3796,7 +3807,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 38
00
"configure"
#line 38
11
"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
...
@@ -3807,7 +3818,7 @@ int main() {
...
@@ -3807,7 +3818,7 @@ int main() {
pthread_create()
pthread_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:38
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
22
:
\"
$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
...
@@ -3859,7 +3870,7 @@ fi
...
@@ -3859,7 +3870,7 @@ 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:38
63
: checking for usconfig in -lmpc"
>
&5
echo
"configure:38
74
: 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
...
@@ -3867,7 +3878,7 @@ else
...
@@ -3867,7 +3878,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 38
71
"configure"
#line 38
82
"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
...
@@ -3878,7 +3889,7 @@ int main() {
...
@@ -3878,7 +3889,7 @@ int main() {
usconfig()
usconfig()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:38
82
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
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_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3905,7 +3916,7 @@ else
...
@@ -3905,7 +3916,7 @@ else
fi
fi
echo
$ac_n
"checking for thr_create in -lthread""...
$ac_c
"
1>&6
echo
$ac_n
"checking for thr_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:39
09
: checking for thr_create in -lthread"
>
&5
echo
"configure:39
20
: 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
...
@@ -3913,7 +3924,7 @@ else
...
@@ -3913,7 +3924,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 39
17
"configure"
#line 39
28
"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
...
@@ -3924,7 +3935,7 @@ int main() {
...
@@ -3924,7 +3935,7 @@ int main() {
thr_create()
thr_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:39
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
39
:
\"
$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
...
@@ -3965,7 +3976,7 @@ fi
...
@@ -3965,7 +3976,7 @@ fi
USE_GC_MODULE
=
""
USE_GC_MODULE
=
""
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:39
69
: checking for --with-cycle-gc"
>
&5
echo
"configure:39
80
: 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
"
...
@@ -3989,7 +4000,7 @@ echo "$ac_t""$with_cycle_gc" 1>&6
...
@@ -3989,7 +4000,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:
3993
: checking for --with-pymalloc"
>
&5
echo
"configure:
4004
: 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
"
...
@@ -4008,7 +4019,7 @@ fi
...
@@ -4008,7 +4019,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:40
12
: checking for --with-wctype-functions"
>
&5
echo
"configure:40
23
: 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
"
...
@@ -4030,7 +4041,7 @@ fi
...
@@ -4030,7 +4041,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:40
34
: checking for --with-sgi-dl"
>
&5
echo
"configure:40
45
: 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
"
...
@@ -4054,7 +4065,7 @@ fi
...
@@ -4054,7 +4065,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:40
58
: checking for --with-dl-dld"
>
&5
echo
"configure:40
69
: 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
"
...
@@ -4083,12 +4094,12 @@ fi
...
@@ -4083,12 +4094,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:40
87
: checking for
$ac_func
"
>
&5
echo
"configure:40
98
: 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
092
"configure"
#line 4
103
"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. */
...
@@ -4111,7 +4122,7 @@ $ac_func();
...
@@ -4111,7 +4122,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:41
15
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:41
26
:
\"
$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
...
@@ -4140,7 +4151,7 @@ done
...
@@ -4140,7 +4151,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:41
44
: checking DYNLOADFILE"
>
&5
echo
"configure:41
55
: 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
...
@@ -4181,12 +4192,12 @@ for ac_func in alarm chown clock confstr ctermid ctermid_r execv \
...
@@ -4181,12 +4192,12 @@ for ac_func in alarm chown clock confstr ctermid ctermid_r execv \
truncate uname
waitpid _getpty
truncate uname
waitpid _getpty
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:41
85
: checking for
$ac_func
"
>
&5
echo
"configure:41
96
: 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
190
"configure"
#line 4
201
"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. */
...
@@ -4209,7 +4220,7 @@ $ac_func();
...
@@ -4209,7 +4220,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:42
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:42
24
:
\"
$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
...
@@ -4239,12 +4250,12 @@ done
...
@@ -4239,12 +4250,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:42
43
: checking for
$ac_func
"
>
&5
echo
"configure:42
54
: 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 42
48
"configure"
#line 42
59
"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. */
...
@@ -4267,7 +4278,7 @@ $ac_func();
...
@@ -4267,7 +4278,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:42
71
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:42
82
:
\"
$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
...
@@ -4289,7 +4300,7 @@ EOF
...
@@ -4289,7 +4300,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:4
293
: checking for openpty in -lutil"
>
&5
echo
"configure:4
304
: 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
...
@@ -4297,7 +4308,7 @@ else
...
@@ -4297,7 +4308,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 43
01
"configure"
#line 43
12
"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
...
@@ -4308,7 +4319,7 @@ int main() {
...
@@ -4308,7 +4319,7 @@ int main() {
openpty()
openpty()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:43
12
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:43
23
:
\"
$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
...
@@ -4337,12 +4348,12 @@ done
...
@@ -4337,12 +4348,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:43
41
: checking for
$ac_func
"
>
&5
echo
"configure:43
52
: 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 43
46
"configure"
#line 43
57
"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. */
...
@@ -4365,7 +4376,7 @@ $ac_func();
...
@@ -4365,7 +4376,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:43
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:43
80
:
\"
$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
...
@@ -4387,7 +4398,7 @@ EOF
...
@@ -4387,7 +4398,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:4
391
: checking for forkpty in -lutil"
>
&5
echo
"configure:4
402
: 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
...
@@ -4395,7 +4406,7 @@ else
...
@@ -4395,7 +4406,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 4
399
"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
...
@@ -4406,7 +4417,7 @@ int main() {
...
@@ -4406,7 +4417,7 @@ int main() {
forkpty()
forkpty()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:44
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:44
21
:
\"
$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
...
@@ -4437,12 +4448,12 @@ done
...
@@ -4437,12 +4448,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:44
41
: checking for
$ac_func
"
>
&5
echo
"configure:44
52
: 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 44
46
"configure"
#line 44
57
"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. */
...
@@ -4465,7 +4476,7 @@ $ac_func();
...
@@ -4465,7 +4476,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:44
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:44
80
:
\"
$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
...
@@ -4493,12 +4504,12 @@ done
...
@@ -4493,12 +4504,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:4
497
: checking for
$ac_func
"
>
&5
echo
"configure:4
508
: 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 45
02
"configure"
#line 45
13
"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. */
...
@@ -4521,7 +4532,7 @@ $ac_func();
...
@@ -4521,7 +4532,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:45
25
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:45
36
:
\"
$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
...
@@ -4550,12 +4561,12 @@ done
...
@@ -4550,12 +4561,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:45
54
: checking for
$ac_func
"
>
&5
echo
"configure:45
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 45
59
"configure"
#line 45
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. */
...
@@ -4578,7 +4589,7 @@ $ac_func();
...
@@ -4578,7 +4589,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:45
82
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:45
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
...
@@ -4597,14 +4608,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
...
@@ -4597,14 +4608,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 46
01
"configure"
#line 46
12
"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:46
08
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:46
19
:
\"
$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
...
@@ -4623,12 +4634,12 @@ done
...
@@ -4623,12 +4634,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:46
27
: checking for
$ac_func
"
>
&5
echo
"configure:46
38
: 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 46
32
"configure"
#line 46
43
"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. */
...
@@ -4651,7 +4662,7 @@ $ac_func();
...
@@ -4651,7 +4662,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:46
55
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:46
66
:
\"
$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
...
@@ -4670,14 +4681,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
...
@@ -4670,14 +4681,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 46
74
"configure"
#line 46
85
"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:46
81
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:46
92
:
\"
$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
...
@@ -4696,12 +4707,12 @@ done
...
@@ -4696,12 +4707,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:47
00
: checking for
$ac_func
"
>
&5
echo
"configure:47
11
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
05
"configure"
#line 47
16
"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. */
...
@@ -4724,7 +4735,7 @@ $ac_func();
...
@@ -4724,7 +4735,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:47
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:47
39
:
\"
$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
...
@@ -4743,14 +4754,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
...
@@ -4743,14 +4754,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 47
47
"configure"
#line 47
58
"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:47
54
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:47
65
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -4770,12 +4781,12 @@ done
...
@@ -4770,12 +4781,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:47
74
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:47
85
: 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 47
79
"configure"
#line 47
90
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -4784,7 +4795,7 @@ int main() {
...
@@ -4784,7 +4795,7 @@ int main() {
struct tm *tp;
struct tm *tp;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:47
88
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:47
99
:
\"
$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
...
@@ -4805,12 +4816,12 @@ EOF
...
@@ -4805,12 +4816,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:48
09
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:48
20
: 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 48
14
"configure"
#line 48
25
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -4818,7 +4829,7 @@ int main() {
...
@@ -4818,7 +4829,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:48
22
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
33
:
\"
$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
...
@@ -4839,12 +4850,12 @@ EOF
...
@@ -4839,12 +4850,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:48
43
: checking for tm_zone in struct tm"
>
&5
echo
"configure:48
54
: 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 48
48
"configure"
#line 48
59
"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
>
...
@@ -4852,7 +4863,7 @@ int main() {
...
@@ -4852,7 +4863,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:48
56
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
67
:
\"
$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
...
@@ -4872,12 +4883,12 @@ EOF
...
@@ -4872,12 +4883,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:48
76
: checking for tzname"
>
&5
echo
"configure:48
87
: 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 48
81
"configure"
#line 48
92
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
#ifndef tzname /* For SGI. */
#ifndef tzname /* For SGI. */
...
@@ -4887,7 +4898,7 @@ int main() {
...
@@ -4887,7 +4898,7 @@ int main() {
atoi(*tzname);
atoi(*tzname);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
891
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
902
:
\"
$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
...
@@ -4910,19 +4921,19 @@ fi
...
@@ -4910,19 +4921,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:49
14
: checking for time.h that defines altzone"
>
&5
echo
"configure:49
25
: 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 49
19
"configure"
#line 49
30
"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:49
26
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:49
37
:
\"
$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
...
@@ -4944,9 +4955,9 @@ fi
...
@@ -4944,9 +4955,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:49
48
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
echo
"configure:49
59
: 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 49
50
"configure"
#line 49
61
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -4957,7 +4968,7 @@ int main() {
...
@@ -4957,7 +4968,7 @@ int main() {
;
;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:49
61
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:49
72
:
\"
$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
...
@@ -4973,14 +4984,14 @@ echo "$ac_t""$was_it_defined" 1>&6
...
@@ -4973,14 +4984,14 @@ echo "$ac_t""$was_it_defined" 1>&6
# 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:49
77
: checking whether char is unsigned"
>
&5
echo
"configure:49
88
: 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 49
84
"configure"
#line 49
95
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
#ifdef __CHAR_UNSIGNED__
yes
yes
...
@@ -5002,7 +5013,7 @@ if test "$cross_compiling" = yes; then
...
@@ -5002,7 +5013,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 50
06
"configure"
#line 50
17
"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
...
@@ -5012,7 +5023,7 @@ main() {
...
@@ -5012,7 +5023,7 @@ main() {
volatile char c = 255; exit(c < 0);
volatile char c = 255; exit(c < 0);
}
}
EOF
EOF
if
{
(
eval echo
configure:50
16
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:50
27
:
\"
$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
...
@@ -5036,12 +5047,12 @@ EOF
...
@@ -5036,12 +5047,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:50
40
: checking for working const"
>
&5
echo
"configure:50
51
: 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 50
45
"configure"
#line 50
56
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -5090,7 +5101,7 @@ ccp = (char const *const *) p;
...
@@ -5090,7 +5101,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
094
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
105
:
\"
$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
...
@@ -5113,16 +5124,16 @@ fi
...
@@ -5113,16 +5124,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:51
17
: checking for working volatile"
>
&5
echo
"configure:51
28
: checking for working volatile"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
19
"configure"
#line 51
30
"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:51
26
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
37
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -5139,16 +5150,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -5139,16 +5150,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:51
43
: checking for working signed char"
>
&5
echo
"configure:51
54
: checking for working signed char"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
45
"configure"
#line 51
56
"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:51
52
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
63
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -5165,16 +5176,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -5165,16 +5176,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:51
69
: checking for prototypes"
>
&5
echo
"configure:51
80
: checking for prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
71
"configure"
#line 51
82
"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:51
78
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
89
:
\"
$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
...
@@ -5189,9 +5200,9 @@ echo "$ac_t""$have_prototypes" 1>&6
...
@@ -5189,9 +5200,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:5
193
: checking for variable length prototypes and stdarg.h"
>
&5
echo
"configure:5
204
: checking for variable length prototypes and stdarg.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
195
"configure"
#line 5
206
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdarg.h>
#include <stdarg.h>
...
@@ -5208,7 +5219,7 @@ int main() {
...
@@ -5208,7 +5219,7 @@ int main() {
return foo(10, "", 3.14);
return foo(10, "", 3.14);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:52
12
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
23
:
\"
$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
...
@@ -5224,16 +5235,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -5224,16 +5235,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:52
28
: checking for bad exec* prototypes"
>
&5
echo
"configure:52
39
: checking for bad exec* prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 52
30
"configure"
#line 52
41
"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:52
37
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
48
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -5250,12 +5261,12 @@ fi
...
@@ -5250,12 +5261,12 @@ fi
bad_forward
=
no
bad_forward
=
no
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:52
54
: checking for bad static forward"
>
&5
echo
"configure:52
65
: checking for bad static forward"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
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 52
59
"configure"
#line 52
70
"configure"
#include "confdefs.h"
#include "confdefs.h"
struct s { int a; int b; };
struct s { int a; int b; };
...
@@ -5271,7 +5282,7 @@ main() {
...
@@ -5271,7 +5282,7 @@ main() {
}
}
EOF
EOF
if
{
(
eval echo
configure:52
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:52
86
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -5290,9 +5301,9 @@ echo "$ac_t""$bad_forward" 1>&6
...
@@ -5290,9 +5301,9 @@ echo "$ac_t""$bad_forward" 1>&6
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:5
294
: checking whether va_list is an array"
>
&5
echo
"configure:5
305
: checking whether va_list is an array"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
296
"configure"
#line 5
307
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
#ifdef HAVE_STDARG_PROTOTYPES
...
@@ -5305,7 +5316,7 @@ int main() {
...
@@ -5305,7 +5316,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:53
09
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:53
20
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -5321,12 +5332,12 @@ echo "$ac_t""$va_list_is_array" 1>&6
...
@@ -5321,12 +5332,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:53
25
: checking for gethostbyname_r"
>
&5
echo
"configure:53
36
: 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 53
30
"configure"
#line 53
41
"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. */
...
@@ -5349,7 +5360,7 @@ gethostbyname_r();
...
@@ -5349,7 +5360,7 @@ gethostbyname_r();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:53
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:53
64
:
\"
$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
...
@@ -5369,11 +5380,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
...
@@ -5369,11 +5380,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:53
73
: checking gethostbyname_r with 6 args"
>
&5
echo
"configure:53
84
: 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 53
77
"configure"
#line 53
88
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -5390,7 +5401,7 @@ int main() {
...
@@ -5390,7 +5401,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
394
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
405
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -5410,9 +5421,9 @@ else
...
@@ -5410,9 +5421,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:54
14
: checking gethostbyname_r with 5 args"
>
&5
echo
"configure:54
25
: checking gethostbyname_r with 5 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
16
"configure"
#line 54
27
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -5429,7 +5440,7 @@ int main() {
...
@@ -5429,7 +5440,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:54
33
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
44
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -5449,9 +5460,9 @@ else
...
@@ -5449,9 +5460,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:54
53
: checking gethostbyname_r with 3 args"
>
&5
echo
"configure:54
64
: checking gethostbyname_r with 3 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
55
"configure"
#line 54
66
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -5466,7 +5477,7 @@ int main() {
...
@@ -5466,7 +5477,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:54
70
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
81
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -5502,12 +5513,12 @@ else
...
@@ -5502,12 +5513,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:55
06
: checking for
$ac_func
"
>
&5
echo
"configure:55
17
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
11
"configure"
#line 55
22
"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. */
...
@@ -5530,7 +5541,7 @@ $ac_func();
...
@@ -5530,7 +5541,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:55
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:55
45
:
\"
$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
...
@@ -5568,12 +5579,12 @@ fi
...
@@ -5568,12 +5579,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:55
72
: checking for __fpu_control"
>
&5
echo
"configure:55
83
: 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 55
77
"configure"
#line 55
88
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __fpu_control(); below. */
which can conflict with char __fpu_control(); below. */
...
@@ -5596,7 +5607,7 @@ __fpu_control();
...
@@ -5596,7 +5607,7 @@ __fpu_control();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:56
00
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:56
11
:
\"
$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
...
@@ -5614,7 +5625,7 @@ if eval "test \"`echo '$ac_cv_func_'__fpu_control`\" = yes"; then
...
@@ -5614,7 +5625,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:56
18
: checking for __fpu_control in -lieee"
>
&5
echo
"configure:56
29
: 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
...
@@ -5622,7 +5633,7 @@ else
...
@@ -5622,7 +5633,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 56
26
"configure"
#line 56
37
"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
...
@@ -5633,7 +5644,7 @@ int main() {
...
@@ -5633,7 +5644,7 @@ int main() {
__fpu_control()
__fpu_control()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:56
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:56
48
:
\"
$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
...
@@ -5666,7 +5677,7 @@ fi
...
@@ -5666,7 +5677,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:56
70
: checking for --with-fpectl"
>
&5
echo
"configure:56
81
: 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
"
...
@@ -5692,7 +5703,7 @@ BeOS) ;;
...
@@ -5692,7 +5703,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:5
696
: checking for --with-libm=STRING"
>
&5
echo
"configure:5
707
: 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
"
...
@@ -5713,7 +5724,7 @@ fi
...
@@ -5713,7 +5724,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:57
17
: checking for --with-libc=STRING"
>
&5
echo
"configure:57
28
: 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
"
...
@@ -5737,12 +5748,12 @@ LIBS="$LIBS $LIBM"
...
@@ -5737,12 +5748,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:57
41
: checking for
$ac_func
"
>
&5
echo
"configure:57
52
: 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 57
46
"configure"
#line 57
57
"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. */
...
@@ -5765,7 +5776,7 @@ $ac_func();
...
@@ -5765,7 +5776,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:57
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:57
80
:
\"
$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
...
@@ -5795,7 +5806,7 @@ LIBS=$LIBS_SAVE
...
@@ -5795,7 +5806,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:5
799
: checking what malloc(0) returns"
>
&5
echo
"configure:5
810
: 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
...
@@ -5803,7 +5814,7 @@ else
...
@@ -5803,7 +5814,7 @@ else
{
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 58
07
"configure"
#line 58
18
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
#ifdef HAVE_STDLIB
#ifdef HAVE_STDLIB
...
@@ -5822,7 +5833,7 @@ main() {
...
@@ -5822,7 +5833,7 @@ main() {
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:58
26
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:58
37
:
\"
$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
...
@@ -5848,17 +5859,17 @@ fi
...
@@ -5848,17 +5859,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:58
52
: checking for wchar.h"
>
&5
echo
"configure:58
63
: 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 58
57
"configure"
#line 58
68
"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:58
62
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:58
73
:
\"
$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
*
...
@@ -5888,12 +5899,12 @@ fi
...
@@ -5888,12 +5899,12 @@ fi
# check for usable wchar_t
# check for usable wchar_t
usable_wchar_t
=
"unkown"
usable_wchar_t
=
"unkown"
echo
$ac_n
"checking for usable wchar_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for usable wchar_t""...
$ac_c
"
1>&6
echo
"configure:5
892
: checking for usable wchar_t"
>
&5
echo
"configure:5
903
: checking for usable wchar_t"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
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 5
897
"configure"
#line 5
908
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include "wchar.h"
#include "wchar.h"
...
@@ -5907,7 +5918,7 @@ main() {
...
@@ -5907,7 +5918,7 @@ main() {
}
}
EOF
EOF
if
{
(
eval echo
configure:59
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:59
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_USABLE_WCHAR_T 1
#define HAVE_USABLE_WCHAR_T 1
...
@@ -5926,14 +5937,14 @@ echo "$ac_t""$usable_wchar_t" 1>&6
...
@@ -5926,14 +5937,14 @@ echo "$ac_t""$usable_wchar_t" 1>&6
# 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:59
30
: checking whether byte ordering is bigendian"
>
&5
echo
"configure:59
41
: 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 59
37
"configure"
#line 59
48
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/param.h>
...
@@ -5944,11 +5955,11 @@ int main() {
...
@@ -5944,11 +5955,11 @@ int main() {
#endif
#endif
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:59
48
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
59
:
\"
$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 59
52
"configure"
#line 59
63
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/param.h>
...
@@ -5959,7 +5970,7 @@ int main() {
...
@@ -5959,7 +5970,7 @@ int main() {
#endif
#endif
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:59
63
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
74
:
\"
$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
...
@@ -5979,7 +5990,7 @@ if test "$cross_compiling" = yes; then
...
@@ -5979,7 +5990,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 59
83
"configure"
#line 59
94
"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. */
...
@@ -5992,7 +6003,7 @@ main () {
...
@@ -5992,7 +6003,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
exit (u.c[sizeof (long) - 1] == 1);
}
}
EOF
EOF
if
{
(
eval echo
configure:
5996
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:
6007
:
\"
$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
...
@@ -6019,7 +6030,7 @@ fi
...
@@ -6019,7 +6030,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:60
23
: checking whether right shift extends the sign bit"
>
&5
echo
"configure:60
34
: 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
...
@@ -6028,7 +6039,7 @@ if test "$cross_compiling" = yes; then
...
@@ -6028,7 +6039,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 60
32
"configure"
#line 60
43
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main()
int main()
...
@@ -6037,7 +6048,7 @@ int main()
...
@@ -6037,7 +6048,7 @@ int main()
}
}
EOF
EOF
if
{
(
eval echo
configure:60
41
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:60
52
:
\"
$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
...
@@ -6062,13 +6073,13 @@ fi
...
@@ -6062,13 +6073,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:60
66
: checking for getc_unlocked() and friends"
>
&5
echo
"configure:60
77
: 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 60
72
"configure"
#line 60
83
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
int main() {
int main() {
...
@@ -6080,7 +6091,7 @@ int main() {
...
@@ -6080,7 +6091,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:60
84
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:60
95
:
\"
$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
...
@@ -6109,12 +6120,12 @@ cat >> confdefs.h <<\EOF
...
@@ -6109,12 +6120,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:61
13
: checking for socklen_t"
>
&5
echo
"configure:61
24
: 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 61
18
"configure"
#line 61
29
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -6163,7 +6174,7 @@ done
...
@@ -6163,7 +6174,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:61
67
: checking for build directories"
>
&5
echo
"configure:61
78
: 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 @
86a278ad
...
@@ -581,6 +581,11 @@ then
...
@@ -581,6 +581,11 @@ then
else
else
LDSHARED="ld -Bshareable ${LDFLAGS}"
LDSHARED="ld -Bshareable ${LDFLAGS}"
fi;;
fi;;
UnixWare*)
if test "$GCC" = "yes"
then LDSHARED="$(CC) -shared"
else LDSHARED="$(CC) -G"
fi;;
SCO_SV*) LDSHARED="cc -G -KPIC -Ki486 -belf -Wl,-Bexport";;
SCO_SV*) LDSHARED="cc -G -KPIC -Ki486 -belf -Wl,-Bexport";;
Monterey*) LDSHARED="cc -G -dy -Bdynamic -Bexport -L/usr/lib/ia64l64";;
Monterey*) LDSHARED="cc -G -dy -Bdynamic -Bexport -L/usr/lib/ia64l64";;
CYGWIN*) LDSHARED="gcc -shared -Wl,--enable-auto-image-base";;
CYGWIN*) LDSHARED="gcc -shared -Wl,--enable-auto-image-base";;
...
@@ -606,6 +611,11 @@ then
...
@@ -606,6 +611,11 @@ then
BSD/OS*/4*) CCSHARED="-fpic";;
BSD/OS*/4*) CCSHARED="-fpic";;
OpenBSD*) CCSHARED="-fpic";;
OpenBSD*) CCSHARED="-fpic";;
FreeBSD*|NetBSD*) CCSHARED="-fPIC";;
FreeBSD*|NetBSD*) CCSHARED="-fPIC";;
UnixWare*)
if test "$GCC" = "yes"
then CCSHARED="-fPIC"
else CCSHARED="-KPIC"
fi;;
SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;
SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;
Monterey*) CCSHARED="-G";;
Monterey*) CCSHARED="-G";;
IRIX*/6*) case $CC in
IRIX*/6*) case $CC in
...
@@ -635,6 +645,7 @@ then
...
@@ -635,6 +645,7 @@ then
# loading of any modules which reference it in System.framework
# loading of any modules which reference it in System.framework
next/4*|next/5*) LINKFORSHARED="-u __dummy -framework System" ;;
next/4*|next/5*) LINKFORSHARED="-u __dummy -framework System" ;;
Darwin/*) LINKFORSHARED="-u __dummy -framework System -framework Foundation" ;;
Darwin/*) LINKFORSHARED="-u __dummy -framework System -framework Foundation" ;;
UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
FreeBSD*|NetBSD*)
FreeBSD*|NetBSD*)
...
...
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