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
8d2f2b2d
Commit
8d2f2b2d
authored
Jul 13, 2000
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
From Sam Rushing's Medusa, via SF patch #100858: add & document
os.seteuid(), os.setegid(), os.setreuid(), os.setregid().
parent
4d5d5bf5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
263 additions
and
141 deletions
+263
-141
Doc/lib/libos.tex
Doc/lib/libos.tex
+20
-0
Modules/posixmodule.c
Modules/posixmodule.c
+88
-0
config.h.in
config.h.in
+12
-0
configure
configure
+141
-140
configure.in
configure.in
+2
-1
No files found.
Doc/lib/libos.tex
View file @
8d2f2b2d
...
@@ -181,6 +181,16 @@ calls to \function{putenv()} don't update \code{os.environ}, so it is
...
@@ -181,6 +181,16 @@ calls to \function{putenv()} don't update \code{os.environ}, so it is
actually preferable to assign to items of
\code
{
os.environ
}
.
actually preferable to assign to items of
\code
{
os.environ
}
.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
setegid
}{
egid
}
Set the current process's effective group id.
Availability:
\UNIX
{}
.
\end{funcdesc}
\begin{funcdesc}
{
seteuid
}{
euid
}
Set the current process's effective user id.
Availability:
\UNIX
{}
.
\end{funcdesc}
\begin{funcdesc}
{
setgid
}{
gid
}
\begin{funcdesc}
{
setgid
}{
gid
}
Set the current process' group id.
Set the current process' group id.
Availability:
\UNIX
{}
.
Availability:
\UNIX
{}
.
...
@@ -199,6 +209,16 @@ for the semantics.
...
@@ -199,6 +209,16 @@ for the semantics.
Availability:
\UNIX
{}
.
Availability:
\UNIX
{}
.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
setreuid
}{
ruid, euid
}
Set the current process's real and effective user ids.
Availability:
\UNIX
{}
.
\end{funcdesc}
\begin{funcdesc}
{
setregid
}{
rgid, egid
}
Set the current process's real and effective group ids.
Availability:
\UNIX
{}
.
\end{funcdesc}
\begin{funcdesc}
{
setsid
}{}
\begin{funcdesc}
{
setsid
}{}
Calls the system call
\cfunction
{
setsid()
}
. See the
\UNIX
{}
manual
Calls the system call
\cfunction
{
setsid()
}
. See the
\UNIX
{}
manual
for the semantics.
for the semantics.
...
...
Modules/posixmodule.c
View file @
8d2f2b2d
...
@@ -2618,6 +2618,82 @@ posix_setuid(PyObject *self, PyObject *args)
...
@@ -2618,6 +2618,82 @@ posix_setuid(PyObject *self, PyObject *args)
#endif
/* HAVE_SETUID */
#endif
/* HAVE_SETUID */
#ifdef HAVE_SETEUID
static
char
posix_seteuid__doc__
[]
=
"seteuid(uid) -> None
\n
\
Set the current process's effective user id."
;
static
PyObject
*
posix_seteuid
(
PyObject
*
self
,
PyObject
*
args
)
{
int
euid
;
if
(
!
PyArg_ParseTuple
(
args
,
"i"
,
&
euid
))
{
return
NULL
;
}
else
if
(
seteuid
(
euid
)
<
0
)
{
return
posix_error
();
}
else
{
Py_INCREF
(
Py_None
);
return
Py_None
;
}
}
#endif
/* HAVE_SETEUID */
#ifdef HAVE_SETEGID
static
char
posix_setegid__doc__
[]
=
"setegid(gid) -> None
\n
\
Set the current process's effective group id."
;
static
PyObject
*
posix_setegid
(
PyObject
*
self
,
PyObject
*
args
)
{
int
egid
;
if
(
!
PyArg_ParseTuple
(
args
,
"i"
,
&
egid
))
{
return
NULL
;
}
else
if
(
setegid
(
egid
)
<
0
)
{
return
posix_error
();
}
else
{
Py_INCREF
(
Py_None
);
return
Py_None
;
}
}
#endif
/* HAVE_SETEGID */
#ifdef HAVE_SETREUID
static
char
posix_setreuid__doc__
[]
=
"seteuid(ruid, euid) -> None
\n
\
Set the current process's real and effective user ids."
;
static
PyObject
*
posix_setreuid
(
PyObject
*
self
,
PyObject
*
args
)
{
int
ruid
,
euid
;
if
(
!
PyArg_ParseTuple
(
args
,
"ii"
,
&
ruid
,
&
euid
))
{
return
NULL
;
}
else
if
(
setreuid
(
ruid
,
euid
)
<
0
)
{
return
posix_error
();
}
else
{
Py_INCREF
(
Py_None
);
return
Py_None
;
}
}
#endif
/* HAVE_SETREUID */
#ifdef HAVE_SETREGID
static
char
posix_setregid__doc__
[]
=
"setegid(rgid, egid) -> None
\n
\
Set the current process's real and effective group ids."
;
static
PyObject
*
posix_setregid
(
PyObject
*
self
,
PyObject
*
args
)
{
int
rgid
,
egid
;
if
(
!
PyArg_ParseTuple
(
args
,
"ii"
,
&
rgid
,
&
egid
))
{
return
NULL
;
}
else
if
(
setregid
(
rgid
,
egid
)
<
0
)
{
return
posix_error
();
}
else
{
Py_INCREF
(
Py_None
);
return
Py_None
;
}
}
#endif
/* HAVE_SETREGID */
#ifdef HAVE_SETGID
#ifdef HAVE_SETGID
static
char
posix_setgid__doc__
[]
=
static
char
posix_setgid__doc__
[]
=
"setgid(gid) -> None
\n
\
"setgid(gid) -> None
\n
\
...
@@ -4898,6 +4974,18 @@ static PyMethodDef posix_methods[] = {
...
@@ -4898,6 +4974,18 @@ static PyMethodDef posix_methods[] = {
#ifdef HAVE_SETUID
#ifdef HAVE_SETUID
{
"setuid"
,
posix_setuid
,
METH_VARARGS
,
posix_setuid__doc__
},
{
"setuid"
,
posix_setuid
,
METH_VARARGS
,
posix_setuid__doc__
},
#endif
/* HAVE_SETUID */
#endif
/* HAVE_SETUID */
#ifdef HAVE_SETEUID
{
"seteuid"
,
posix_seteuid
,
METH_VARARGS
,
posix_seteuid__doc__
},
#endif
/* HAVE_SETEUID */
#ifdef HAVE_SETEGID
{
"setegid"
,
posix_setegid
,
METH_VARARGS
,
posix_setegid__doc__
},
#endif
/* HAVE_SETEGID */
#ifdef HAVE_SETREUID
{
"setreuid"
,
posix_setreuid
,
METH_VARARGS
,
posix_setreuid__doc__
},
#endif
/* HAVE_SETREUID */
#ifdef HAVE_SETREGID
{
"setregid"
,
posix_setregid
,
METH_VARARGS
,
posix_setregid__doc__
},
#endif
/* HAVE_SETREGID */
#ifdef HAVE_SETGID
#ifdef HAVE_SETGID
{
"setgid"
,
posix_setgid
,
METH_VARARGS
,
posix_setgid__doc__
},
{
"setgid"
,
posix_setgid
,
METH_VARARGS
,
posix_setgid__doc__
},
#endif
/* HAVE_SETGID */
#endif
/* HAVE_SETGID */
...
...
config.h.in
View file @
8d2f2b2d
...
@@ -407,6 +407,12 @@
...
@@ -407,6 +407,12 @@
/* Define if you have the select function. */
/* Define if you have the select function. */
#undef HAVE_SELECT
#undef HAVE_SELECT
/* Define if you have the setegid function. */
#undef HAVE_SETEGID
/* Define if you have the seteuid function. */
#undef HAVE_SETEUID
/* Define if you have the setgid function. */
/* Define if you have the setgid function. */
#undef HAVE_SETGID
#undef HAVE_SETGID
...
@@ -419,6 +425,12 @@
...
@@ -419,6 +425,12 @@
/* Define if you have the setpgrp function. */
/* Define if you have the setpgrp function. */
#undef HAVE_SETPGRP
#undef HAVE_SETPGRP
/* Define if you have the setregid function. */
#undef HAVE_SETREGID
/* Define if you have the setreuid function. */
#undef HAVE_SETREUID
/* Define if you have the setsid function. */
/* Define if you have the setsid function. */
#undef HAVE_SETSID
#undef HAVE_SETSID
...
...
configure
View file @
8d2f2b2d
...
@@ -3641,18 +3641,19 @@ for ac_func in alarm chown clock confstr ctermid ctermid_r dlopen execv \
...
@@ -3641,18 +3641,19 @@ for ac_func in alarm chown clock confstr ctermid ctermid_r dlopen execv \
kill link
lstat
mkfifo
mktime mremap
\
kill link
lstat
mkfifo
mktime mremap
\
nice
pathconf pause plock pthread_init
\
nice
pathconf pause plock pthread_init
\
putenv
readlink
\
putenv
readlink
\
select
setgid setlocale setuid setsid setpgid setpgrp setvbuf
\
select
setegid seteuid setgid
\
setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf
\
sigaction siginterrupt sigrelse strftime strptime symlink sysconf
\
sigaction siginterrupt sigrelse strftime strptime symlink sysconf
\
tcgetpgrp tcsetpgrp tempnam timegm
times
tmpfile tmpnam tmpnam_r
\
tcgetpgrp tcsetpgrp tempnam timegm
times
tmpfile tmpnam tmpnam_r
\
truncate uname
waitpid
truncate uname
waitpid
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:365
1
: checking for
$ac_func
"
>
&5
echo
"configure:365
2
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 365
6
"configure"
#line 365
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
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -3675,7 +3676,7 @@ $ac_func();
...
@@ -3675,7 +3676,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:36
79
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:36
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
...
@@ -3705,12 +3706,12 @@ done
...
@@ -3705,12 +3706,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:37
09
: checking for
$ac_func
"
>
&5
echo
"configure:37
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 371
4
"configure"
#line 371
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. */
...
@@ -3733,7 +3734,7 @@ $ac_func();
...
@@ -3733,7 +3734,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:373
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:373
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
...
@@ -3755,7 +3756,7 @@ EOF
...
@@ -3755,7 +3756,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:37
59
: checking for openpty in -lutil"
>
&5
echo
"configure:37
60
: 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
...
@@ -3763,7 +3764,7 @@ else
...
@@ -3763,7 +3764,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 376
7
"configure"
#line 376
8
"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
...
@@ -3774,7 +3775,7 @@ int main() {
...
@@ -3774,7 +3775,7 @@ int main() {
openpty()
openpty()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:377
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:377
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_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3803,12 +3804,12 @@ done
...
@@ -3803,12 +3804,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:380
7
: checking for
$ac_func
"
>
&5
echo
"configure:380
8
: 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 381
2
"configure"
#line 381
3
"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. */
...
@@ -3831,7 +3832,7 @@ $ac_func();
...
@@ -3831,7 +3832,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:383
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:383
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_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -3853,7 +3854,7 @@ EOF
...
@@ -3853,7 +3854,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:385
7
: checking for forkpty in -lutil"
>
&5
echo
"configure:385
8
: 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
...
@@ -3861,7 +3862,7 @@ else
...
@@ -3861,7 +3862,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 386
5
"configure"
#line 386
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
...
@@ -3872,7 +3873,7 @@ int main() {
...
@@ -3872,7 +3873,7 @@ int main() {
forkpty()
forkpty()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:387
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:387
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
...
@@ -3903,12 +3904,12 @@ done
...
@@ -3903,12 +3904,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:390
7
: checking for
$ac_func
"
>
&5
echo
"configure:390
8
: 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 391
2
"configure"
#line 391
3
"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. */
...
@@ -3931,7 +3932,7 @@ $ac_func();
...
@@ -3931,7 +3932,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:393
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:393
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_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -3959,12 +3960,12 @@ done
...
@@ -3959,12 +3960,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:396
3
: checking for
$ac_func
"
>
&5
echo
"configure:396
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 396
8
"configure"
#line 396
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. */
...
@@ -3987,7 +3988,7 @@ $ac_func();
...
@@ -3987,7 +3988,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:399
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:399
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -4014,12 +4015,12 @@ done
...
@@ -4014,12 +4015,12 @@ done
echo
$ac_n
"checking for getpgrp""...
$ac_c
"
1>&6
echo
$ac_n
"checking for getpgrp""...
$ac_c
"
1>&6
echo
"configure:401
8
: checking for getpgrp"
>
&5
echo
"configure:401
9
: checking for getpgrp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getpgrp
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_getpgrp
'+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 402
3
"configure"
#line 402
4
"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 getpgrp(); below. */
which can conflict with char getpgrp(); below. */
...
@@ -4042,7 +4043,7 @@ getpgrp();
...
@@ -4042,7 +4043,7 @@ getpgrp();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:404
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:404
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_func_getpgrp=yes"
eval
"ac_cv_func_getpgrp=yes"
else
else
...
@@ -4057,14 +4058,14 @@ fi
...
@@ -4057,14 +4058,14 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
getpgrp
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_func_'
getpgrp
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 406
1
"configure"
#line 406
2
"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:406
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:406
9
:
\"
$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
...
@@ -4080,12 +4081,12 @@ else
...
@@ -4080,12 +4081,12 @@ else
fi
fi
echo
$ac_n
"checking for setpgrp""...
$ac_c
"
1>&6
echo
$ac_n
"checking for setpgrp""...
$ac_c
"
1>&6
echo
"configure:408
4
: checking for setpgrp"
>
&5
echo
"configure:408
5
: checking for setpgrp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_setpgrp
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_setpgrp
'+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 40
89
"configure"
#line 40
90
"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 setpgrp(); below. */
which can conflict with char setpgrp(); below. */
...
@@ -4108,7 +4109,7 @@ setpgrp();
...
@@ -4108,7 +4109,7 @@ setpgrp();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:411
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:411
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_setpgrp=yes"
eval
"ac_cv_func_setpgrp=yes"
else
else
...
@@ -4123,14 +4124,14 @@ fi
...
@@ -4123,14 +4124,14 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
setpgrp
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_func_'
setpgrp
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 412
7
"configure"
#line 412
8
"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:413
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:413
5
:
\"
$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
...
@@ -4146,12 +4147,12 @@ else
...
@@ -4146,12 +4147,12 @@ else
fi
fi
echo
$ac_n
"checking for gettimeofday""...
$ac_c
"
1>&6
echo
$ac_n
"checking for gettimeofday""...
$ac_c
"
1>&6
echo
"configure:415
0
: checking for gettimeofday"
>
&5
echo
"configure:415
1
: checking for gettimeofday"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gettimeofday
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gettimeofday
'+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 415
5
"configure"
#line 415
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 gettimeofday(); below. */
which can conflict with char gettimeofday(); below. */
...
@@ -4174,7 +4175,7 @@ gettimeofday();
...
@@ -4174,7 +4175,7 @@ gettimeofday();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:417
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:417
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_gettimeofday=yes"
eval
"ac_cv_func_gettimeofday=yes"
else
else
...
@@ -4189,14 +4190,14 @@ fi
...
@@ -4189,14 +4190,14 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
gettimeofday
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_func_'
gettimeofday
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 419
3
"configure"
#line 419
4
"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:420
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:420
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -4215,12 +4216,12 @@ fi
...
@@ -4215,12 +4216,12 @@ fi
# 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:42
19
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:42
20
: 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 422
4
"configure"
#line 422
5
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/time.h>
...
@@ -4229,7 +4230,7 @@ int main() {
...
@@ -4229,7 +4230,7 @@ int main() {
struct tm *tp;
struct tm *tp;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:423
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:423
4
:
\"
$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
...
@@ -4250,12 +4251,12 @@ EOF
...
@@ -4250,12 +4251,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:425
4
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:425
5
: 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 42
59
"configure"
#line 42
60
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include <time.h>
...
@@ -4263,7 +4264,7 @@ int main() {
...
@@ -4263,7 +4264,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:426
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:426
8
:
\"
$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
...
@@ -4284,12 +4285,12 @@ EOF
...
@@ -4284,12 +4285,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:428
8
: checking for tm_zone in struct tm"
>
&5
echo
"configure:428
9
: 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 429
3
"configure"
#line 429
4
"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
>
...
@@ -4297,7 +4298,7 @@ int main() {
...
@@ -4297,7 +4298,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:430
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:430
2
:
\"
$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
...
@@ -4317,12 +4318,12 @@ EOF
...
@@ -4317,12 +4318,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:432
1
: checking for tzname"
>
&5
echo
"configure:432
2
: 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 432
6
"configure"
#line 432
7
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <time.h>
#include <time.h>
#ifndef tzname /* For SGI. */
#ifndef tzname /* For SGI. */
...
@@ -4332,7 +4333,7 @@ int main() {
...
@@ -4332,7 +4333,7 @@ int main() {
atoi(*tzname);
atoi(*tzname);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:433
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:433
7
:
\"
$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
...
@@ -4355,19 +4356,19 @@ fi
...
@@ -4355,19 +4356,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:43
59
: checking for time.h that defines altzone"
>
&5
echo
"configure:43
60
: 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 436
4
"configure"
#line 436
5
"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:437
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:437
2
:
\"
$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
...
@@ -4389,9 +4390,9 @@ fi
...
@@ -4389,9 +4390,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:439
3
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
echo
"configure:439
4
: 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 439
5
"configure"
#line 439
6
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -4402,7 +4403,7 @@ int main() {
...
@@ -4402,7 +4403,7 @@ int main() {
;
;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:440
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:440
7
:
\"
$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
...
@@ -4418,14 +4419,14 @@ echo "$ac_t""$was_it_defined" 1>&6
...
@@ -4418,14 +4419,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:442
2
: checking whether char is unsigned"
>
&5
echo
"configure:442
3
: checking whether char is unsigned"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_char_unsigned
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_char_unsigned
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
if
test
"
$GCC
"
=
yes
;
then
if
test
"
$GCC
"
=
yes
;
then
# GCC predefines this symbol on systems where it applies.
# GCC predefines this symbol on systems where it applies.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
29
"configure"
#line 44
30
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
#ifdef __CHAR_UNSIGNED__
yes
yes
...
@@ -4447,7 +4448,7 @@ if test "$cross_compiling" = yes; then
...
@@ -4447,7 +4448,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 445
1
"configure"
#line 445
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1
#if !defined(__STDC__) || __STDC__ != 1
...
@@ -4457,7 +4458,7 @@ main() {
...
@@ -4457,7 +4458,7 @@ main() {
volatile char c = 255; exit(c < 0);
volatile char c = 255; exit(c < 0);
}
}
EOF
EOF
if
{
(
eval echo
configure:446
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:446
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_c_char_unsigned
=
yes
ac_cv_c_char_unsigned
=
yes
else
else
...
@@ -4481,12 +4482,12 @@ EOF
...
@@ -4481,12 +4482,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:448
5
: checking for working const"
>
&5
echo
"configure:448
6
: 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 449
0
"configure"
#line 449
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -4535,7 +4536,7 @@ ccp = (char const *const *) p;
...
@@ -4535,7 +4536,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:45
39
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:45
40
:
\"
$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
...
@@ -4556,21 +4557,21 @@ EOF
...
@@ -4556,21 +4557,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:456
0
: checking for inline"
>
&5
echo
"configure:456
1
: 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 456
7
"configure"
#line 456
8
"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:457
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:457
5
:
\"
$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
...
@@ -4598,16 +4599,16 @@ esac
...
@@ -4598,16 +4599,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:460
2
: checking for working volatile"
>
&5
echo
"configure:460
3
: checking for working volatile"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 460
4
"configure"
#line 460
5
"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:461
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:461
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -4624,16 +4625,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -4624,16 +4625,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:462
8
: checking for working signed char"
>
&5
echo
"configure:462
9
: checking for working signed char"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 463
0
"configure"
#line 463
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
signed char c;
signed char c;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:463
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:463
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
works
=
yes
works
=
yes
else
else
...
@@ -4650,16 +4651,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -4650,16 +4651,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:465
4
: checking for prototypes"
>
&5
echo
"configure:465
5
: checking for prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 465
6
"configure"
#line 465
7
"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:466
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:466
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
#define HAVE_PROTOTYPES 1
#define HAVE_PROTOTYPES 1
...
@@ -4674,9 +4675,9 @@ echo "$ac_t""$have_prototypes" 1>&6
...
@@ -4674,9 +4675,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:467
8
: checking for variable length prototypes and stdarg.h"
>
&5
echo
"configure:467
9
: checking for variable length prototypes and stdarg.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 468
0
"configure"
#line 468
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdarg.h>
#include <stdarg.h>
...
@@ -4693,7 +4694,7 @@ int main() {
...
@@ -4693,7 +4694,7 @@ int main() {
return foo(10, "", 3.14);
return foo(10, "", 3.14);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:469
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:469
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_STDARG_PROTOTYPES 1
#define HAVE_STDARG_PROTOTYPES 1
...
@@ -4709,16 +4710,16 @@ echo "$ac_t""$works" 1>&6
...
@@ -4709,16 +4710,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:471
3
: checking for bad exec* prototypes"
>
&5
echo
"configure:471
4
: checking for bad exec* prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 471
5
"configure"
#line 471
6
"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:472
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:472
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -4735,12 +4736,12 @@ fi
...
@@ -4735,12 +4736,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:47
39
: checking for bad static forward"
>
&5
echo
"configure:47
40
: 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 474
4
"configure"
#line 474
5
"configure"
#include "confdefs.h"
#include "confdefs.h"
struct s { int a; int b; };
struct s { int a; int b; };
...
@@ -4756,7 +4757,7 @@ main() {
...
@@ -4756,7 +4757,7 @@ main() {
}
}
EOF
EOF
if
{
(
eval echo
configure:476
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:476
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -4775,9 +4776,9 @@ echo "$ac_t""$bad_forward" 1>&6
...
@@ -4775,9 +4776,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:47
79
: checking whether va_list is an array"
>
&5
echo
"configure:47
80
: checking whether va_list is an array"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 478
1
"configure"
#line 478
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
#ifdef HAVE_STDARG_PROTOTYPES
...
@@ -4790,7 +4791,7 @@ int main() {
...
@@ -4790,7 +4791,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:479
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:479
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
:
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
...
@@ -4806,12 +4807,12 @@ echo "$ac_t""$va_list_is_array" 1>&6
...
@@ -4806,12 +4807,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:481
0
: checking for gethostbyname_r"
>
&5
echo
"configure:481
1
: 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 481
5
"configure"
#line 481
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 gethostbyname_r(); below. */
which can conflict with char gethostbyname_r(); below. */
...
@@ -4834,7 +4835,7 @@ gethostbyname_r();
...
@@ -4834,7 +4835,7 @@ gethostbyname_r();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:483
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:483
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_gethostbyname_r=yes"
eval
"ac_cv_func_gethostbyname_r=yes"
else
else
...
@@ -4854,11 +4855,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
...
@@ -4854,11 +4855,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:485
8
: checking gethostbyname_r with 6 args"
>
&5
echo
"configure:485
9
: 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 486
2
"configure"
#line 486
3
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -4875,7 +4876,7 @@ int main() {
...
@@ -4875,7 +4876,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:48
79
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
80
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -4895,9 +4896,9 @@ else
...
@@ -4895,9 +4896,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:4
899
: checking gethostbyname_r with 5 args"
>
&5
echo
"configure:4
900
: checking gethostbyname_r with 5 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 490
1
"configure"
#line 490
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -4914,7 +4915,7 @@ int main() {
...
@@ -4914,7 +4915,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:491
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:491
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -4934,9 +4935,9 @@ else
...
@@ -4934,9 +4935,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:493
8
: checking gethostbyname_r with 3 args"
>
&5
echo
"configure:493
9
: checking gethostbyname_r with 3 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 494
0
"configure"
#line 494
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
# include <netdb.h>
# include <netdb.h>
...
@@ -4951,7 +4952,7 @@ int main() {
...
@@ -4951,7 +4952,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:495
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:495
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -4985,12 +4986,12 @@ else
...
@@ -4985,12 +4986,12 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for gethostbyname""...
$ac_c
"
1>&6
echo
$ac_n
"checking for gethostbyname""...
$ac_c
"
1>&6
echo
"configure:49
89
: checking for gethostbyname"
>
&5
echo
"configure:49
90
: checking for gethostbyname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostbyname
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostbyname
'+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 499
4
"configure"
#line 499
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 gethostbyname(); below. */
which can conflict with char gethostbyname(); below. */
...
@@ -5013,7 +5014,7 @@ gethostbyname();
...
@@ -5013,7 +5014,7 @@ gethostbyname();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:501
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:501
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_gethostbyname=yes"
eval
"ac_cv_func_gethostbyname=yes"
else
else
...
@@ -5049,7 +5050,7 @@ fi
...
@@ -5049,7 +5050,7 @@ fi
# Linux requires this for correct f.p. operations
# Linux requires this for correct f.p. operations
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:505
3
: checking for __fpu_control in -lieee"
>
&5
echo
"configure:505
4
: 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
...
@@ -5057,7 +5058,7 @@ else
...
@@ -5057,7 +5058,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 506
1
"configure"
#line 506
2
"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
...
@@ -5068,7 +5069,7 @@ int main() {
...
@@ -5068,7 +5069,7 @@ int main() {
__fpu_control()
__fpu_control()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:507
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:507
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -5098,7 +5099,7 @@ fi
...
@@ -5098,7 +5099,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:510
2
: checking for --with-fpectl"
>
&5
echo
"configure:510
3
: 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
"
...
@@ -5123,7 +5124,7 @@ BeOS) ;;
...
@@ -5123,7 +5124,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:512
7
: checking for --with-libm=STRING"
>
&5
echo
"configure:512
8
: 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
"
...
@@ -5144,7 +5145,7 @@ fi
...
@@ -5144,7 +5145,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:514
8
: checking for --with-libc=STRING"
>
&5
echo
"configure:514
9
: 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
"
...
@@ -5168,12 +5169,12 @@ LIBS="$LIBS $LIBM"
...
@@ -5168,12 +5169,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:517
2
: checking for
$ac_func
"
>
&5
echo
"configure:517
3
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 517
7
"configure"
#line 517
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. */
...
@@ -5196,7 +5197,7 @@ $ac_func();
...
@@ -5196,7 +5197,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
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -5223,12 +5224,12 @@ done
...
@@ -5223,12 +5224,12 @@ done
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:522
7
: checking for
$ac_func
"
>
&5
echo
"configure:522
8
: 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 523
2
"configure"
#line 523
3
"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. */
...
@@ -5251,7 +5252,7 @@ $ac_func();
...
@@ -5251,7 +5252,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:525
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:525
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_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -5285,12 +5286,12 @@ LIBS="$LIBS $LIBM"
...
@@ -5285,12 +5286,12 @@ LIBS="$LIBS $LIBM"
for
ac_func
in
rint
for
ac_func
in
rint
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:52
89
: checking for
$ac_func
"
>
&5
echo
"configure:52
90
: 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 529
4
"configure"
#line 529
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. */
...
@@ -5313,7 +5314,7 @@ $ac_func();
...
@@ -5313,7 +5314,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:531
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:531
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
...
@@ -5341,7 +5342,7 @@ LIBS=$LIBS_SAVE
...
@@ -5341,7 +5342,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:534
5
: checking for genuine getopt"
>
&5
echo
"configure:534
6
: 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
...
@@ -5349,7 +5350,7 @@ else
...
@@ -5349,7 +5350,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 535
3
"configure"
#line 535
4
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
extern int optind, opterr, getopt();
extern int optind, opterr, getopt();
...
@@ -5361,7 +5362,7 @@ int main() {
...
@@ -5361,7 +5362,7 @@ int main() {
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:536
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:536
6
:
\"
$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
...
@@ -5379,7 +5380,7 @@ test $ac_cv_func_getopt = no && LIBOBJS="$LIBOBJS getopt.o"
...
@@ -5379,7 +5380,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:538
3
: checking what malloc(0) returns"
>
&5
echo
"configure:538
4
: 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
...
@@ -5387,7 +5388,7 @@ else
...
@@ -5387,7 +5388,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 539
1
"configure"
#line 539
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
#ifdef HAVE_STDLIB
#ifdef HAVE_STDLIB
...
@@ -5406,7 +5407,7 @@ main() {
...
@@ -5406,7 +5407,7 @@ main() {
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:541
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:541
1
:
\"
$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
...
@@ -5432,17 +5433,17 @@ fi
...
@@ -5432,17 +5433,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:543
6
: checking for wchar.h"
>
&5
echo
"configure:543
7
: 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 544
1
"configure"
#line 544
2
"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:544
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:544
7
:
\"
$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
*
...
@@ -5472,12 +5473,12 @@ fi
...
@@ -5472,12 +5473,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:547
6
: checking for usable wchar_t"
>
&5
echo
"configure:547
7
: 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 548
1
"configure"
#line 548
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include "wchar.h"
#include "wchar.h"
...
@@ -5491,7 +5492,7 @@ main() {
...
@@ -5491,7 +5492,7 @@ main() {
}
}
EOF
EOF
if
{
(
eval echo
configure:549
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:549
6
:
\"
$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
...
@@ -5510,14 +5511,14 @@ echo "$ac_t""$usable_wchar_t" 1>&6
...
@@ -5510,14 +5511,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:551
4
: checking whether byte ordering is bigendian"
>
&5
echo
"configure:551
5
: 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 552
1
"configure"
#line 552
2
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/param.h>
...
@@ -5528,11 +5529,11 @@ int main() {
...
@@ -5528,11 +5529,11 @@ int main() {
#endif
#endif
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:553
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:553
3
:
\"
$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 553
6
"configure"
#line 553
7
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/param.h>
...
@@ -5543,7 +5544,7 @@ int main() {
...
@@ -5543,7 +5544,7 @@ int main() {
#endif
#endif
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:554
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:554
8
:
\"
$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
...
@@ -5563,7 +5564,7 @@ if test "$cross_compiling" = yes; then
...
@@ -5563,7 +5564,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 556
7
"configure"
#line 556
8
"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. */
...
@@ -5576,7 +5577,7 @@ main () {
...
@@ -5576,7 +5577,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
exit (u.c[sizeof (long) - 1] == 1);
}
}
EOF
EOF
if
{
(
eval echo
configure:558
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:558
1
:
\"
$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
...
@@ -5603,7 +5604,7 @@ fi
...
@@ -5603,7 +5604,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:560
7
: checking whether right shift extends the sign bit"
>
&5
echo
"configure:560
8
: 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
...
@@ -5612,7 +5613,7 @@ if test "$cross_compiling" = yes; then
...
@@ -5612,7 +5613,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 561
6
"configure"
#line 561
7
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main()
int main()
...
@@ -5621,7 +5622,7 @@ int main()
...
@@ -5621,7 +5622,7 @@ int main()
}
}
EOF
EOF
if
{
(
eval echo
configure:562
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:562
6
:
\"
$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
...
@@ -5653,12 +5654,12 @@ cat >> confdefs.h <<\EOF
...
@@ -5653,12 +5654,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:565
7
: checking for socklen_t"
>
&5
echo
"configure:565
8
: 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 566
2
"configure"
#line 566
3
"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 @
8d2f2b2d
...
@@ -822,7 +822,8 @@ AC_CHECK_FUNCS(alarm chown clock confstr ctermid ctermid_r dlopen execv \
...
@@ -822,7 +822,8 @@ AC_CHECK_FUNCS(alarm chown clock confstr ctermid ctermid_r dlopen execv \
kill link lstat mkfifo mktime mremap \
kill link lstat mkfifo mktime mremap \
nice pathconf pause plock pthread_init \
nice pathconf pause plock pthread_init \
putenv readlink \
putenv readlink \
select setgid setlocale setuid setsid setpgid setpgrp setvbuf \
select setegid seteuid setgid \
setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf \
sigaction siginterrupt sigrelse strftime strptime symlink sysconf \
sigaction siginterrupt sigrelse strftime strptime symlink sysconf \
tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
truncate uname waitpid)
truncate uname waitpid)
...
...
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