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
0db2b2b4
Commit
0db2b2b4
authored
Aug 26, 2000
by
Thomas Wouters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't enable the 'thread' module if threads are not possible.
parent
617c43ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
161 additions
and
154 deletions
+161
-154
configure
configure
+155
-151
configure.in
configure.in
+6
-3
No files found.
configure
View file @
0db2b2b4
#! /bin/sh
#! /bin/sh
# From configure.in Revision: 1.14
7
# From configure.in Revision: 1.14
8
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
# Generated automatically using autoconf version 2.13
...
@@ -3494,6 +3494,8 @@ EOF
...
@@ -3494,6 +3494,8 @@ EOF
LIBOBJS
=
"
$LIBOBJS
thread.o"
LIBOBJS
=
"
$LIBOBJS
thread.o"
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
USE_THREAD_MODULE
=
"#"
fi
fi
...
@@ -3515,7 +3517,7 @@ fi
...
@@ -3515,7 +3517,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:35
19
: checking for usconfig in -lmpc"
>
&5
echo
"configure:35
21
: 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
...
@@ -3523,7 +3525,7 @@ else
...
@@ -3523,7 +3525,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 352
7
"configure"
#line 352
9
"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
...
@@ -3534,7 +3536,7 @@ int main() {
...
@@ -3534,7 +3536,7 @@ int main() {
usconfig()
usconfig()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:35
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
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
...
@@ -3555,12 +3557,13 @@ EOF
...
@@ -3555,12 +3557,13 @@ EOF
LIBS
=
"
$LIBS
-lmpc"
LIBS
=
"
$LIBS
-lmpc"
LIBOBJS
=
"
$LIBOBJS
thread.o"
LIBOBJS
=
"
$LIBOBJS
thread.o"
USE_THREAD_MODULE
=
""
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
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:356
4
: checking for thr_create in -lthread"
>
&5
echo
"configure:356
7
: 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
...
@@ -3568,7 +3571,7 @@ else
...
@@ -3568,7 +3571,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 357
2
"configure"
#line 357
5
"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
...
@@ -3579,7 +3582,7 @@ int main() {
...
@@ -3579,7 +3582,7 @@ int main() {
thr_create()
thr_create()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:358
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:358
6
:
\"
$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
...
@@ -3600,6 +3603,7 @@ EOF
...
@@ -3600,6 +3603,7 @@ EOF
LIBS
=
"
$LIBS
-lthread"
LIBS
=
"
$LIBS
-lthread"
LIBOBJS
=
"
$LIBOBJS
thread.o"
LIBOBJS
=
"
$LIBOBJS
thread.o"
USE_THREAD_MODULE
=
""
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
fi
fi
...
@@ -3610,7 +3614,7 @@ fi
...
@@ -3610,7 +3614,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:361
4
: checking for --with-cycle-gc"
>
&5
echo
"configure:361
8
: 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
"
...
@@ -3634,7 +3638,7 @@ echo "$ac_t""$with_cycle_gc" 1>&6
...
@@ -3634,7 +3638,7 @@ echo "$ac_t""$with_cycle_gc" 1>&6
# 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:36
38
: checking for --with-wctype-functions"
>
&5
echo
"configure:36
42
: 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
"
...
@@ -3656,7 +3660,7 @@ fi
...
@@ -3656,7 +3660,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:366
0
: checking for --with-sgi-dl"
>
&5
echo
"configure:366
4
: 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
"
...
@@ -3680,7 +3684,7 @@ fi
...
@@ -3680,7 +3684,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:368
4
: checking for --with-dl-dld"
>
&5
echo
"configure:368
8
: 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
"
...
@@ -3709,12 +3713,12 @@ fi
...
@@ -3709,12 +3713,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:371
3
: checking for
$ac_func
"
>
&5
echo
"configure:371
7
: 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 37
18
"configure"
#line 37
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. */
...
@@ -3737,7 +3741,7 @@ $ac_func();
...
@@ -3737,7 +3741,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:374
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:374
5
:
\"
$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
...
@@ -3766,7 +3770,7 @@ done
...
@@ -3766,7 +3770,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:377
0
: checking DYNLOADFILE"
>
&5
echo
"configure:377
4
: 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
...
@@ -3807,12 +3811,12 @@ for ac_func in alarm chown clock confstr ctermid ctermid_r execv \
...
@@ -3807,12 +3811,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:381
1
: checking for
$ac_func
"
>
&5
echo
"configure:381
5
: 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 38
16
"configure"
#line 38
20
"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. */
...
@@ -3835,7 +3839,7 @@ $ac_func();
...
@@ -3835,7 +3839,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:38
39
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
43
:
\"
$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
...
@@ -3865,12 +3869,12 @@ done
...
@@ -3865,12 +3869,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:38
69
: checking for
$ac_func
"
>
&5
echo
"configure:38
73
: 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 387
4
"configure"
#line 387
8
"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. */
...
@@ -3893,7 +3897,7 @@ $ac_func();
...
@@ -3893,7 +3897,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
897
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
901
:
\"
$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
...
@@ -3915,7 +3919,7 @@ EOF
...
@@ -3915,7 +3919,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:39
19
: checking for openpty in -lutil"
>
&5
echo
"configure:39
23
: 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
...
@@ -3923,7 +3927,7 @@ else
...
@@ -3923,7 +3927,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 39
27
"configure"
#line 39
31
"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
...
@@ -3934,7 +3938,7 @@ int main() {
...
@@ -3934,7 +3938,7 @@ int main() {
openpty()
openpty()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:39
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
42
:
\"
$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
...
@@ -3963,12 +3967,12 @@ done
...
@@ -3963,12 +3967,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:39
67
: checking for
$ac_func
"
>
&5
echo
"configure:39
71
: 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 397
2
"configure"
#line 397
6
"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. */
...
@@ -3991,7 +3995,7 @@ $ac_func();
...
@@ -3991,7 +3995,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:399
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:399
9
:
\"
$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
...
@@ -4013,7 +4017,7 @@ EOF
...
@@ -4013,7 +4017,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:40
17
: checking for forkpty in -lutil"
>
&5
echo
"configure:40
21
: 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
...
@@ -4021,7 +4025,7 @@ else
...
@@ -4021,7 +4025,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 402
5
"configure"
#line 402
9
"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
...
@@ -4032,7 +4036,7 @@ int main() {
...
@@ -4032,7 +4036,7 @@ int main() {
forkpty()
forkpty()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:40
36
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
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
...
@@ -4063,12 +4067,12 @@ done
...
@@ -4063,12 +4067,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:40
67
: checking for
$ac_func
"
>
&5
echo
"configure:40
71
: 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 407
2
"configure"
#line 407
6
"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. */
...
@@ -4091,7 +4095,7 @@ $ac_func();
...
@@ -4091,7 +4095,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:409
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:409
9
:
\"
$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
...
@@ -4119,12 +4123,12 @@ done
...
@@ -4119,12 +4123,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:412
3
: checking for
$ac_func
"
>
&5
echo
"configure:412
7
: 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 41
28
"configure"
#line 41
32
"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. */
...
@@ -4147,7 +4151,7 @@ $ac_func();
...
@@ -4147,7 +4151,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:415
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:415
5
:
\"
$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
...
@@ -4176,12 +4180,12 @@ done
...
@@ -4176,12 +4180,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:418
0
: checking for
$ac_func
"
>
&5
echo
"configure:418
4
: 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 418
5
"configure"
#line 418
9
"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. */
...
@@ -4204,7 +4208,7 @@ $ac_func();
...
@@ -4204,7 +4208,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:42
08
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:42
12
:
\"
$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
...
@@ -4223,14 +4227,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
...
@@ -4223,14 +4227,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 42
27
"configure"
#line 42
31
"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:423
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:423
8
:
\"
$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
...
@@ -4249,12 +4253,12 @@ done
...
@@ -4249,12 +4253,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:425
3
: checking for
$ac_func
"
>
&5
echo
"configure:425
7
: 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
58
"configure"
#line 42
62
"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. */
...
@@ -4277,7 +4281,7 @@ $ac_func();
...
@@ -4277,7 +4281,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:428
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:428
5
:
\"
$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
...
@@ -4296,14 +4300,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
...
@@ -4296,14 +4300,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 430
0
"configure"
#line 430
4
"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:43
07
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:43
11
:
\"
$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
...
@@ -4322,12 +4326,12 @@ done
...
@@ -4322,12 +4326,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:43
26
: checking for
$ac_func
"
>
&5
echo
"configure:43
30
: 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 433
1
"configure"
#line 433
5
"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. */
...
@@ -4350,7 +4354,7 @@ $ac_func();
...
@@ -4350,7 +4354,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:435
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:435
8
:
\"
$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
...
@@ -4369,14 +4373,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
...
@@ -4369,14 +4373,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 437
3
"configure"
#line 437
7
"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:438
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:438
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -4396,12 +4400,12 @@ done
...
@@ -4396,12 +4400,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:440
0
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:440
4
: 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 440
5
"configure"
#line 440
9
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -4410,7 +4414,7 @@ int main() {
...
@@ -4410,7 +4414,7 @@ int main() {
struct tm *tp;
struct tm *tp;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:441
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:441
8
:
\"
$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
...
@@ -4431,12 +4435,12 @@ EOF
...
@@ -4431,12 +4435,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:443
5
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:443
9
: 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 444
0
"configure"
#line 444
4
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -4444,7 +4448,7 @@ int main() {
...
@@ -4444,7 +4448,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:44
48
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:44
52
:
\"
$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
...
@@ -4465,12 +4469,12 @@ EOF
...
@@ -4465,12 +4469,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:44
69
: checking for tm_zone in struct tm"
>
&5
echo
"configure:44
73
: 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 447
4
"configure"
#line 447
8
"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
>
...
@@ -4478,7 +4482,7 @@ int main() {
...
@@ -4478,7 +4482,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:448
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:448
6
:
\"
$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
...
@@ -4498,12 +4502,12 @@ EOF
...
@@ -4498,12 +4502,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:450
2
: checking for tzname"
>
&5
echo
"configure:450
6
: 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 45
07
"configure"
#line 45
11
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
#ifndef tzname /* For SGI. */
#ifndef tzname /* For SGI. */
...
@@ -4513,7 +4517,7 @@ int main() {
...
@@ -4513,7 +4517,7 @@ int main() {
atoi(*tzname);
atoi(*tzname);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:45
17
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:45
21
:
\"
$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
...
@@ -4536,19 +4540,19 @@ fi
...
@@ -4536,19 +4540,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:454
0
: checking for time.h that defines altzone"
>
&5
echo
"configure:454
4
: 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 454
5
"configure"
#line 454
9
"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:455
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:455
6
:
\"
$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
...
@@ -4570,9 +4574,9 @@ fi
...
@@ -4570,9 +4574,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:457
4
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
echo
"configure:457
8
: 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 45
76
"configure"
#line 45
80
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -4583,7 +4587,7 @@ int main() {
...
@@ -4583,7 +4587,7 @@ int main() {
;
;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:45
87
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:45
91
:
\"
$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
...
@@ -4599,14 +4603,14 @@ echo "$ac_t""$was_it_defined" 1>&6
...
@@ -4599,14 +4603,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:460
3
: checking whether char is unsigned"
>
&5
echo
"configure:460
7
: 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 461
0
"configure"
#line 461
4
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
#ifdef __CHAR_UNSIGNED__
yes
yes
...
@@ -4628,7 +4632,7 @@ if test "$cross_compiling" = yes; then
...
@@ -4628,7 +4632,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 463
2
"configure"
#line 463
6
"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
...
@@ -4638,7 +4642,7 @@ main() {
...
@@ -4638,7 +4642,7 @@ main() {
volatile char c = 255; exit(c < 0);
volatile char c = 255; exit(c < 0);
}
}
EOF
EOF
if
{
(
eval echo
configure:464
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:464
6
:
\"
$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
...
@@ -4662,12 +4666,12 @@ EOF
...
@@ -4662,12 +4666,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:46
66
: checking for working const"
>
&5
echo
"configure:46
70
: 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 467
1
"configure"
#line 467
5
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -4716,7 +4720,7 @@ ccp = (char const *const *) p;
...
@@ -4716,7 +4720,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:472
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:472
4
:
\"
$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
...
@@ -4737,21 +4741,21 @@ EOF
...
@@ -4737,21 +4741,21 @@ EOF
fi
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:474
1
: checking for inline"
>
&5
echo
"configure:474
5
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
ac_cv_c_inline
=
no
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
48
"configure"
#line 47
52
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
}
$ac_kw
foo() {
}
$ac_kw
foo() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:475
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:475
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
ac_cv_c_inline
=
$ac_kw
;
break
else
else
...
@@ -4779,16 +4783,16 @@ esac
...
@@ -4779,16 +4783,16 @@ esac
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:478
3
: checking for working volatile"
>
&5
echo
"configure:478
7
: checking for working volatile"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 478
5
"configure"
#line 478
9
"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:479
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:479
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -4805,16 +4809,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -4805,16 +4809,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:48
09
: checking for working signed char"
>
&5
echo
"configure:48
13
: checking for working signed char"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 481
1
"configure"
#line 481
5
"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:48
18
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
22
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -4831,16 +4835,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -4831,16 +4835,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:483
5
: checking for prototypes"
>
&5
echo
"configure:483
9
: checking for prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
37
"configure"
#line 48
41
"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:484
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:484
8
:
\"
$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
...
@@ -4855,9 +4859,9 @@ echo "$ac_t""$have_prototypes" 1>&6
...
@@ -4855,9 +4859,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:48
59
: checking for variable length prototypes and stdarg.h"
>
&5
echo
"configure:48
63
: checking for variable length prototypes and stdarg.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 486
1
"configure"
#line 486
5
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdarg.h>
#include <stdarg.h>
...
@@ -4874,7 +4878,7 @@ int main() {
...
@@ -4874,7 +4878,7 @@ int main() {
return foo(10, "", 3.14);
return foo(10, "", 3.14);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:48
78
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
82
:
\"
$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
...
@@ -4890,16 +4894,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -4890,16 +4894,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:489
4
: checking for bad exec* prototypes"
>
&5
echo
"configure:489
8
: checking for bad exec* prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
896
"configure"
#line 4
900
"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:490
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:490
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -4916,12 +4920,12 @@ fi
...
@@ -4916,12 +4920,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:492
0
: checking for bad static forward"
>
&5
echo
"configure:492
4
: 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 492
5
"configure"
#line 492
9
"configure"
#include "confdefs.h"
#include "confdefs.h"
struct s { int a; int b; };
struct s { int a; int b; };
...
@@ -4937,7 +4941,7 @@ main() {
...
@@ -4937,7 +4941,7 @@ main() {
}
}
EOF
EOF
if
{
(
eval echo
configure:494
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:494
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -4956,9 +4960,9 @@ echo "$ac_t""$bad_forward" 1>&6
...
@@ -4956,9 +4960,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:496
0
: checking whether va_list is an array"
>
&5
echo
"configure:496
4
: checking whether va_list is an array"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 496
2
"configure"
#line 496
6
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
#ifdef HAVE_STDARG_PROTOTYPES
...
@@ -4971,7 +4975,7 @@ int main() {
...
@@ -4971,7 +4975,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:497
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:497
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -4987,12 +4991,12 @@ echo "$ac_t""$va_list_is_array" 1>&6
...
@@ -4987,12 +4991,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:499
1
: checking for gethostbyname_r"
>
&5
echo
"configure:499
5
: 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
4996
"configure"
#line
5000
"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. */
...
@@ -5015,7 +5019,7 @@ gethostbyname_r();
...
@@ -5015,7 +5019,7 @@ gethostbyname_r();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:50
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:50
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_func_gethostbyname_r=yes"
eval
"ac_cv_func_gethostbyname_r=yes"
else
else
...
@@ -5035,11 +5039,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
...
@@ -5035,11 +5039,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:50
39
: checking gethostbyname_r with 6 args"
>
&5
echo
"configure:50
43
: 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 504
3
"configure"
#line 504
7
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -5056,7 +5060,7 @@ int main() {
...
@@ -5056,7 +5060,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:506
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:506
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -5076,9 +5080,9 @@ else
...
@@ -5076,9 +5080,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:508
0
: checking gethostbyname_r with 5 args"
>
&5
echo
"configure:508
4
: checking gethostbyname_r with 5 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 508
2
"configure"
#line 508
6
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -5095,7 +5099,7 @@ int main() {
...
@@ -5095,7 +5099,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
099
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
103
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -5115,9 +5119,9 @@ else
...
@@ -5115,9 +5119,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:51
19
: checking gethostbyname_r with 3 args"
>
&5
echo
"configure:51
23
: checking gethostbyname_r with 3 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 512
1
"configure"
#line 512
5
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -5132,7 +5136,7 @@ int main() {
...
@@ -5132,7 +5136,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:51
36
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
40
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -5168,12 +5172,12 @@ else
...
@@ -5168,12 +5172,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:517
2
: checking for
$ac_func
"
>
&5
echo
"configure:517
6
: 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 51
77
"configure"
#line 51
81
"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. */
...
@@ -5196,7 +5200,7 @@ $ac_func();
...
@@ -5196,7 +5200,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:520
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:520
4
:
\"
$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
...
@@ -5234,12 +5238,12 @@ fi
...
@@ -5234,12 +5238,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:52
38
: checking for __fpu_control"
>
&5
echo
"configure:52
42
: 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 524
3
"configure"
#line 524
7
"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. */
...
@@ -5262,7 +5266,7 @@ __fpu_control();
...
@@ -5262,7 +5266,7 @@ __fpu_control();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:52
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:52
70
:
\"
$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
...
@@ -5280,7 +5284,7 @@ if eval "test \"`echo '$ac_cv_func_'__fpu_control`\" = yes"; then
...
@@ -5280,7 +5284,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:528
4
: checking for __fpu_control in -lieee"
>
&5
echo
"configure:528
8
: 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
...
@@ -5288,7 +5292,7 @@ else
...
@@ -5288,7 +5292,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 529
2
"configure"
#line 529
6
"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
...
@@ -5299,7 +5303,7 @@ int main() {
...
@@ -5299,7 +5303,7 @@ int main() {
__fpu_control()
__fpu_control()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:530
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:530
7
:
\"
$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
...
@@ -5332,7 +5336,7 @@ fi
...
@@ -5332,7 +5336,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:53
36
: checking for --with-fpectl"
>
&5
echo
"configure:53
40
: 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
"
...
@@ -5357,7 +5361,7 @@ BeOS) ;;
...
@@ -5357,7 +5361,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:536
1
: checking for --with-libm=STRING"
>
&5
echo
"configure:536
5
: 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
"
...
@@ -5378,7 +5382,7 @@ fi
...
@@ -5378,7 +5382,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:538
2
: checking for --with-libc=STRING"
>
&5
echo
"configure:538
6
: 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
"
...
@@ -5402,12 +5406,12 @@ LIBS="$LIBS $LIBM"
...
@@ -5402,12 +5406,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:54
06
: checking for
$ac_func
"
>
&5
echo
"configure:54
10
: 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 541
1
"configure"
#line 541
5
"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. */
...
@@ -5430,7 +5434,7 @@ $ac_func();
...
@@ -5430,7 +5434,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:543
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:543
8
:
\"
$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
...
@@ -5460,7 +5464,7 @@ LIBS=$LIBS_SAVE
...
@@ -5460,7 +5464,7 @@ LIBS=$LIBS_SAVE
# check for getopt
# check for getopt
echo
$ac_n
"checking for genuine getopt""...
$ac_c
"
1>&6
echo
$ac_n
"checking for genuine getopt""...
$ac_c
"
1>&6
echo
"configure:546
4
: checking for genuine getopt"
>
&5
echo
"configure:546
8
: checking for genuine getopt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getopt
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getopt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -5468,7 +5472,7 @@ else
...
@@ -5468,7 +5472,7 @@ else
ac_cv_func_getopt
=
no
ac_cv_func_getopt
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 547
2
"configure"
#line 547
6
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
extern int optind, opterr, getopt();
extern int optind, opterr, getopt();
...
@@ -5480,7 +5484,7 @@ int main() {
...
@@ -5480,7 +5484,7 @@ int main() {
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:548
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:548
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_func_getopt
=
yes
ac_cv_func_getopt
=
yes
else
else
...
@@ -5498,7 +5502,7 @@ test $ac_cv_func_getopt = no && LIBOBJS="$LIBOBJS getopt.o"
...
@@ -5498,7 +5502,7 @@ test $ac_cv_func_getopt = no && LIBOBJS="$LIBOBJS getopt.o"
# 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:550
2
: checking what malloc(0) returns"
>
&5
echo
"configure:550
6
: 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
...
@@ -5506,7 +5510,7 @@ else
...
@@ -5506,7 +5510,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 551
0
"configure"
#line 551
4
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
#ifdef HAVE_STDLIB
#ifdef HAVE_STDLIB
...
@@ -5525,7 +5529,7 @@ main() {
...
@@ -5525,7 +5529,7 @@ main() {
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:55
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:55
33
:
\"
$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
...
@@ -5551,17 +5555,17 @@ fi
...
@@ -5551,17 +5555,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:555
5
: checking for wchar.h"
>
&5
echo
"configure:555
9
: 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 556
0
"configure"
#line 556
4
"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:556
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:556
9
:
\"
$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
*
...
@@ -5591,12 +5595,12 @@ fi
...
@@ -5591,12 +5595,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:559
5
: checking for usable wchar_t"
>
&5
echo
"configure:559
9
: 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 560
0
"configure"
#line 560
4
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include "wchar.h"
#include "wchar.h"
...
@@ -5610,7 +5614,7 @@ main() {
...
@@ -5610,7 +5614,7 @@ main() {
}
}
EOF
EOF
if
{
(
eval echo
configure:561
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:561
8
:
\"
$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
...
@@ -5629,14 +5633,14 @@ echo "$ac_t""$usable_wchar_t" 1>&6
...
@@ -5629,14 +5633,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:563
3
: checking whether byte ordering is bigendian"
>
&5
echo
"configure:563
7
: 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 564
0
"configure"
#line 564
4
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/param.h>
...
@@ -5647,11 +5651,11 @@ int main() {
...
@@ -5647,11 +5651,11 @@ int main() {
#endif
#endif
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:565
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:565
5
:
\"
$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 565
5
"configure"
#line 565
9
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/param.h>
...
@@ -5662,7 +5666,7 @@ int main() {
...
@@ -5662,7 +5666,7 @@ int main() {
#endif
#endif
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:56
66
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:56
70
:
\"
$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
...
@@ -5682,7 +5686,7 @@ if test "$cross_compiling" = yes; then
...
@@ -5682,7 +5686,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 56
86
"configure"
#line 56
90
"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. */
...
@@ -5695,7 +5699,7 @@ main () {
...
@@ -5695,7 +5699,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
exit (u.c[sizeof (long) - 1] == 1);
}
}
EOF
EOF
if
{
(
eval echo
configure:5
699
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:5
703
:
\"
$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
...
@@ -5722,7 +5726,7 @@ fi
...
@@ -5722,7 +5726,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:57
26
: checking whether right shift extends the sign bit"
>
&5
echo
"configure:57
30
: 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
...
@@ -5731,7 +5735,7 @@ if test "$cross_compiling" = yes; then
...
@@ -5731,7 +5735,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 573
5
"configure"
#line 573
9
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main()
int main()
...
@@ -5740,7 +5744,7 @@ int main()
...
@@ -5740,7 +5744,7 @@ int main()
}
}
EOF
EOF
if
{
(
eval echo
configure:574
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:574
8
:
\"
$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
...
@@ -5772,12 +5776,12 @@ cat >> confdefs.h <<\EOF
...
@@ -5772,12 +5776,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:57
76
: checking for socklen_t"
>
&5
echo
"configure:57
80
: 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 578
1
"configure"
#line 578
5
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
...
configure.in
View file @
0db2b2b4
...
@@ -765,15 +765,18 @@ else
...
@@ -765,15 +765,18 @@ else
AC_CHECK_LIB(cma, pthread_create, [AC_DEFINE(WITH_THREAD)
AC_CHECK_LIB(cma, pthread_create, [AC_DEFINE(WITH_THREAD)
AC_DEFINE(_POSIX_THREADS)
AC_DEFINE(_POSIX_THREADS)
LIBS="$LIBS -lcma"
LIBS="$LIBS -lcma"
LIBOBJS="$LIBOBJS thread.o"])
LIBOBJS="$LIBOBJS thread.o"],[
USE_THREAD_MODULE="#"])
])])])])])])])])
])])])])])])])])
AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD)
AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD)
LIBS="$LIBS -lmpc"
LIBS="$LIBS -lmpc"
LIBOBJS="$LIBOBJS thread.o"])
LIBOBJS="$LIBOBJS thread.o"
USE_THREAD_MODULE=""])
AC_CHECK_LIB(thread, thr_create, [AC_DEFINE(WITH_THREAD)
AC_CHECK_LIB(thread, thr_create, [AC_DEFINE(WITH_THREAD)
LIBS="$LIBS -lthread"
LIBS="$LIBS -lthread"
LIBOBJS="$LIBOBJS thread.o"])
LIBOBJS="$LIBOBJS thread.o"
USE_THREAD_MODULE=""])
fi
fi
# Check for GC support
# Check for GC support
...
...
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