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
9b75dca1
Commit
9b75dca1
authored
Aug 10, 2001
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expose nl_langinfo through locale where available.
parent
09379da7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
550 additions
and
321 deletions
+550
-321
Doc/lib/liblocale.tex
Doc/lib/liblocale.tex
+119
-0
Lib/encodings/aliases.py
Lib/encodings/aliases.py
+2
-0
Modules/_localemodule.c
Modules/_localemodule.c
+103
-0
configure
configure
+321
-320
configure.in
configure.in
+2
-1
pyconfig.h.in
pyconfig.h.in
+3
-0
No files found.
Doc/lib/liblocale.tex
View file @
9b75dca1
...
...
@@ -108,6 +108,15 @@ locale.setlocale(locale.LC_ALL, '')
\end{tableii}
\end{funcdesc}
\begin{funcdesc}
{
nl
_
langinfo
}{
option
}
Return some locale-specific information as a string. This function is
not available on all systems, and the set of possible options might
also vary across platforms. The possible argument values are numbers,
for which symbolic constants are available in the locale module.
\end{funcdesc}
\begin{funcdesc}
{
getdefaultlocale
}{
\optional
{
envvars
}}
Tries to determine the default locale settings and returns
them as a tuple of the form
\code
{
(
\var
{
language code
}
,
...
...
@@ -259,6 +268,116 @@ locale.setlocale(locale.LC_ALL, '')
\function
{
localeconv()
}
.
\end{datadesc}
The
\function
{
nl
_
langinfo
}
function accepts one of the following keys.
Most descriptions are taken from the corresponding description in the
GNU C library.
\begin{datadesc}
{
CODESET
}
Return a string with the name of the character encoding used in the
selected locale.
\end{datadesc}
\begin{datadesc}
{
D
_
T
_
FMT
}
Return a string that can be used as a format string for strftime(3) to
represent time and date in a locale-specific way.
\end{datadesc}
\begin{datadesc}
{
D
_
FMT
}
Return a string that can be used as a format string for strftime(3) to
represent a date in a locale-specific way.
\end{datadesc}
\begin{datadesc}
{
T
_
FMT
}
Return a string that can be used as a format string for strftime(3) to
represent a time in a locale-specific way.
\end{datadesc}
\begin{datadesc}
{
T
_
FMT
_
AMPM
}
The return value can be used as a format string for `strftime' to
represent time in the am/pm format.
\end{datadesc}
\begin{datadesc}
{
DAY
_
1 ... DAY
_
7
}
Return name of the n-th day of the week.
\[
Warning: this follows the US
convention DAY
_
1
=
Sunday, not the international convention
(
ISO
8601
)
that Monday is the first day of the week.
\]
\end{datadesc}
\begin{datadesc}
{
ABDAY
_
1 ... ABDAY
_
7
}
Return abbreviated name of the n-th day of the week.
\end{datadesc}
\begin{datadesc}
{
MON
_
1 ... MON
_
12
}
Return name of the n-th month.
\end{datadesc}
\begin{datadesc}
{
ABMON
_
1 ... ABMON
_
12
}
Return abbreviated name of the n-th month.
\end{datadesc}
\begin{datadesc}
{
RADIXCHAR
}
Return radix character (decimal dot, decimal comma, etc.)
\end{datadesc}
\begin{datadesc}
{
THOUSEP
}
Return separator character for thousands (groups of three digits).
\end{datadesc}
\begin{datadesc}
{
YESEXPR
}
Return a regular expression that can be used with the regex
function to recognize a positive response to a yes/no question.
\[
Warning: the expression is in the syntax suitable for the
regex C library function, which might differ from the syntax
used in
\module
{
re
}\]
\end{datadesc}
\begin{datadesc}
{
NOEXPR
}
Return a regular expression that can be used with the regex(3)
function to recognize a negative response to a yes/no question.
\end{datadesc}
\begin{datadesc}
{
CRNCYSTR
}
Return the currency symbol, preceded by "-" if the symbol should
appear before the value, "+" if the symbol should appear after the
value, or "." if the symbol should replace the radix character.
\end{datadesc}
\begin{datadesc}
{
ERA
}
The return value represents the era used in the current locale.
Most locales do not define this value. An example of a locale which
does define this value is the Japanese one. In Japan, the traditional
representation of dates includes the name of the era corresponding to
the then-emperor's reign.
Normally it should not be necessary to use this value directly.
Specifying the
\code
{
E
}
modifier in their format strings causes the
\function
{
strftime
}
function to use this information. The format of the
returned string is not specified, and therefore you should not assume
knowledge of it on different systems.
\end{datadesc}
\begin{datadesc}
{
ERA
_
YEAR
}
The return value gives the year in the relevant era of the locale.
\end{datadesc}
\begin{datadesc}
{
ERA
_
D
_
T
_
FMT
}
This return value can be used as a format string for
\function
{
strftime
}
to represent dates and times in a locale-specific
era-based way.
\end{datadesc}
\begin{datadesc}
{
ERA
_
D
_
FMT
}
This return value can be used as a format string for
\function
{
strftime
}
to represent time in a locale-specific era-based
way.
\end{datadesc}
\begin{datadesc}
{
ALT
_
DIGITS
}
The return value is a representation of up to 100 values used to
represent the values 0 to 99.
\end{datadesc}
Example:
\begin{verbatim}
...
...
Lib/encodings/aliases.py
View file @
9b75dca1
...
...
@@ -31,6 +31,8 @@ aliases = {
# ASCII
'us_ascii'
:
'ascii'
,
'ansi_x3.4_1968'
:
'ascii'
,
# used on Linux
'646'
:
'ascii'
,
# used on Solaris
# EBCDIC
'ebcdic_cp_us'
:
'cp037'
,
...
...
Modules/_localemodule.c
View file @
9b75dca1
...
...
@@ -17,6 +17,10 @@ This software comes with no warranty. Use at your own risk.
#include <string.h>
#include <ctype.h>
#ifdef HAVE_LANGINFO_H
#include <langinfo.h>
#endif
#if defined(MS_WIN32)
#define WINDOWS_LEAN_AND_MEAN
#include <windows.h>
...
...
@@ -391,6 +395,23 @@ PyLocale_getdefaultlocale(PyObject* self, PyObject* args)
}
#endif
#ifdef HAVE_LANGINFO_H
static
char
nl_langinfo__doc__
[]
=
"nl_langinfo(key) -> string
\n
"
"Return the value for the locale information associated with key."
;
static
PyObject
*
PyLocale_nl_langinfo
(
PyObject
*
self
,
PyObject
*
args
)
{
int
item
;
if
(
!
PyArg_ParseTuple
(
args
,
"i:nl_langinfo"
,
&
item
))
return
NULL
;
return
PyString_FromString
(
nl_langinfo
(
item
));
}
#endif
static
struct
PyMethodDef
PyLocale_Methods
[]
=
{
{
"setlocale"
,
(
PyCFunction
)
PyLocale_setlocale
,
METH_VARARGS
,
setlocale__doc__
},
...
...
@@ -403,6 +424,11 @@ static struct PyMethodDef PyLocale_Methods[] = {
#if defined(MS_WIN32) || defined(macintosh)
{
"_getdefaultlocale"
,
(
PyCFunction
)
PyLocale_getdefaultlocale
,
0
},
#endif
#ifdef HAVE_LANGINFO_H
{
"nl_langinfo"
,
(
PyCFunction
)
PyLocale_nl_langinfo
,
METH_VARARGS
,
nl_langinfo__doc__
},
#endif
{
NULL
,
NULL
}
};
...
...
@@ -455,4 +481,81 @@ init_locale(void)
x
=
PyString_FromString
(
locale__doc__
);
PyDict_SetItemString
(
d
,
"__doc__"
,
x
);
Py_XDECREF
(
x
);
#define ADDINT(X) PyModule_AddIntConstant(m, #X, X)
#ifdef HAVE_LANGINFO_H
/* These constants should exist on any langinfo implementation */
ADDINT
(
DAY_1
);
ADDINT
(
DAY_2
);
ADDINT
(
DAY_3
);
ADDINT
(
DAY_4
);
ADDINT
(
DAY_5
);
ADDINT
(
DAY_6
);
ADDINT
(
DAY_7
);
ADDINT
(
ABDAY_1
);
ADDINT
(
ABDAY_2
);
ADDINT
(
ABDAY_3
);
ADDINT
(
ABDAY_4
);
ADDINT
(
ABDAY_5
);
ADDINT
(
ABDAY_6
);
ADDINT
(
ABDAY_7
);
ADDINT
(
MON_1
);
ADDINT
(
MON_2
);
ADDINT
(
MON_3
);
ADDINT
(
MON_4
);
ADDINT
(
MON_5
);
ADDINT
(
MON_6
);
ADDINT
(
MON_7
);
ADDINT
(
MON_8
);
ADDINT
(
MON_9
);
ADDINT
(
MON_10
);
ADDINT
(
MON_11
);
ADDINT
(
MON_12
);
ADDINT
(
ABMON_1
);
ADDINT
(
ABMON_2
);
ADDINT
(
ABMON_3
);
ADDINT
(
ABMON_4
);
ADDINT
(
ABMON_5
);
ADDINT
(
ABMON_6
);
ADDINT
(
ABMON_7
);
ADDINT
(
ABMON_8
);
ADDINT
(
ABMON_9
);
ADDINT
(
ABMON_10
);
ADDINT
(
ABMON_11
);
ADDINT
(
ABMON_12
);
ADDINT
(
RADIXCHAR
);
ADDINT
(
THOUSEP
);
/* YESSTR and NOSTR are deprecated in glibc, since they are
a special case of message translation, which should be rather
done using gettext. So we don't expose it to Python in the
first place.
ADDINT(YESSTR);
ADDINT(NOSTR);
*/
ADDINT
(
CRNCYSTR
);
ADDINT
(
D_T_FMT
);
ADDINT
(
D_FMT
);
ADDINT
(
T_FMT
);
ADDINT
(
AM_STR
);
ADDINT
(
PM_STR
);
#ifdef CODESET
/* The following constants are available only with XPG4. */
ADDINT
(
CODESET
);
ADDINT
(
T_FMT_AMPM
);
ADDINT
(
ERA
);
ADDINT
(
ERA_D_FMT
);
ADDINT
(
ERA_D_T_FMT
);
ADDINT
(
ERA_T_FMT
);
ADDINT
(
ALT_DIGITS
);
ADDINT
(
YESEXPR
);
ADDINT
(
NOEXPR
);
ADDINT
(
_DATE_FMT
);
#endif
#endif
/* HAVE_LANGINFO_H */
}
configure
View file @
9b75dca1
#! /bin/sh
# From configure.in Revision: 1.24
1
# From configure.in Revision: 1.24
2
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
...
...
@@ -1880,7 +1880,8 @@ EOF
fi
for
ac_hdr
in
dlfcn.h fcntl.h limits.h locale.h ncurses.h poll.h pthread.h
\
for
ac_hdr
in
dlfcn.h fcntl.h limits.h langinfo.h locale.h
\
ncurses.h poll.h pthread.h
\
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h termios.h
\
sys/audioio.h sys/file.h sys/lock.h sys/modem.h db_185.h db.h
\
sys/param.h sys/poll.h sys/select.h sys/socket.h sys/time.h sys/times.h
\
...
...
@@ -1889,17 +1890,17 @@ ndbm.h db1/ndbm.h gdbm/ndbm.h sys/resource.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:189
3
: checking for
$ac_hdr
"
>
&5
echo
"configure:189
4
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 189
8
"configure"
#line 189
9
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:190
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:190
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1930,12 +1931,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
that defines DIR""...
$ac_c
"
1>&6
echo
"configure:193
4
: checking for
$ac_hdr
that defines DIR"
>
&5
echo
"configure:193
5
: checking for
$ac_hdr
that defines DIR"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_dirent_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 19
39
"configure"
#line 19
40
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_hdr
>
...
...
@@ -1943,7 +1944,7 @@ int main() {
DIR *dirp = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:194
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:194
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_header_dirent_
$ac_safe
=yes"
else
...
...
@@ -1968,7 +1969,7 @@ done
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if
test
$ac_header_dirent
=
dirent.h
;
then
echo
$ac_n
"checking for opendir in -ldir""...
$ac_c
"
1>&6
echo
"configure:197
2
: checking for opendir in -ldir"
>
&5
echo
"configure:197
3
: checking for opendir in -ldir"
>
&5
ac_lib_var
=
`
echo dir
'_'
opendir |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1976,7 +1977,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldir
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 198
0
"configure"
#line 198
1
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -1987,7 +1988,7 @@ int main() {
opendir()
; return 0; }
EOF
if
{
(
eval echo
configure:199
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:199
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2009,7 +2010,7 @@ fi
else
echo
$ac_n
"checking for opendir in -lx""...
$ac_c
"
1>&6
echo
"configure:201
3
: checking for opendir in -lx"
>
&5
echo
"configure:201
4
: checking for opendir in -lx"
>
&5
ac_lib_var
=
`
echo
x
'_'
opendir |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2017,7 +2018,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lx
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 202
1
"configure"
#line 202
2
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2028,7 +2029,7 @@ int main() {
opendir()
; return 0; }
EOF
if
{
(
eval echo
configure:203
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:203
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2054,9 +2055,9 @@ fi
# checks for typedefs
was_it_defined
=
no
echo
$ac_n
"checking for clock_t in time.h""...
$ac_c
"
1>&6
echo
"configure:205
8
: checking for clock_t in time.h"
>
&5
echo
"configure:205
9
: checking for clock_t in time.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 206
0
"configure"
#line 206
1
"configure"
#include "confdefs.h"
#include <time.h>
EOF
...
...
@@ -2084,12 +2085,12 @@ EOF
# Type availability checks
echo
$ac_n
"checking for mode_t""...
$ac_c
"
1>&6
echo
"configure:208
8
: checking for mode_t"
>
&5
echo
"configure:208
9
: checking for mode_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_mode_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 209
3
"configure"
#line 209
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -2117,12 +2118,12 @@ EOF
fi
echo
$ac_n
"checking for off_t""...
$ac_c
"
1>&6
echo
"configure:212
1
: checking for off_t"
>
&5
echo
"configure:212
2
: checking for off_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_off_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 212
6
"configure"
#line 212
7
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -2150,12 +2151,12 @@ EOF
fi
echo
$ac_n
"checking for pid_t""...
$ac_c
"
1>&6
echo
"configure:215
4
: checking for pid_t"
>
&5
echo
"configure:215
5
: checking for pid_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_pid_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 21
59
"configure"
#line 21
60
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -2183,12 +2184,12 @@ EOF
fi
echo
$ac_n
"checking return type of signal handlers""...
$ac_c
"
1>&6
echo
"configure:218
7
: checking return type of signal handlers"
>
&5
echo
"configure:218
8
: checking return type of signal handlers"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_signal
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 219
2
"configure"
#line 219
3
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
...
...
@@ -2205,7 +2206,7 @@ int main() {
int i;
; return 0; }
EOF
if
{
(
eval echo
configure:22
09
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:22
10
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_type_signal
=
void
else
...
...
@@ -2224,12 +2225,12 @@ EOF
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:222
8
: checking for size_t"
>
&5
echo
"configure:222
9
: checking for size_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 223
3
"configure"
#line 223
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -2257,12 +2258,12 @@ EOF
fi
echo
$ac_n
"checking for uid_t in sys/types.h""...
$ac_c
"
1>&6
echo
"configure:226
1
: checking for uid_t in sys/types.h"
>
&5
echo
"configure:226
2
: checking for uid_t in sys/types.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_uid_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 226
6
"configure"
#line 226
7
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -2293,7 +2294,7 @@ fi
# Sizes of various common basic types
echo
$ac_n
"checking size of int""...
$ac_c
"
1>&6
echo
"configure:229
7
: checking size of int"
>
&5
echo
"configure:229
8
: checking size of int"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_int
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2301,7 +2302,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 230
5
"configure"
#line 230
6
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2312,7 +2313,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:231
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:231
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_int
=
`
cat
conftestval
`
else
...
...
@@ -2332,7 +2333,7 @@ EOF
echo
$ac_n
"checking size of long""...
$ac_c
"
1>&6
echo
"configure:233
6
: checking size of long"
>
&5
echo
"configure:233
7
: checking size of long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2340,7 +2341,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 234
4
"configure"
#line 234
5
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2351,7 +2352,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:235
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:235
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long
=
`
cat
conftestval
`
else
...
...
@@ -2371,7 +2372,7 @@ EOF
echo
$ac_n
"checking size of void *""...
$ac_c
"
1>&6
echo
"configure:237
5
: checking size of void *"
>
&5
echo
"configure:237
6
: checking size of void *"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_void_p
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2379,7 +2380,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 238
3
"configure"
#line 238
4
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2390,7 +2391,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:239
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:239
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_void_p
=
`
cat
conftestval
`
else
...
...
@@ -2410,7 +2411,7 @@ EOF
echo
$ac_n
"checking size of char""...
$ac_c
"
1>&6
echo
"configure:241
4
: checking size of char"
>
&5
echo
"configure:241
5
: checking size of char"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_char
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2418,7 +2419,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 242
2
"configure"
#line 242
3
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2429,7 +2430,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:243
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:243
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_char
=
`
cat
conftestval
`
else
...
...
@@ -2449,7 +2450,7 @@ EOF
echo
$ac_n
"checking size of short""...
$ac_c
"
1>&6
echo
"configure:245
3
: checking size of short"
>
&5
echo
"configure:245
4
: checking size of short"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_short
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2457,7 +2458,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 246
1
"configure"
#line 246
2
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2468,7 +2469,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:247
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:247
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_short
=
`
cat
conftestval
`
else
...
...
@@ -2488,7 +2489,7 @@ EOF
echo
$ac_n
"checking size of float""...
$ac_c
"
1>&6
echo
"configure:249
2
: checking size of float"
>
&5
echo
"configure:249
3
: checking size of float"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_float
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2496,7 +2497,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 250
0
"configure"
#line 250
1
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2507,7 +2508,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:251
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:251
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_float
=
`
cat
conftestval
`
else
...
...
@@ -2527,7 +2528,7 @@ EOF
echo
$ac_n
"checking size of double""...
$ac_c
"
1>&6
echo
"configure:253
1
: checking size of double"
>
&5
echo
"configure:253
2
: checking size of double"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_double
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2535,7 +2536,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
39
"configure"
#line 25
40
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2546,7 +2547,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:255
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:255
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_double
=
`
cat
conftestval
`
else
...
...
@@ -2566,7 +2567,7 @@ EOF
echo
$ac_n
"checking size of fpos_t""...
$ac_c
"
1>&6
echo
"configure:257
0
: checking size of fpos_t"
>
&5
echo
"configure:257
1
: checking size of fpos_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_fpos_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2574,7 +2575,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 257
8
"configure"
#line 257
9
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2585,7 +2586,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:25
89
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:25
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_fpos_t
=
`
cat
conftestval
`
else
...
...
@@ -2606,17 +2607,17 @@ EOF
echo
$ac_n
"checking for long long support""...
$ac_c
"
1>&6
echo
"configure:261
0
: checking for long long support"
>
&5
echo
"configure:261
1
: checking for long long support"
>
&5
have_long_long
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 261
3
"configure"
#line 261
4
"configure"
#include "confdefs.h"
int main() {
long long x; x = (long long)0;
; return 0; }
EOF
if
{
(
eval echo
configure:262
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:262
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_LONG_LONG 1
...
...
@@ -2630,7 +2631,7 @@ rm -f conftest*
echo
"
$ac_t
""
$have_long_long
"
1>&6
if
test
"
$have_long_long
"
=
yes
;
then
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
"configure:263
4
: checking size of long long"
>
&5
echo
"configure:263
5
: checking size of long long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2638,7 +2639,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 264
2
"configure"
#line 264
3
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2649,7 +2650,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:265
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:265
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
else
...
...
@@ -2671,17 +2672,17 @@ EOF
fi
echo
$ac_n
"checking for uintptr_t support""...
$ac_c
"
1>&6
echo
"configure:267
5
: checking for uintptr_t support"
>
&5
echo
"configure:267
6
: checking for uintptr_t support"
>
&5
have_uintptr_t
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 267
8
"configure"
#line 267
9
"configure"
#include "confdefs.h"
int main() {
uintptr_t x; x = (uintptr_t)0;
; return 0; }
EOF
if
{
(
eval echo
configure:268
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:268
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_UINTPTR_T 1
...
...
@@ -2695,7 +2696,7 @@ rm -f conftest*
echo
"
$ac_t
""
$have_uintptr_t
"
1>&6
if
test
"
$have_uintptr_t
"
=
yes
;
then
echo
$ac_n
"checking size of uintptr_t""...
$ac_c
"
1>&6
echo
"configure:2
699
: checking size of uintptr_t"
>
&5
echo
"configure:2
700
: checking size of uintptr_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_uintptr_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2703,7 +2704,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 270
7
"configure"
#line 270
8
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2714,7 +2715,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:271
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:271
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_uintptr_t
=
`
cat
conftestval
`
else
...
...
@@ -2737,7 +2738,7 @@ fi
# Hmph. AC_CHECK_SIZEOF() doesn't include <sys/types.h>.
echo
$ac_n
"checking size of off_t""...
$ac_c
"
1>&6
echo
"configure:274
1
: checking size of off_t"
>
&5
echo
"configure:274
2
: checking size of off_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_off_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2745,7 +2746,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
49
"configure"
#line 27
50
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
...
...
@@ -2757,7 +2758,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:276
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:276
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_off_t
=
`
cat
conftestval
`
else
...
...
@@ -2779,7 +2780,7 @@ EOF
echo
$ac_n
"checking whether to enable large file support""...
$ac_c
"
1>&6
echo
"configure:278
3
: checking whether to enable large file support"
>
&5
echo
"configure:278
4
: checking whether to enable large file support"
>
&5
if
test
"
$have_long_long
"
=
yes
-a
\
"
$ac_cv_sizeof_off_t
"
-gt
"
$ac_cv_sizeof_long
"
-a
\
"
$ac_cv_sizeof_long_long
"
-ge
"
$ac_cv_sizeof_off_t
"
;
then
...
...
@@ -2794,7 +2795,7 @@ fi
# AC_CHECK_SIZEOF() doesn't include <time.h>.
echo
$ac_n
"checking size of time_t""...
$ac_c
"
1>&6
echo
"configure:279
8
: checking size of time_t"
>
&5
echo
"configure:279
9
: checking size of time_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_time_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2802,7 +2803,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 280
6
"configure"
#line 280
7
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <time.h>
...
...
@@ -2814,7 +2815,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:281
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:281
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_time_t
=
`
cat
conftestval
`
else
...
...
@@ -2842,17 +2843,17 @@ if test "$ac_cv_kpthread" = "yes"
then
CC
=
"
$CC
-Kpthread"
fi
echo
$ac_n
"checking for pthread_t""...
$ac_c
"
1>&6
echo
"configure:284
6
: checking for pthread_t"
>
&5
echo
"configure:284
7
: checking for pthread_t"
>
&5
have_pthread_t
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
49
"configure"
#line 28
50
"configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
pthread_t x; x = *(pthread_t*)0;
; return 0; }
EOF
if
{
(
eval echo
configure:285
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:285
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
have_pthread_t
=
yes
else
...
...
@@ -2864,7 +2865,7 @@ echo "$ac_t""$have_pthread_t" 1>&6
if
test
"
$have_pthread_t
"
=
yes
;
then
# AC_CHECK_SIZEOF() doesn't include <pthread.h>.
echo
$ac_n
"checking size of pthread_t""...
$ac_c
"
1>&6
echo
"configure:286
8
: checking size of pthread_t"
>
&5
echo
"configure:286
9
: checking size of pthread_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_pthread_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2872,7 +2873,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 287
6
"configure"
#line 287
7
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <pthread.h>
...
...
@@ -2884,7 +2885,7 @@ else
exit(0);
}
EOF
if
{
(
eval echo
configure:288
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:288
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_pthread_t
=
`
cat
conftestval
`
else
...
...
@@ -2922,7 +2923,7 @@ case $ac_sys_system/$ac_sys_release in
esac
echo
$ac_n
"checking for --with-next-framework""...
$ac_c
"
1>&6
echo
"configure:292
6
: checking for --with-next-framework"
>
&5
echo
"configure:292
7
: checking for --with-next-framework"
>
&5
if
test
"
$with_next_framework
"
then
OPT
=
"
$OPT
-fno-common -dynamic"
...
...
@@ -2939,7 +2940,7 @@ else
fi
echo
$ac_n
"checking for --with-dyld""...
$ac_c
"
1>&6
echo
"configure:294
3
: checking for --with-dyld"
>
&5
echo
"configure:294
4
: checking for --with-dyld"
>
&5
case
$ac_sys_system
/
$ac_sys_release
in
Darwin/
*
)
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -2976,7 +2977,7 @@ esac
# SO is the extension of shared libraries `(including the dot!)
# -- usually .so, .sl on HP-UX, .dll on Cygwin
echo
$ac_n
"checking SO""...
$ac_c
"
1>&6
echo
"configure:298
0
: checking SO"
>
&5
echo
"configure:298
1
: checking SO"
>
&5
if
test
-z
"
$SO
"
then
case
$ac_sys_system
in
...
...
@@ -2991,7 +2992,7 @@ echo "$ac_t""$SO" 1>&6
# (Shared libraries in this instance are shared modules to be loaded into
# Python, as opposed to building Python itself as a shared library.)
echo
$ac_n
"checking LDSHARED""...
$ac_c
"
1>&6
echo
"configure:299
5
: checking LDSHARED"
>
&5
echo
"configure:299
6
: checking LDSHARED"
>
&5
if
test
-z
"
$LDSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -3061,7 +3062,7 @@ BLDSHARED=${BLDSHARED-$LDSHARED}
# CCSHARED are the C *flags* used to create objects to go into a shared
# library (module) -- this is only needed for a few systems
echo
$ac_n
"checking CCSHARED""...
$ac_c
"
1>&6
echo
"configure:306
5
: checking CCSHARED"
>
&5
echo
"configure:306
6
: checking CCSHARED"
>
&5
if
test
-z
"
$CCSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -3094,7 +3095,7 @@ echo "$ac_t""$CCSHARED" 1>&6
# LINKFORSHARED are the flags passed to the $(CC) command that links
# the python executable -- this is only needed for a few systems
echo
$ac_n
"checking LINKFORSHARED""...
$ac_c
"
1>&6
echo
"configure:309
8
: checking LINKFORSHARED"
>
&5
echo
"configure:309
9
: checking LINKFORSHARED"
>
&5
if
test
-z
"
$LINKFORSHARED
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -3132,7 +3133,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
echo
$ac_n
"checking CFLAGSFORSHARED""...
$ac_c
"
1>&6
echo
"configure:313
6
: checking CFLAGSFORSHARED"
>
&5
echo
"configure:313
7
: checking CFLAGSFORSHARED"
>
&5
if
test
!
"
$LIBRARY
"
=
"
$LDLIBRARY
"
then
case
$ac_sys_system
in
...
...
@@ -3148,7 +3149,7 @@ echo "$ac_t""$CFLAGSFORSHARED" 1>&6
# checks for libraries
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:315
2
: checking for dlopen in -ldl"
>
&5
echo
"configure:315
3
: checking for dlopen in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
dlopen |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3156,7 +3157,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 316
0
"configure"
#line 316
1
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3167,7 +3168,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:317
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:317
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3195,7 +3196,7 @@ else
fi
# Dynamic linking for SunOS/Solaris and SYSV
echo
$ac_n
"checking for shl_load in -ldld""...
$ac_c
"
1>&6
echo
"configure:3
199
: checking for shl_load in -ldld"
>
&5
echo
"configure:3
200
: checking for shl_load in -ldld"
>
&5
ac_lib_var
=
`
echo
dld
'_'
shl_load |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3203,7 +3204,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldld
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 320
7
"configure"
#line 320
8
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3214,7 +3215,7 @@ int main() {
shl_load()
; return 0; }
EOF
if
{
(
eval echo
configure:321
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:321
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3245,16 +3246,16 @@ fi
# checks for system dependent C++ extensions support
case
"
$ac_sys_system
"
in
AIX
*
)
echo
$ac_n
"checking for genuine AIX C++ extensions support""...
$ac_c
"
1>&6
echo
"configure:32
49
: checking for genuine AIX C++ extensions support"
>
&5
echo
"configure:32
50
: checking for genuine AIX C++ extensions support"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 325
1
"configure"
#line 325
2
"configure"
#include "confdefs.h"
#include "/usr/lpp/xlC/include/load.h"
int main() {
loadAndInit("", 0, "")
; return 0; }
EOF
if
{
(
eval echo
configure:325
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:325
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define AIX_GENUINE_CPLUSPLUS 1
...
...
@@ -3278,7 +3279,7 @@ case "$ac_sys_system" in
IRIX
*
)
;;
*
)
echo
$ac_n
"checking for t_open in -lnsl""...
$ac_c
"
1>&6
echo
"configure:328
2
: checking for t_open in -lnsl"
>
&5
echo
"configure:328
3
: checking for t_open in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
t_open |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3286,7 +3287,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 329
0
"configure"
#line 329
1
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3297,7 +3298,7 @@ int main() {
t_open()
; return 0; }
EOF
if
{
(
eval echo
configure:330
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:330
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3318,7 +3319,7 @@ else
fi
# SVR4
echo
$ac_n
"checking for socket in -lsocket""...
$ac_c
"
1>&6
echo
"configure:332
2
: checking for socket in -lsocket"
>
&5
echo
"configure:332
3
: checking for socket in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
socket |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3326,7 +3327,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 333
0
"configure"
#line 333
1
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3337,7 +3338,7 @@ int main() {
socket()
; return 0; }
EOF
if
{
(
eval echo
configure:334
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:334
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3362,7 +3363,7 @@ esac
case
"
$ac_sys_system
"
in
BeOS
*
)
echo
$ac_n
"checking for socket in -lnet""...
$ac_c
"
1>&6
echo
"configure:336
6
: checking for socket in -lnet"
>
&5
echo
"configure:336
7
: checking for socket in -lnet"
>
&5
ac_lib_var
=
`
echo
net
'_'
socket |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3370,7 +3371,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnet
$LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 337
4
"configure"
#line 337
5
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3381,7 +3382,7 @@ int main() {
socket()
; return 0; }
EOF
if
{
(
eval echo
configure:338
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:338
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3405,7 +3406,7 @@ fi
esac
echo
$ac_n
"checking for --with-libs""...
$ac_c
"
1>&6
echo
"configure:34
09
: checking for --with-libs"
>
&5
echo
"configure:34
10
: checking for --with-libs"
>
&5
# Check whether --with-libs or --without-libs was given.
if
test
"
${
with_libs
+set
}
"
=
set
;
then
withval
=
"
$with_libs
"
...
...
@@ -3422,7 +3423,7 @@ fi
echo
$ac_n
"checking for --with-signal-module""...
$ac_c
"
1>&6
echo
"configure:342
6
: checking for --with-signal-module"
>
&5
echo
"configure:342
7
: checking for --with-signal-module"
>
&5
# Check whether --with-signal-module or --without-signal-module was given.
if
test
"
${
with_signal_module
+set
}
"
=
set
;
then
withval
=
"
$with_signal_module
"
...
...
@@ -3448,7 +3449,7 @@ fi
USE_THREAD_MODULE
=
""
echo
$ac_n
"checking for --with-dec-threads""...
$ac_c
"
1>&6
echo
"configure:345
2
: checking for --with-dec-threads"
>
&5
echo
"configure:345
3
: checking for --with-dec-threads"
>
&5
# Check whether --with-dec-threads or --without-dec-threads was given.
if
test
"
${
with_dec_threads
+set
}
"
=
set
;
then
...
...
@@ -3465,7 +3466,7 @@ fi
echo
$ac_n
"checking for --with-threads""...
$ac_c
"
1>&6
echo
"configure:34
69
: checking for --with-threads"
>
&5
echo
"configure:34
70
: checking for --with-threads"
>
&5
# Check whether --with-threads or --without-threads was given.
if
test
"
${
with_threads
+set
}
"
=
set
;
then
withval
=
"
$with_threads
"
...
...
@@ -3515,17 +3516,17 @@ EOF
ac_safe
=
`
echo
"mach/cthreads.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for mach/cthreads.h""...
$ac_c
"
1>&6
echo
"configure:35
19
: checking for mach/cthreads.h"
>
&5
echo
"configure:35
20
: checking for mach/cthreads.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 352
4
"configure"
#line 352
5
"configure"
#include "confdefs.h"
#include <mach/cthreads.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:35
29
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:35
30
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3554,7 +3555,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for --with-pth""...
$ac_c
"
1>&6
echo
"configure:355
8
: checking for --with-pth"
>
&5
echo
"configure:355
9
: checking for --with-pth"
>
&5
# Check whether --with-pth or --without-pth was given.
if
test
"
${
with_pth
+set
}
"
=
set
;
then
withval
=
"
$with_pth
"
...
...
@@ -3574,7 +3575,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthread""...
$ac_c
"
1>&6
echo
"configure:357
8
: checking for pthread_create in -lpthread"
>
&5
echo
"configure:357
9
: checking for pthread_create in -lpthread"
>
&5
ac_lib_var
=
`
echo
pthread
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3582,7 +3583,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 358
6
"configure"
#line 358
7
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3593,7 +3594,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:359
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:359
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3625,12 +3626,12 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_detach""...
$ac_c
"
1>&6
echo
"configure:36
29
: checking for pthread_detach"
>
&5
echo
"configure:36
30
: checking for pthread_detach"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_pthread_detach
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 363
4
"configure"
#line 363
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_detach(); below. */
...
...
@@ -3653,7 +3654,7 @@ pthread_detach();
; return 0; }
EOF
if
{
(
eval echo
configure:365
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:365
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_pthread_detach=yes"
else
...
...
@@ -3684,17 +3685,17 @@ else
ac_safe
=
`
echo
"kernel/OS.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for kernel/OS.h""...
$ac_c
"
1>&6
echo
"configure:368
8
: checking for kernel/OS.h"
>
&5
echo
"configure:368
9
: checking for kernel/OS.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 369
3
"configure"
#line 369
4
"configure"
#include "confdefs.h"
#include <kernel/OS.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:369
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:369
9
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3723,7 +3724,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lpthreads""...
$ac_c
"
1>&6
echo
"configure:372
7
: checking for pthread_create in -lpthreads"
>
&5
echo
"configure:372
8
: checking for pthread_create in -lpthreads"
>
&5
ac_lib_var
=
`
echo
pthreads
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3731,7 +3732,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthreads
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 373
5
"configure"
#line 373
6
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3742,7 +3743,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:374
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:374
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3771,7 +3772,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lc_r""...
$ac_c
"
1>&6
echo
"configure:377
5
: checking for pthread_create in -lc_r"
>
&5
echo
"configure:377
6
: checking for pthread_create in -lc_r"
>
&5
ac_lib_var
=
`
echo
c_r
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3779,7 +3780,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lc_r
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 378
3
"configure"
#line 378
4
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3790,7 +3791,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:379
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:379
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3819,7 +3820,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __d6_pthread_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:382
3
: checking for __d6_pthread_create in -lthread"
>
&5
echo
"configure:382
4
: checking for __d6_pthread_create in -lthread"
>
&5
ac_lib_var
=
`
echo
thread
'_'
__d6_pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3827,7 +3828,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 383
1
"configure"
#line 383
2
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3838,7 +3839,7 @@ int main() {
__d6_pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:384
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:384
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3867,7 +3868,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __pthread_create_system in -lpthread""...
$ac_c
"
1>&6
echo
"configure:387
1
: checking for __pthread_create_system in -lpthread"
>
&5
echo
"configure:387
2
: checking for __pthread_create_system in -lpthread"
>
&5
ac_lib_var
=
`
echo
pthread
'_'
__pthread_create_system |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3875,7 +3876,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lpthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
79
"configure"
#line 38
80
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3886,7 +3887,7 @@ int main() {
__pthread_create_system()
; return 0; }
EOF
if
{
(
eval echo
configure:389
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:389
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3915,7 +3916,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for pthread_create in -lcma""...
$ac_c
"
1>&6
echo
"configure:39
19
: checking for pthread_create in -lcma"
>
&5
echo
"configure:39
20
: checking for pthread_create in -lcma"
>
&5
ac_lib_var
=
`
echo
cma
'_'
pthread_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3923,7 +3924,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcma
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 392
7
"configure"
#line 392
8
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3934,7 +3935,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if
{
(
eval echo
configure:393
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:393
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3986,7 +3987,7 @@ fi
echo
$ac_n
"checking for usconfig in -lmpc""...
$ac_c
"
1>&6
echo
"configure:399
0
: checking for usconfig in -lmpc"
>
&5
echo
"configure:399
1
: checking for usconfig in -lmpc"
>
&5
ac_lib_var
=
`
echo
mpc
'_'
usconfig |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3994,7 +3995,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmpc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 399
8
"configure"
#line 399
9
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4005,7 +4006,7 @@ int main() {
usconfig()
; return 0; }
EOF
if
{
(
eval echo
configure:40
09
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4032,7 +4033,7 @@ else
fi
echo
$ac_n
"checking for thr_create in -lthread""...
$ac_c
"
1>&6
echo
"configure:403
6
: checking for thr_create in -lthread"
>
&5
echo
"configure:403
7
: checking for thr_create in -lthread"
>
&5
ac_lib_var
=
`
echo
thread
'_'
thr_create |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4040,7 +4041,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lthread
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 404
4
"configure"
#line 404
5
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4051,7 +4052,7 @@ int main() {
thr_create()
; return 0; }
EOF
if
{
(
eval echo
configure:405
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:405
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4090,7 +4091,7 @@ fi
# Check for enable-ipv6
echo
$ac_n
"checking whether to enable ipv6""...
$ac_c
"
1>&6
echo
"configure:409
4
: checking whether to enable ipv6"
>
&5
echo
"configure:409
5
: checking whether to enable ipv6"
>
&5
# Check whether --enable-ipv6 or --disable-ipv6 was given.
if
test
"
${
enable_ipv6
+set
}
"
=
set
;
then
enableval
=
"
$enable_ipv6
"
...
...
@@ -4114,7 +4115,7 @@ else
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 411
8
"configure"
#line 411
9
"configure"
#include "confdefs.h"
/* AF_INET6 available check */
#include <sys/types.h>
...
...
@@ -4128,7 +4129,7 @@ main()
}
EOF
if
{
(
eval echo
configure:413
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:413
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -4155,12 +4156,12 @@ ipv6trylibc=no
if
test
"
$ipv6
"
=
"yes"
;
then
echo
$ac_n
"checking ipv6 stack type""...
$ac_c
"
1>&6
echo
"configure:41
59
: checking ipv6 stack type"
>
&5
echo
"configure:41
60
: checking ipv6 stack type"
>
&5
for
i
in
inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta
;
do
case
$i
in
inria
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 416
4
"configure"
#line 416
5
"configure"
#include "confdefs.h"
dnl
#include <netinet/in.h>
...
...
@@ -4179,7 +4180,7 @@ rm -f conftest*
;;
kame
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 418
3
"configure"
#line 418
4
"configure"
#include "confdefs.h"
dnl
#include <netinet/in.h>
...
...
@@ -4201,7 +4202,7 @@ rm -f conftest*
;;
linux-glibc
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 420
5
"configure"
#line 420
6
"configure"
#include "confdefs.h"
dnl
#include <features.h>
...
...
@@ -4238,7 +4239,7 @@ rm -f conftest*
;;
toshiba
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 424
2
"configure"
#line 424
3
"configure"
#include "confdefs.h"
dnl
#include <sys/param.h>
...
...
@@ -4259,7 +4260,7 @@ rm -f conftest*
;;
v6d
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 426
3
"configure"
#line 426
4
"configure"
#include "confdefs.h"
dnl
#include </usr/local/v6/include/sys/v6config.h>
...
...
@@ -4280,7 +4281,7 @@ rm -f conftest*
;;
zeta
)
cat
>
conftest.
$ac_ext
<<
EOF
#line 428
4
"configure"
#line 428
5
"configure"
#include "confdefs.h"
dnl
#include <sys/param.h>
...
...
@@ -4327,7 +4328,7 @@ fi
USE_GC_MODULE
=
""
echo
$ac_n
"checking for --with-cycle-gc""...
$ac_c
"
1>&6
echo
"configure:433
1
: checking for --with-cycle-gc"
>
&5
echo
"configure:433
2
: checking for --with-cycle-gc"
>
&5
# Check whether --with-cycle-gc or --without-cycle-gc was given.
if
test
"
${
with_cycle_gc
+set
}
"
=
set
;
then
withval
=
"
$with_cycle_gc
"
...
...
@@ -4351,7 +4352,7 @@ echo "$ac_t""$with_cycle_gc" 1>&6
# Check for Python-specific malloc support
echo
$ac_n
"checking for --with-pymalloc""...
$ac_c
"
1>&6
echo
"configure:435
5
: checking for --with-pymalloc"
>
&5
echo
"configure:435
6
: checking for --with-pymalloc"
>
&5
# Check whether --with-pymalloc or --without-pymalloc was given.
if
test
"
${
with_pymalloc
+set
}
"
=
set
;
then
withval
=
"
$with_pymalloc
"
...
...
@@ -4370,7 +4371,7 @@ fi
# Check for --with-wctype-functions
echo
$ac_n
"checking for --with-wctype-functions""...
$ac_c
"
1>&6
echo
"configure:437
4
: checking for --with-wctype-functions"
>
&5
echo
"configure:437
5
: checking for --with-wctype-functions"
>
&5
# Check whether --with-wctype-functions or --without-wctype-functions was given.
if
test
"
${
with_wctype_functions
+set
}
"
=
set
;
then
withval
=
"
$with_wctype_functions
"
...
...
@@ -4392,7 +4393,7 @@ fi
DLINCLDIR
=
/
echo
$ac_n
"checking for --with-sgi-dl""...
$ac_c
"
1>&6
echo
"configure:439
6
: checking for --with-sgi-dl"
>
&5
echo
"configure:439
7
: checking for --with-sgi-dl"
>
&5
# Check whether --with-sgi-dl or --without-sgi-dl was given.
if
test
"
${
with_sgi_dl
+set
}
"
=
set
;
then
withval
=
"
$with_sgi_dl
"
...
...
@@ -4416,7 +4417,7 @@ fi
echo
$ac_n
"checking for --with-dl-dld""...
$ac_c
"
1>&6
echo
"configure:442
0
: checking for --with-dl-dld"
>
&5
echo
"configure:442
1
: checking for --with-dl-dld"
>
&5
# Check whether --with-dl-dld or --without-dl-dld was given.
if
test
"
${
with_dl_dld
+set
}
"
=
set
;
then
withval
=
"
$with_dl_dld
"
...
...
@@ -4445,12 +4446,12 @@ fi
for
ac_func
in
dlopen
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:44
49
: checking for
$ac_func
"
>
&5
echo
"configure:44
50
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 445
4
"configure"
#line 445
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4473,7 +4474,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:447
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:447
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4502,7 +4503,7 @@ done
# loading of modules.
echo
$ac_n
"checking DYNLOADFILE""...
$ac_c
"
1>&6
echo
"configure:450
6
: checking DYNLOADFILE"
>
&5
echo
"configure:450
7
: checking DYNLOADFILE"
>
&5
if
test
-z
"
$DYNLOADFILE
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -4533,7 +4534,7 @@ fi
echo
$ac_n
"checking MACHDEP_OBJS""...
$ac_c
"
1>&6
echo
"configure:453
7
: checking MACHDEP_OBJS"
>
&5
echo
"configure:453
8
: checking MACHDEP_OBJS"
>
&5
if
test
-z
"
$MACHDEP_OBJS
"
then
case
$ac_sys_system
/
$ac_sys_release
in
...
...
@@ -4563,12 +4564,12 @@ for ac_func in alarm chown clock confstr ctermid ctermid_r execv \
truncate uname
waitpid _getpty getpriority
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:456
7
: checking for
$ac_func
"
>
&5
echo
"configure:456
8
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 457
2
"configure"
#line 457
3
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4591,7 +4592,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:459
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:459
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4621,12 +4622,12 @@ done
for
ac_func
in
openpty
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:462
5
: checking for
$ac_func
"
>
&5
echo
"configure:462
6
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 463
0
"configure"
#line 463
1
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4649,7 +4650,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:465
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:465
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4671,7 +4672,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for openpty in -lutil""...
$ac_c
"
1>&6
echo
"configure:467
5
: checking for openpty in -lutil"
>
&5
echo
"configure:467
6
: checking for openpty in -lutil"
>
&5
ac_lib_var
=
`
echo
util
'_'
openpty |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4679,7 +4680,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 468
3
"configure"
#line 468
4
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4690,7 +4691,7 @@ int main() {
openpty()
; return 0; }
EOF
if
{
(
eval echo
configure:469
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:469
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4719,12 +4720,12 @@ done
for
ac_func
in
forkpty
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:472
3
: checking for
$ac_func
"
>
&5
echo
"configure:472
4
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 472
8
"configure"
#line 472
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4747,7 +4748,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:475
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:475
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4769,7 +4770,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for forkpty in -lutil""...
$ac_c
"
1>&6
echo
"configure:477
3
: checking for forkpty in -lutil"
>
&5
echo
"configure:477
4
: checking for forkpty in -lutil"
>
&5
ac_lib_var
=
`
echo
util
'_'
forkpty |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4777,7 +4778,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 478
1
"configure"
#line 478
2
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4788,7 +4789,7 @@ int main() {
forkpty()
; return 0; }
EOF
if
{
(
eval echo
configure:479
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:479
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4819,12 +4820,12 @@ done
for
ac_func
in
fseek64 fseeko fstatvfs ftell64 ftello statvfs
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:482
3
: checking for
$ac_func
"
>
&5
echo
"configure:482
4
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 482
8
"configure"
#line 482
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4847,7 +4848,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:485
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:485
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4875,12 +4876,12 @@ done
for
ac_func
in
dup2 getcwd strdup strerror memmove
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:48
79
: checking for
$ac_func
"
>
&5
echo
"configure:48
80
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 488
4
"configure"
#line 488
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4903,7 +4904,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:490
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:490
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4932,12 +4933,12 @@ done
for
ac_func
in
getpgrp
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:493
6
: checking for
$ac_func
"
>
&5
echo
"configure:493
7
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 494
1
"configure"
#line 494
2
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4960,7 +4961,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:496
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:496
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4979,14 +4980,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 498
3
"configure"
#line 498
4
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
getpgrp(0);
; return 0; }
EOF
if
{
(
eval echo
configure:499
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:499
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define GETPGRP_HAVE_ARG 1
...
...
@@ -5005,12 +5006,12 @@ done
for
ac_func
in
setpgrp
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:50
09
: checking for
$ac_func
"
>
&5
echo
"configure:50
10
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 501
4
"configure"
#line 501
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5033,7 +5034,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:503
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:503
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5052,14 +5053,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 505
6
"configure"
#line 505
7
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
setpgrp(0,0);
; return 0; }
EOF
if
{
(
eval echo
configure:506
3
:
\"
$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
*
cat
>>
confdefs.h
<<
\
EOF
#define SETPGRP_HAVE_ARG 1
...
...
@@ -5078,12 +5079,12 @@ done
for
ac_func
in
gettimeofday
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:508
2
: checking for
$ac_func
"
>
&5
echo
"configure:508
3
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 508
7
"configure"
#line 508
8
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5106,7 +5107,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:511
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:511
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5125,14 +5126,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
29
"configure"
#line 51
30
"configure"
#include "confdefs.h"
#include <sys/time.h>
int main() {
gettimeofday((struct timeval*)0,(struct timezone*)0);
; return 0; }
EOF
if
{
(
eval echo
configure:513
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:513
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -5153,12 +5154,12 @@ done
for
ac_func
in
getaddrinfo
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:515
7
: checking for
$ac_func
"
>
&5
echo
"configure:515
8
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 516
2
"configure"
#line 516
3
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5181,7 +5182,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:518
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:518
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5200,13 +5201,13 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
#define
$ac_tr_func
1
EOF
echo
$ac_n
"checking getaddrinfo bug""...
$ac_c
"
1>&6
echo
"configure:520
4
: checking getaddrinfo bug"
>
&5
echo
"configure:520
5
: checking getaddrinfo bug"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
echo
"
$ac_t
""buggy"
1>&6
buggygetaddrinfo
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 521
0
"configure"
#line 521
1
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5295,7 +5296,7 @@ main()
}
EOF
if
{
(
eval echo
configure:5
299
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:5
300
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
echo
"
$ac_t
""good"
1>&6
buggygetaddrinfo
=
no
...
...
@@ -5326,12 +5327,12 @@ fi
for
ac_func
in
getnameinfo
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:533
0
: checking for
$ac_func
"
>
&5
echo
"configure:533
1
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 533
5
"configure"
#line 533
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5354,7 +5355,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:535
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:535
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5381,12 +5382,12 @@ done
# checks for structures
echo
$ac_n
"checking whether time.h and sys/time.h may both be included""...
$ac_c
"
1>&6
echo
"configure:538
5
: checking whether time.h and sys/time.h may both be included"
>
&5
echo
"configure:538
6
: checking whether time.h and sys/time.h may both be included"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 539
0
"configure"
#line 539
1
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -5395,7 +5396,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if
{
(
eval echo
configure:5
399
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
400
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time
=
yes
else
...
...
@@ -5416,12 +5417,12 @@ EOF
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:542
0
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:542
1
: checking whether struct tm is in sys/time.h or time.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 542
5
"configure"
#line 542
6
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -5429,7 +5430,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:543
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:543
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -5450,12 +5451,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:545
4
: checking for tm_zone in struct tm"
>
&5
echo
"configure:545
5
: checking for tm_zone in struct tm"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
59
"configure"
#line 54
60
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -5463,7 +5464,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:546
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:546
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -5483,12 +5484,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:548
7
: checking for tzname"
>
&5
echo
"configure:548
8
: checking for tzname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 549
2
"configure"
#line 549
3
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -5498,7 +5499,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:550
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:550
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -5521,19 +5522,19 @@ fi
echo
$ac_n
"checking for time.h that defines altzone""...
$ac_c
"
1>&6
echo
"configure:552
5
: checking for time.h that defines altzone"
>
&5
echo
"configure:552
6
: checking for time.h that defines altzone"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_time_altzone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 553
0
"configure"
#line 553
1
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
return altzone;
; return 0; }
EOF
if
{
(
eval echo
configure:553
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:553
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_time_altzone
=
yes
else
...
...
@@ -5555,9 +5556,9 @@ fi
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
"configure:55
59
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
echo
"configure:55
60
: checking whether sys/select.h and sys/time.h may both be included"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 556
1
"configure"
#line 556
2
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5568,7 +5569,7 @@ int main() {
;
; return 0; }
EOF
if
{
(
eval echo
configure:557
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:557
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define SYS_SELECT_WITH_SYS_TIME 1
...
...
@@ -5582,12 +5583,12 @@ rm -f conftest*
echo
"
$ac_t
""
$was_it_defined
"
1>&6
echo
$ac_n
"checking for addrinfo""...
$ac_c
"
1>&6
echo
"configure:558
6
: checking for addrinfo"
>
&5
echo
"configure:558
7
: checking for addrinfo"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_addrinfo
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 559
1
"configure"
#line 559
2
"configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -5595,7 +5596,7 @@ int main() {
struct addrinfo a
; return 0; }
EOF
if
{
(
eval echo
configure:5
599
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
600
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_addrinfo
=
yes
else
...
...
@@ -5616,12 +5617,12 @@ EOF
fi
echo
$ac_n
"checking for sockaddr_storage""...
$ac_c
"
1>&6
echo
"configure:562
0
: checking for sockaddr_storage"
>
&5
echo
"configure:562
1
: checking for sockaddr_storage"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_sockaddr_storage
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 562
5
"configure"
#line 562
6
"configure"
#include "confdefs.h"
# include <sys/types.h>
...
...
@@ -5630,7 +5631,7 @@ int main() {
struct sockaddr_storage s
; return 0; }
EOF
if
{
(
eval echo
configure:563
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:563
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_sockaddr_storage
=
yes
else
...
...
@@ -5653,14 +5654,14 @@ fi
# checks for compiler characteristics
echo
$ac_n
"checking whether char is unsigned""...
$ac_c
"
1>&6
echo
"configure:565
7
: checking whether char is unsigned"
>
&5
echo
"configure:565
8
: checking whether char is unsigned"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_char_unsigned
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
if
test
"
$GCC
"
=
yes
;
then
# GCC predefines this symbol on systems where it applies.
cat
>
conftest.
$ac_ext
<<
EOF
#line 566
4
"configure"
#line 566
5
"configure"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
yes
...
...
@@ -5682,7 +5683,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 568
6
"configure"
#line 568
7
"configure"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1
...
...
@@ -5692,7 +5693,7 @@ main() {
volatile char c = 255; exit(c < 0);
}
EOF
if
{
(
eval echo
configure:569
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:569
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_char_unsigned
=
yes
else
...
...
@@ -5716,12 +5717,12 @@ EOF
fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:572
0
: checking for working const"
>
&5
echo
"configure:572
1
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 572
5
"configure"
#line 572
6
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -5770,7 +5771,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:577
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:577
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -5793,16 +5794,16 @@ fi
works
=
no
echo
$ac_n
"checking for working volatile""...
$ac_c
"
1>&6
echo
"configure:579
7
: checking for working volatile"
>
&5
echo
"configure:579
8
: checking for working volatile"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
799
"configure"
#line 5
800
"configure"
#include "confdefs.h"
int main() {
volatile int x; x = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:580
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:580
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -5819,16 +5820,16 @@ echo "$ac_t""$works" 1>&6
works
=
no
echo
$ac_n
"checking for working signed char""...
$ac_c
"
1>&6
echo
"configure:582
3
: checking for working signed char"
>
&5
echo
"configure:582
4
: checking for working signed char"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 582
5
"configure"
#line 582
6
"configure"
#include "confdefs.h"
int main() {
signed char c;
; return 0; }
EOF
if
{
(
eval echo
configure:583
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:583
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
works
=
yes
else
...
...
@@ -5845,16 +5846,16 @@ echo "$ac_t""$works" 1>&6
have_prototypes
=
no
echo
$ac_n
"checking for prototypes""...
$ac_c
"
1>&6
echo
"configure:58
49
: checking for prototypes"
>
&5
echo
"configure:58
50
: checking for prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 585
1
"configure"
#line 585
2
"configure"
#include "confdefs.h"
int foo(int x) { return 0; }
int main() {
return foo(10);
; return 0; }
EOF
if
{
(
eval echo
configure:585
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:585
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_PROTOTYPES 1
...
...
@@ -5869,9 +5870,9 @@ echo "$ac_t""$have_prototypes" 1>&6
works
=
no
echo
$ac_n
"checking for variable length prototypes and stdarg.h""...
$ac_c
"
1>&6
echo
"configure:587
3
: checking for variable length prototypes and stdarg.h"
>
&5
echo
"configure:587
4
: checking for variable length prototypes and stdarg.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 587
5
"configure"
#line 587
6
"configure"
#include "confdefs.h"
#include <stdarg.h>
...
...
@@ -5888,7 +5889,7 @@ int main() {
return foo(10, "", 3.14);
; return 0; }
EOF
if
{
(
eval echo
configure:589
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:589
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STDARG_PROTOTYPES 1
...
...
@@ -5904,16 +5905,16 @@ echo "$ac_t""$works" 1>&6
if
test
"
$have_prototypes
"
=
yes
;
then
bad_prototypes
=
no
echo
$ac_n
"checking for bad exec* prototypes""...
$ac_c
"
1>&6
echo
"configure:590
8
: checking for bad exec* prototypes"
>
&5
echo
"configure:590
9
: checking for bad exec* prototypes"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 591
0
"configure"
#line 591
1
"configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
char **t;execve("@",t,t);
; return 0; }
EOF
if
{
(
eval echo
configure:591
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:591
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -5930,9 +5931,9 @@ fi
# check if sockaddr has sa_len member
echo
$ac_n
"checking if sockaddr has sa_len member""...
$ac_c
"
1>&6
echo
"configure:593
4
: checking if sockaddr has sa_len member"
>
&5
echo
"configure:593
5
: checking if sockaddr has sa_len member"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 593
6
"configure"
#line 593
7
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -5941,7 +5942,7 @@ struct sockaddr x;
x.sa_len = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:594
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:594
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -5957,7 +5958,7 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for bad static forward""...
$ac_c
"
1>&6
echo
"configure:596
1
: checking for bad static forward"
>
&5
echo
"configure:596
2
: checking for bad static forward"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_bad_static_forward
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5965,7 +5966,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
69
"configure"
#line 59
70
"configure"
#include "confdefs.h"
struct s { int a; int b; };
...
...
@@ -5980,7 +5981,7 @@ main() {
exit(!((int)&foo == foobar()));
}
EOF
if
{
(
eval echo
configure:598
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:598
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_bad_static_forward
=
no
else
...
...
@@ -6005,9 +6006,9 @@ fi
va_list_is_array
=
no
echo
$ac_n
"checking whether va_list is an array""...
$ac_c
"
1>&6
echo
"configure:60
09
: checking whether va_list is an array"
>
&5
echo
"configure:60
10
: checking whether va_list is an array"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 601
1
"configure"
#line 601
2
"configure"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
...
...
@@ -6020,7 +6021,7 @@ int main() {
va_list list1, list2; list1 = list2;
; return 0; }
EOF
if
{
(
eval echo
configure:602
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:602
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
...
...
@@ -6036,12 +6037,12 @@ echo "$ac_t""$va_list_is_array" 1>&6
# 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
"configure:604
0
: checking for gethostbyname_r"
>
&5
echo
"configure:604
1
: checking for gethostbyname_r"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostbyname_r
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 604
5
"configure"
#line 604
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname_r(); below. */
...
...
@@ -6064,7 +6065,7 @@ gethostbyname_r();
; return 0; }
EOF
if
{
(
eval echo
configure:606
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:606
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gethostbyname_r=yes"
else
...
...
@@ -6084,11 +6085,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
EOF
echo
$ac_n
"checking gethostbyname_r with 6 args""...
$ac_c
"
1>&6
echo
"configure:608
8
: checking gethostbyname_r with 6 args"
>
&5
echo
"configure:608
9
: checking gethostbyname_r with 6 args"
>
&5
OLD_CFLAGS
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
$MY_CPPFLAGS
$MY_THREAD_CPPFLAGS
$MY_CFLAGS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 609
2
"configure"
#line 609
3
"configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -6105,7 +6106,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:61
09
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:61
10
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6125,9 +6126,9 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking gethostbyname_r with 5 args""...
$ac_c
"
1>&6
echo
"configure:61
29
: checking gethostbyname_r with 5 args"
>
&5
echo
"configure:61
30
: checking gethostbyname_r with 5 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 613
1
"configure"
#line 613
2
"configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -6144,7 +6145,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:614
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:614
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6164,9 +6165,9 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking gethostbyname_r with 3 args""...
$ac_c
"
1>&6
echo
"configure:616
8
: checking gethostbyname_r with 3 args"
>
&5
echo
"configure:616
9
: checking gethostbyname_r with 3 args"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 617
0
"configure"
#line 617
1
"configure"
#include "confdefs.h"
# include <netdb.h>
...
...
@@ -6181,7 +6182,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:618
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:618
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -6217,12 +6218,12 @@ else
for
ac_func
in
gethostbyname
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:622
1
: checking for
$ac_func
"
>
&5
echo
"configure:622
2
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 622
6
"configure"
#line 622
7
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6245,7 +6246,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:62
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:62
50
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -6283,12 +6284,12 @@ fi
# Linux requires this for correct f.p. operations
echo
$ac_n
"checking for __fpu_control""...
$ac_c
"
1>&6
echo
"configure:628
7
: checking for __fpu_control"
>
&5
echo
"configure:628
8
: checking for __fpu_control"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func___fpu_control
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 629
2
"configure"
#line 629
3
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __fpu_control(); below. */
...
...
@@ -6311,7 +6312,7 @@ __fpu_control();
; return 0; }
EOF
if
{
(
eval echo
configure:631
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:631
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func___fpu_control=yes"
else
...
...
@@ -6329,7 +6330,7 @@ if eval "test \"`echo '$ac_cv_func_'__fpu_control`\" = yes"; then
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for __fpu_control in -lieee""...
$ac_c
"
1>&6
echo
"configure:633
3
: checking for __fpu_control in -lieee"
>
&5
echo
"configure:633
4
: checking for __fpu_control in -lieee"
>
&5
ac_lib_var
=
`
echo
ieee
'_'
__fpu_control |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6337,7 +6338,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lieee
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 634
1
"configure"
#line 634
2
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -6348,7 +6349,7 @@ int main() {
__fpu_control()
; return 0; }
EOF
if
{
(
eval echo
configure:635
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:635
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -6381,7 +6382,7 @@ fi
# Check for --with-fpectl
echo
$ac_n
"checking for --with-fpectl""...
$ac_c
"
1>&6
echo
"configure:638
5
: checking for --with-fpectl"
>
&5
echo
"configure:638
6
: checking for --with-fpectl"
>
&5
# Check whether --with-fpectl or --without-fpectl was given.
if
test
"
${
with_fpectl
+set
}
"
=
set
;
then
withval
=
"
$with_fpectl
"
...
...
@@ -6407,7 +6408,7 @@ BeOS) ;;
*
)
LIBM
=
-lm
esac
echo
$ac_n
"checking for --with-libm=STRING""...
$ac_c
"
1>&6
echo
"configure:641
1
: checking for --with-libm=STRING"
>
&5
echo
"configure:641
2
: checking for --with-libm=STRING"
>
&5
# Check whether --with-libm or --without-libm was given.
if
test
"
${
with_libm
+set
}
"
=
set
;
then
withval
=
"
$with_libm
"
...
...
@@ -6428,7 +6429,7 @@ fi
# check for --with-libc=...
echo
$ac_n
"checking for --with-libc=STRING""...
$ac_c
"
1>&6
echo
"configure:643
2
: checking for --with-libc=STRING"
>
&5
echo
"configure:643
3
: checking for --with-libc=STRING"
>
&5
# Check whether --with-libc or --without-libc was given.
if
test
"
${
with_libc
+set
}
"
=
set
;
then
withval
=
"
$with_libc
"
...
...
@@ -6452,12 +6453,12 @@ LIBS="$LIBS $LIBM"
for
ac_func
in
hypot
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:645
6
: checking for
$ac_func
"
>
&5
echo
"configure:645
7
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 646
1
"configure"
#line 646
2
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6480,7 +6481,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:648
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:648
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -6510,7 +6511,7 @@ LIBS=$LIBS_SAVE
# check whether malloc(0) returns NULL or not
echo
$ac_n
"checking what malloc(0) returns""...
$ac_c
"
1>&6
echo
"configure:651
4
: checking what malloc(0) returns"
>
&5
echo
"configure:651
5
: checking what malloc(0) returns"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_malloc_zero
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6518,7 +6519,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 652
2
"configure"
#line 652
3
"configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef HAVE_STDLIB
...
...
@@ -6537,7 +6538,7 @@ main() {
exit(0);
}
EOF
if
{
(
eval echo
configure:654
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:654
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_malloc_zero
=
nonnull
else
...
...
@@ -6563,17 +6564,17 @@ fi
# check for wchar.h
ac_safe
=
`
echo
"wchar.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for wchar.h""...
$ac_c
"
1>&6
echo
"configure:656
7
: checking for wchar.h"
>
&5
echo
"configure:656
8
: checking for wchar.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 657
2
"configure"
#line 657
3
"configure"
#include "confdefs.h"
#include <wchar.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:657
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:657
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6604,7 +6605,7 @@ fi
if
test
"
$wchar_h
"
=
yes
then
echo
$ac_n
"checking size of wchar_t""...
$ac_c
"
1>&6
echo
"configure:660
8
: checking size of wchar_t"
>
&5
echo
"configure:660
9
: checking size of wchar_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_wchar_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6612,7 +6613,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 661
6
"configure"
#line 661
7
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -6623,7 +6624,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:662
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:662
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_wchar_t
=
`
cat
conftestval
`
else
...
...
@@ -6645,7 +6646,7 @@ EOF
fi
echo
$ac_n
"checking what type to use for unicode""...
$ac_c
"
1>&6
echo
"configure:66
49
: checking what type to use for unicode"
>
&5
echo
"configure:66
50
: checking what type to use for unicode"
>
&5
# Check whether --enable-unicode or --disable-unicode was given.
if
test
"
${
enable_unicode
+set
}
"
=
set
;
then
enableval
=
"
$enable_unicode
"
...
...
@@ -6717,14 +6718,14 @@ fi
# check for endianness
echo
$ac_n
"checking whether byte ordering is bigendian""...
$ac_c
"
1>&6
echo
"configure:672
1
: checking whether byte ordering is bigendian"
>
&5
echo
"configure:672
2
: checking whether byte ordering is bigendian"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_bigendian
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_cv_c_bigendian
=
unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat
>
conftest.
$ac_ext
<<
EOF
#line 672
8
"configure"
#line 672
9
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
...
...
@@ -6735,11 +6736,11 @@ int main() {
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:67
39
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:67
40
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
# It does; now see whether it defined to BIG_ENDIAN or not.
cat
>
conftest.
$ac_ext
<<
EOF
#line 674
3
"configure"
#line 674
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
...
...
@@ -6750,7 +6751,7 @@ int main() {
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:675
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:675
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_bigendian
=
yes
else
...
...
@@ -6770,7 +6771,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 677
4
"configure"
#line 677
5
"configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
...
...
@@ -6783,7 +6784,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if
{
(
eval echo
configure:678
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:678
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_bigendian
=
no
else
...
...
@@ -6810,7 +6811,7 @@ fi
# Check whether right shifting a negative integer extends the sign bit
# 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
"configure:681
4
: checking whether right shift extends the sign bit"
>
&5
echo
"configure:681
5
: checking whether right shift extends the sign bit"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_rshift_extends_sign
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6819,7 +6820,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 682
3
"configure"
#line 682
4
"configure"
#include "confdefs.h"
int main()
...
...
@@ -6828,7 +6829,7 @@ int main()
}
EOF
if
{
(
eval echo
configure:683
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:683
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_rshift_extends_sign
=
yes
else
...
...
@@ -6853,13 +6854,13 @@ fi
# check for getc_unlocked and related locking functions
echo
$ac_n
"checking for getc_unlocked() and friends""...
$ac_c
"
1>&6
echo
"configure:685
7
: checking for getc_unlocked() and friends"
>
&5
echo
"configure:685
8
: checking for getc_unlocked() and friends"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_have_getc_unlocked
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 686
3
"configure"
#line 686
4
"configure"
#include "confdefs.h"
#include <stdio.h>
int main() {
...
...
@@ -6871,7 +6872,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:687
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:687
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_have_getc_unlocked
=
yes
else
...
...
@@ -6894,7 +6895,7 @@ fi
# check for readline 4.2
echo
$ac_n
"checking for rl_completion_matches in -lreadline""...
$ac_c
"
1>&6
echo
"configure:689
8
: checking for rl_completion_matches in -lreadline"
>
&5
echo
"configure:689
9
: checking for rl_completion_matches in -lreadline"
>
&5
ac_lib_var
=
`
echo
readline
'_'
rl_completion_matches |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6902,7 +6903,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lreadline -ltermcap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 690
6
"configure"
#line 690
7
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -6913,7 +6914,7 @@ int main() {
rl_completion_matches()
; return 0; }
EOF
if
{
(
eval echo
configure:691
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:691
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -6938,7 +6939,7 @@ fi
echo
$ac_n
"checking for broken nice()""...
$ac_c
"
1>&6
echo
"configure:694
2
: checking for broken nice()"
>
&5
echo
"configure:694
3
: checking for broken nice()"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_broken_nice
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6947,7 +6948,7 @@ if test "$cross_compiling" = yes; then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 695
1
"configure"
#line 695
2
"configure"
#include "confdefs.h"
int main()
...
...
@@ -6959,7 +6960,7 @@ int main()
}
EOF
if
{
(
eval echo
configure:696
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:696
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_broken_nice
=
yes
else
...
...
@@ -6990,12 +6991,12 @@ cat >> confdefs.h <<\EOF
#endif
EOF
echo
$ac_n
"checking for socklen_t""...
$ac_c
"
1>&6
echo
"configure:699
4
: checking for socklen_t"
>
&5
echo
"configure:699
5
: checking for socklen_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_socklen_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
6999
"configure"
#line
7000
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -7044,7 +7045,7 @@ done
SRCDIRS
=
"Parser Grammar Objects Python Modules"
echo
$ac_n
"checking for build directories""...
$ac_c
"
1>&6
echo
"configure:704
8
: checking for build directories"
>
&5
echo
"configure:704
9
: checking for build directories"
>
&5
for
dir
in
$SRCDIRS
;
do
if
test
!
-d
$dir
;
then
mkdir
$dir
...
...
configure.in
View file @
9b75dca1
...
...
@@ -413,7 +413,8 @@ dnl AC_MSG_RESULT($cpp_type)
# checks for header files
AC_HEADER_STDC
AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h locale.h ncurses.h poll.h pthread.h \
AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h langinfo.h locale.h \
ncurses.h poll.h pthread.h \
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h termios.h \
sys/audioio.h sys/file.h sys/lock.h sys/modem.h db_185.h db.h \
sys/param.h sys/poll.h sys/select.h sys/socket.h sys/time.h sys/times.h \
...
...
pyconfig.h.in
View file @
9b75dca1
...
...
@@ -590,6 +590,9 @@
/* Define if you have the <gdbm/ndbm.h> header file. */
#undef HAVE_GDBM_NDBM_H
/* Define if you have the <langinfo.h> header file. */
#undef HAVE_LANGINFO_H
/* Define if you have the <libutil.h> header file. */
#undef HAVE_LIBUTIL_H
...
...
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