Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
b5ee195f
Commit
b5ee195f
authored
Feb 07, 2002
by
Anthony Green
Committed by
Anthony Green
Feb 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
embedded updates
From-SVN: r49562
parent
383aa2ef
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
532 additions
and
318 deletions
+532
-318
libjava/ChangeLog
+21
-0
libjava/acconfig.h
+6
-0
libjava/acinclude.m4
+26
-0
libjava/aclocal.m4
+34
-8
libjava/configure
+358
-297
libjava/configure.in
+11
-4
libjava/include/config.h.in
+9
-4
libjava/java/io/natFile.cc
+5
-3
libjava/java/lang/natSystem.cc
+5
-1
libjava/java/net/natPlainDatagramSocketImpl.cc
+2
-0
libjava/java/net/natPlainSocketImpl.cc
+45
-0
libjava/prims.cc
+10
-1
No files found.
libjava/ChangeLog
View file @
b5ee195f
2002-02-06 Anthony Green <green@redhat.com>
* java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
Implement missing method stubs.
java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
targets.
* java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
concept of timezones.
(init_properties): Don't refer to _Jv_Environment_Properties
when this feature is not available.
* include/config.h.in: Rebuilt.
* acconfig.h: Add DISABLE_MAIN_ARGS.
* prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
* configure: Rebuilt.
* configure.in: Add --disable-main-args option. Test for
opendir function. Replace AC_CHECK_SIZEOF with
AC_COMPILE_CHECK_SIZEOF.
* java/io/natFile.cc (performList): Check HAVE_OPENDIR.
* aclocal.m4: Rebuilt.
* acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
2002-02-06 Tom Tromey <tromey@redhat.com>
* verify.cc (require_array_type): If argument is a null array of
...
...
libjava/acconfig.h
View file @
b5ee195f
...
...
@@ -123,6 +123,9 @@
getenv("GCJ_PROPERTIES"). */
#undef DISABLE_GETENV_PROPERTIES
/* Define if we should ignore arguments to main(). */
#undef DISABLE_MAIN_ARGS
/* Define if using setjmp/longjmp exceptions. */
#undef SJLJ_EXCEPTIONS
...
...
@@ -132,6 +135,9 @@
/* Define if you have dladdr() */
#undef HAVE_DLADDR
/* Define if tzname is missing. */
#undef NO_TZNAME
/* Define if getuid() and friends are missing. */
#undef NO_GETUID
...
...
libjava/acinclude.m4
View file @
b5ee195f
AC_DEFUN([AC_COMPILE_CHECK_SIZEOF],
[changequote(<<, >>)dnl
dnl The name to #define.
define(<<AC_TYPE_NAME>>, translit(sizeof_$1, [a-z *], [A-Z_P]))dnl
dnl The cache variable name.
define(<<AC_CV_NAME>>, translit(ac_cv_sizeof_$1, [ *], [_p]))dnl
changequote([, ])dnl
AC_MSG_CHECKING(size of $1)
AC_CACHE_VAL(AC_CV_NAME,
[for ac_size in 4 8 1 2 16 12 $2 ; do # List sizes in rough order of prevalence.
AC_TRY_COMPILE([#include "confdefs.h"
#include <sys/types.h>
$2
], [switch (0) case 0: case (sizeof ($1) == $ac_size):;], AC_CV_NAME=$ac_size)
if test x$AC_CV_NAME != x ; then break; fi
done
])
if test x$AC_CV_NAME = x ; then
AC_MSG_ERROR([cannot determine a size for $1])
fi
AC_MSG_RESULT($AC_CV_NAME)
AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME, [The number of bytes in type $1])
undefine([AC_TYPE_NAME])dnl
undefine([AC_CV_NAME])dnl
])
AC_DEFUN(LIBGCJ_CONFIGURE,
[
dnl Default to --enable-multilib
...
...
libjava/aclocal.m4
View file @
b5ee195f
dnl aclocal.m4 generated automatically by aclocal 1.4
dnl aclocal.m4 generated automatically by aclocal 1.4
-p5
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
dnl Copyright (C) 1994, 1995-8, 1999
, 2001
Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
...
...
@@ -10,6 +10,32 @@ dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
dnl PARTICULAR PURPOSE.
AC_DEFUN([AC_COMPILE_CHECK_SIZEOF],
[changequote(<<, >>)dnl
dnl The name to #define.
define(<<AC_TYPE_NAME>>, translit(sizeof_$1, [a-z *], [A-Z_P]))dnl
dnl The cache variable name.
define(<<AC_CV_NAME>>, translit(ac_cv_sizeof_$1, [ *], [_p]))dnl
changequote([, ])dnl
AC_MSG_CHECKING(size of $1)
AC_CACHE_VAL(AC_CV_NAME,
[for ac_size in 4 8 1 2 16 12 $2 ; do # List sizes in rough order of prevalence.
AC_TRY_COMPILE([#include "confdefs.h"
#include <sys/types.h>
$2
], [switch (0) case 0: case (sizeof ($1) == $ac_size):;], AC_CV_NAME=$ac_size)
if test x$AC_CV_NAME != x ; then break; fi
done
])
if test x$AC_CV_NAME = x ; then
AC_MSG_ERROR([cannot determine a size for $1])
fi
AC_MSG_RESULT($AC_CV_NAME)
AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME, [The number of bytes in type $1])
undefine([AC_TYPE_NAME])dnl
undefine([AC_CV_NAME])dnl
])
AC_DEFUN(LIBGCJ_CONFIGURE,
[
dnl Default to --enable-multilib
...
...
@@ -239,7 +265,7 @@ AC_DEFUN([AM_LC_MESSAGES],
dnl Usage:
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
AC_DEFUN(
AM_INIT_AUTOMAKE
,
AC_DEFUN(
[AM_INIT_AUTOMAKE]
,
[AC_REQUIRE([AC_PROG_INSTALL])
PACKAGE=[$1]
AC_SUBST(PACKAGE)
...
...
@@ -267,7 +293,7 @@ AC_REQUIRE([AC_PROG_MAKE_SET])])
# Check to make sure that the build environment is sane.
#
AC_DEFUN(
AM_SANITY_CHECK
,
AC_DEFUN(
[AM_SANITY_CHECK]
,
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
...
...
@@ -308,7 +334,7 @@ AC_MSG_RESULT(yes)])
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
dnl The program must properly implement --version.
AC_DEFUN(
AM_MISSING_PROG
,
AC_DEFUN(
[AM_MISSING_PROG]
,
[AC_MSG_CHECKING(for working $2)
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
...
...
@@ -327,7 +353,7 @@ AC_SUBST($1)])
# serial 1
AC_DEFUN(
AM_MAINTAINER_MODE
,
AC_DEFUN(
[AM_MAINTAINER_MODE]
,
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
dnl maintainer-mode is disabled by default
AC_ARG_ENABLE(maintainer-mode,
...
...
@@ -344,7 +370,7 @@ AC_DEFUN(AM_MAINTAINER_MODE,
# Define a conditional.
AC_DEFUN(
AM_CONDITIONAL
,
AC_DEFUN(
[AM_CONDITIONAL]
,
[AC_SUBST($1_TRUE)
AC_SUBST($1_FALSE)
if $2; then
...
...
@@ -357,7 +383,7 @@ fi])
# Like AC_CONFIG_HEADER, but automatically create stamp file.
AC_DEFUN(
AM_CONFIG_HEADER
,
AC_DEFUN(
[AM_CONFIG_HEADER]
,
[AC_PREREQ([2.12])
AC_CONFIG_HEADER([$1])
dnl When config.status generates a header, we must update the stamp-h file.
...
...
libjava/configure
View file @
b5ee195f
...
...
@@ -1276,6 +1276,57 @@ else
fi
fi
for
ac_declaration
in
\
''
\
'#include <stdlib.h>'
\
'extern "C" void std::exit (int) throw (); using std::exit;'
\
'extern "C" void std::exit (int); using std::exit;'
\
'extern "C" void exit (int) throw ();'
\
'extern "C" void exit (int);'
\
'void exit (int);'
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 1290 "configure"
#include "confdefs.h"
#include <stdlib.h>
$ac_declaration
int main() {
exit (42);
; return 0; }
EOF
if
{
(
eval echo
configure:1298:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
:
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
continue
fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 1308 "configure"
#include "confdefs.h"
$ac_declaration
int main() {
exit (42);
; return 0; }
EOF
if
{
(
eval echo
configure:1315:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
break
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
fi
rm
-f
conftest
*
done
if
test
-n
"
$ac_declaration
"
;
then
echo
'#ifdef __cplusplus'
>>
confdefs.h
echo
$ac_declaration
>>
confdefs.h
echo
'#endif'
>>
confdefs.h
fi
version
=
0.0.7
...
...
@@ -1298,7 +1349,7 @@ EOF
missing_dir
=
`
cd
$ac_aux_dir
&&
pwd
`
echo
$ac_n
"checking for working aclocal""...
$ac_c
"
1>&6
echo
"configure:13
02
: checking for working aclocal"
>
&5
echo
"configure:13
53
: checking for working aclocal"
>
&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
...
...
@@ -1311,7 +1362,7 @@ else
fi
echo
$ac_n
"checking for working autoconf""...
$ac_c
"
1>&6
echo
"configure:13
15
: checking for working autoconf"
>
&5
echo
"configure:13
66
: checking for working autoconf"
>
&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
...
...
@@ -1324,7 +1375,7 @@ else
fi
echo
$ac_n
"checking for working automake""...
$ac_c
"
1>&6
echo
"configure:13
28
: checking for working automake"
>
&5
echo
"configure:13
79
: checking for working automake"
>
&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
...
...
@@ -1337,7 +1388,7 @@ else
fi
echo
$ac_n
"checking for working autoheader""...
$ac_c
"
1>&6
echo
"configure:13
41
: checking for working autoheader"
>
&5
echo
"configure:13
92
: checking for working autoheader"
>
&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
...
...
@@ -1350,7 +1401,7 @@ else
fi
echo
$ac_n
"checking for working makeinfo""...
$ac_c
"
1>&6
echo
"configure:1
354
: checking for working makeinfo"
>
&5
echo
"configure:1
405
: checking for working makeinfo"
>
&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
...
...
@@ -1369,7 +1420,7 @@ fi
# LIBGCJ_CONFIGURE, which doesn't work because that means that it will
# be run before AC_CANONICAL_HOST.
echo
$ac_n
"checking build system type""...
$ac_c
"
1>&6
echo
"configure:1
373
: checking build system type"
>
&5
echo
"configure:1
424
: checking build system type"
>
&5
build_alias
=
$build
case
"
$build_alias
"
in
...
...
@@ -1390,7 +1441,7 @@ echo "$ac_t""$build" 1>&6
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
as
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:1
394
: checking for
$ac_word
"
>
&5
echo
"configure:1
445
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_AS
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1422,7 +1473,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
ar
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:14
26
: checking for
$ac_word
"
>
&5
echo
"configure:14
77
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_AR
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1454,7 +1505,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:1
458
: checking for
$ac_word
"
>
&5
echo
"configure:1
509
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1486,7 +1537,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:1
490
: checking for
$ac_word
"
>
&5
echo
"configure:1
541
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1531,7 +1582,7 @@ fi
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo
$ac_n
"checking for a BSD compatible install""...
$ac_c
"
1>&6
echo
"configure:15
35
: checking for a BSD compatible install"
>
&5
echo
"configure:15
86
: checking for a BSD compatible install"
>
&5
if
test
-z
"
$INSTALL
"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_install
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1585,7 +1636,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo
$ac_n
"checking whether to enable maintainer-specific portions of Makefiles""...
$ac_c
"
1>&6
echo
"configure:1
589
: checking whether to enable maintainer-specific portions of Makefiles"
>
&5
echo
"configure:1
640
: checking whether to enable maintainer-specific portions of Makefiles"
>
&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if
test
"
${
enable_maintainer_mode
+set
}
"
=
set
;
then
enableval
=
"
$enable_maintainer_mode
"
...
...
@@ -1623,7 +1674,7 @@ if false; then
echo
$ac_n
"checking for executable suffix""...
$ac_c
"
1>&6
echo
"configure:16
27
: checking for executable suffix"
>
&5
echo
"configure:16
78
: checking for executable suffix"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_exeext
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1633,7 +1684,7 @@ else
rm
-f
conftest
*
echo
'int main () { return 0; }'
>
conftest.
$ac_ext
ac_cv_exeext
=
if
{
(
eval echo
configure:16
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:16
88
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
for
file
in
conftest.
*
;
do
case
$file
in
*
.c
|
*
.o
|
*
.obj
)
;;
...
...
@@ -1784,7 +1835,7 @@ ac_prog=ld
if
test
"
$GCC
"
=
yes
;
then
# Check if gcc -print-prog-name=ld gives a path.
echo
$ac_n
"checking for ld used by GCC""...
$ac_c
"
1>&6
echo
"configure:1
788
: checking for ld used by GCC"
>
&5
echo
"configure:1
839
: checking for ld used by GCC"
>
&5
case
$host
in
*
-
*
-mingw
*
)
# gcc leaves a trailing carriage return which upsets mingw
...
...
@@ -1814,10 +1865,10 @@ echo "configure:1788: checking for ld used by GCC" >&5
esac
elif
test
"
$with_gnu_ld
"
=
yes
;
then
echo
$ac_n
"checking for GNU ld""...
$ac_c
"
1>&6
echo
"configure:18
18
: checking for GNU ld"
>
&5
echo
"configure:18
69
: checking for GNU ld"
>
&5
else
echo
$ac_n
"checking for non-GNU ld""...
$ac_c
"
1>&6
echo
"configure:18
21
: checking for non-GNU ld"
>
&5
echo
"configure:18
72
: checking for non-GNU ld"
>
&5
fi
if
eval
"test
\"
`
echo
'$''{'
lt_cv_path_LD
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1852,7 +1903,7 @@ else
fi
test
-z
"
$LD
"
&&
{
echo
"configure: error: no acceptable ld found in
\$
PATH"
1>&2
;
exit
1
;
}
echo
$ac_n
"checking if the linker (
$LD
) is GNU ld""...
$ac_c
"
1>&6
echo
"configure:1
856
: checking if the linker (
$LD
) is GNU ld"
>
&5
echo
"configure:1
907
: checking if the linker (
$LD
) is GNU ld"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_prog_gnu_ld
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1869,7 +1920,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
echo
$ac_n
"checking for
$LD
option to reload object files""...
$ac_c
"
1>&6
echo
"configure:1
873
: checking for
$LD
option to reload object files"
>
&5
echo
"configure:1
924
: checking for
$LD
option to reload object files"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_ld_reload_flag
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1881,7 +1932,7 @@ reload_flag=$lt_cv_ld_reload_flag
test
-n
"
$reload_flag
"
&&
reload_flag
=
"
$reload_flag
"
echo
$ac_n
"checking for BSD-compatible nm""...
$ac_c
"
1>&6
echo
"configure:1
885
: checking for BSD-compatible nm"
>
&5
echo
"configure:1
936
: checking for BSD-compatible nm"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_path_NM
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1919,7 +1970,7 @@ NM="$lt_cv_path_NM"
echo
"
$ac_t
""
$NM
"
1>&6
echo
$ac_n
"checking how to recognise dependant libraries""...
$ac_c
"
1>&6
echo
"configure:19
23
: checking how to recognise dependant libraries"
>
&5
echo
"configure:19
74
: checking how to recognise dependant libraries"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_deplibs_check_method
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2083,13 +2134,13 @@ file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method
=
$lt_cv_deplibs_check_method
echo
$ac_n
"checking for object suffix""...
$ac_c
"
1>&6
echo
"configure:2
087
: checking for object suffix"
>
&5
echo
"configure:2
138
: checking for object suffix"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_objext
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
rm
-f
conftest
*
echo
'int i = 1;'
>
conftest.
$ac_ext
if
{
(
eval echo
configure:2
093
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
144
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
for
ac_file
in
conftest.
*
;
do
case
$ac_file
in
*
.c
)
;;
...
...
@@ -2113,7 +2164,7 @@ case $deplibs_check_method in
file_magic
*
)
if
test
"
$file_magic_cmd
"
=
'$MAGIC_CMD'
;
then
echo
$ac_n
"checking for
${
ac_tool_prefix
}
file""...
$ac_c
"
1>&6
echo
"configure:21
17
: checking for
${
ac_tool_prefix
}
file"
>
&5
echo
"configure:21
68
: checking for
${
ac_tool_prefix
}
file"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_path_MAGIC_CMD
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2175,7 +2226,7 @@ fi
if
test
-z
"
$lt_cv_path_MAGIC_CMD
"
;
then
if
test
-n
"
$ac_tool_prefix
"
;
then
echo
$ac_n
"checking for file""...
$ac_c
"
1>&6
echo
"configure:2
179
: checking for file"
>
&5
echo
"configure:2
230
: checking for file"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_path_MAGIC_CMD
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2246,7 +2297,7 @@ esac
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:2
250
: checking for
$ac_word
"
>
&5
echo
"configure:2
301
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2278,7 +2329,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:2
282
: checking for
$ac_word
"
>
&5
echo
"configure:2
333
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2313,7 +2364,7 @@ fi
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
strip
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:23
17
: checking for
$ac_word
"
>
&5
echo
"configure:23
68
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_STRIP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2345,7 +2396,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "strip", so it can be a program name with args.
set
dummy strip
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:2
349
: checking for
$ac_word
"
>
&5
echo
"configure:2
400
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_STRIP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2412,8 +2463,8 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
case
$host
in
*
-
*
-irix6
*
)
# Find out which ABI we are using.
echo
'#line 24
16
"configure"'
>
conftest.
$ac_ext
if
{
(
eval echo
configure:24
17
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
echo
'#line 24
67
"configure"'
>
conftest.
$ac_ext
if
{
(
eval echo
configure:24
68
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
case
`
/usr/bin/file conftest.
$ac_objext
`
in
*
32-bit
*
)
LD
=
"
${
LD
-ld
}
-32"
...
...
@@ -2434,7 +2485,7 @@ case $host in
SAVE_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
"
$CFLAGS
-belf"
echo
$ac_n
"checking whether the C compiler needs -belf""...
$ac_c
"
1>&6
echo
"configure:24
38
: checking whether the C compiler needs -belf"
>
&5
echo
"configure:24
89
: checking whether the C compiler needs -belf"
>
&5
if
eval
"test
\"
`
echo
'$''{'
lt_cv_cc_needs_belf
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2447,14 +2498,14 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
451
"configure"
#line 2
502
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:2
458
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
509
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
lt_cv_cc_needs_belf
=
yes
else
...
...
@@ -2484,7 +2535,7 @@ echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
esac
echo
$ac_n
"checking how to run the C++ preprocessor""...
$ac_c
"
1>&6
echo
"configure:2
488
: checking how to run the C++ preprocessor"
>
&5
echo
"configure:2
539
: checking how to run the C++ preprocessor"
>
&5
if
test
-z
"
$CXXCPP
"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CXXCPP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2497,12 +2548,12 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes
cross_compiling
=
$ac_cv_prog_cxx_cross
CXXCPP
=
"
${
CXX
-g++
}
-E"
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
01
"configure"
#line 25
52
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:25
06
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:25
57
:
\"
$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
:
...
...
@@ -2684,6 +2735,16 @@ EOF
fi
if
test
-z
"
$enable_main_args
"
;
then
enable_main_args
=
${
enable_main_args_default
-yes
}
fi
if
test
"
$enable_main_args
"
=
no
;
then
cat
>>
confdefs.h
<<
\
EOF
#define DISABLE_MAIN_ARGS 1
EOF
fi
# Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
if
test
"
${
enable_hash_synchronization
+set
}
"
=
set
;
then
...
...
@@ -2732,7 +2793,7 @@ EOF
fi
echo
$ac_n
"checking for exception model to use""...
$ac_c
"
1>&6
echo
"configure:27
36
: checking for exception model to use"
>
&5
echo
"configure:27
97
: checking for exception model to use"
>
&5
ac_ext
=
C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
...
...
@@ -2747,7 +2808,7 @@ if test "${enable_sjlj_exceptions+set}" = set; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
751
"configure"
#line 2
812
"configure"
struct S { ~S(); };
void bar();
void foo()
...
...
@@ -2758,7 +2819,7 @@ void foo()
EOF
old_CXXFLAGS
=
"
$CXXFLAGS
"
CXXFLAGS
=
-S
if
{
(
eval echo
configure:2
762
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:2
823
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
grep
_Unwind_SjLj_Resume conftest.s
>
/dev/null 2>&1
;
then
enable_sjlj_exceptions
=
yes
elif
grep
_Unwind_Resume conftest.s
>
/dev/null 2>&1
;
then
...
...
@@ -2842,7 +2903,7 @@ EOF
fi
TARGET_ECOS
=
"no"
TARGET_ECOS
=
${
PROCESS
-
"no"
}
# Check whether --with-ecos or --without-ecos was given.
if
test
"
${
with_ecos
+set
}
"
=
set
;
then
withval
=
"
$with_ecos
"
...
...
@@ -2880,7 +2941,7 @@ esac
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:2
884
: checking how to run the C preprocessor"
>
&5
echo
"configure:2
945
: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
...
...
@@ -2895,13 +2956,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
899
"configure"
#line 2
960
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:29
05
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:29
66
:
\"
$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
:
...
...
@@ -2912,13 +2973,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
16
"configure"
#line 29
77
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:29
22
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:29
83
:
\"
$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
:
...
...
@@ -2929,13 +2990,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-nologo -E"
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
33
"configure"
#line 29
94
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
2939
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
3000
:
\"
$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
:
...
...
@@ -2960,7 +3021,7 @@ fi
echo
"
$ac_t
""
$CPP
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line
2964
"configure"
#line
3025
"configure"
#include "confdefs.h"
#include <stdint.h>
EOF
...
...
@@ -2975,7 +3036,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line
2979
"configure"
#line
3040
"configure"
#include "confdefs.h"
#include <inttypes.h>
EOF
...
...
@@ -2990,7 +3051,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line
2994
"configure"
#line
3055
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -3005,7 +3066,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
09
"configure"
#line 30
70
"configure"
#include "confdefs.h"
#include <sys/config.h>
EOF
...
...
@@ -3022,7 +3083,7 @@ rm -f conftest*
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
26
"configure"
#line 30
87
"configure"
#include "confdefs.h"
#include <time.h>
EOF
...
...
@@ -3037,7 +3098,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
041
"configure"
#line 3
102
"configure"
#include "confdefs.h"
#include <time.h>
EOF
...
...
@@ -3088,7 +3149,7 @@ ZLIBTESTSPEC=
libsubdir
=
.libs
echo
$ac_n
"checking for garbage collector to use""...
$ac_c
"
1>&6
echo
"configure:3
092
: checking for garbage collector to use"
>
&5
echo
"configure:3
153
: checking for garbage collector to use"
>
&5
# Check whether --enable-java-gc or --disable-java-gc was given.
if
test
"
${
enable_java_gc
+set
}
"
=
set
;
then
enableval
=
"
$enable_java_gc
"
...
...
@@ -3144,7 +3205,7 @@ esac
echo
$ac_n
"checking for thread model used by GCC""...
$ac_c
"
1>&6
echo
"configure:3
148
: checking for thread model used by GCC"
>
&5
echo
"configure:3
209
: checking for thread model used by GCC"
>
&5
THREADS
=
`
$CC
-v
2>&1 | sed
-n
's/^Thread model: //p'
`
echo
"
$ac_t
""
$THREADS
"
1>&6
...
...
@@ -3334,15 +3395,15 @@ EOF
fi
NATIVE
=
no
else
for
ac_func
in
strerror ioctl
select
fstat open fsync sleep
for
ac_func
in
strerror ioctl
select
fstat open fsync sleep
opendir
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:3
341
: checking for
$ac_func
"
>
&5
echo
"configure:3
402
: 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 3
346
"configure"
#line 3
407
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3365,7 +3426,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:3
369
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
430
:
\"
$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
...
...
@@ -3392,12 +3453,12 @@ done
for
ac_func
in
gmtime_r localtime_r readdir_r getpwuid_r getcwd
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:3
396
: checking for
$ac_func
"
>
&5
echo
"configure:3
457
: 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 34
01
"configure"
#line 34
62
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3420,7 +3481,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:34
24
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
85
:
\"
$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
...
...
@@ -3447,12 +3508,12 @@ done
for
ac_func
in
access stat mkdir rename rmdir unlink realpath utime chmod
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:3
451
: checking for
$ac_func
"
>
&5
echo
"configure:3
512
: 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 3
456
"configure"
#line 3
517
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3475,7 +3536,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:3
479
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
540
:
\"
$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
...
...
@@ -3502,12 +3563,12 @@ done
for
ac_func
in
nl_langinfo setlocale
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:35
06
: checking for
$ac_func
"
>
&5
echo
"configure:35
67
: 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 35
11
"configure"
#line 35
72
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3530,7 +3591,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:35
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
95
:
\"
$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
...
...
@@ -3557,12 +3618,12 @@ done
for
ac_func
in
inet_aton inet_addr
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:3
561
: checking for
$ac_func
"
>
&5
echo
"configure:3
622
: 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 3
566
"configure"
#line 3
627
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3585,7 +3646,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:3
589
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
650
:
\"
$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
...
...
@@ -3612,12 +3673,12 @@ done
for
ac_func
in
inet_pton uname inet_ntoa
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:36
16
: checking for
$ac_func
"
>
&5
echo
"configure:36
77
: 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 36
21
"configure"
#line 36
82
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3640,7 +3701,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:3
644
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
705
:
\"
$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
...
...
@@ -3667,12 +3728,12 @@ done
for
ac_func
in
backtrace fork execvp pipe sigaction
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:3
671
: checking for
$ac_func
"
>
&5
echo
"configure:3
732
: 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 3
676
"configure"
#line 3
737
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3695,7 +3756,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:3
699
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
760
:
\"
$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
...
...
@@ -3723,17 +3784,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:37
27
: checking for
$ac_hdr
"
>
&5
echo
"configure:37
88
: 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 37
32
"configure"
#line 37
93
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:37
37
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:37
98
:
\"
$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
*
...
...
@@ -3760,7 +3821,7 @@ fi
done
echo
$ac_n
"checking for dladdr in -ldl""...
$ac_c
"
1>&6
echo
"configure:3
764
: checking for dladdr in -ldl"
>
&5
echo
"configure:3
825
: checking for dladdr in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
dladdr | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3768,7 +3829,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
772
"configure"
#line 3
833
"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
...
...
@@ -3779,7 +3840,7 @@ int main() {
dladdr()
; return 0; }
EOF
if
{
(
eval echo
configure:3
783
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
844
:
\"
$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
...
...
@@ -3808,7 +3869,7 @@ do
ac_safe
=
`
echo
"
$ac_file
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_file
""...
$ac_c
"
1>&6
echo
"configure:38
12
: checking for
$ac_file
"
>
&5
echo
"configure:38
73
: checking for
$ac_file
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_file_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3856,7 +3917,7 @@ fi
echo
$ac_n
"checking for iconv""...
$ac_c
"
1>&6
echo
"configure:3
860
: checking for iconv"
>
&5
echo
"configure:3
921
: checking for iconv"
>
&5
if
eval
"test
\"
`
echo
'$''{'
am_cv_func_iconv
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3864,7 +3925,7 @@ else
am_cv_func_iconv
=
"no, consider installing GNU libiconv"
am_cv_lib_iconv
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
868
"configure"
#line 3
929
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <iconv.h>
...
...
@@ -3874,7 +3935,7 @@ iconv_t cd = iconv_open("","");
iconv_close(cd);
; return 0; }
EOF
if
{
(
eval echo
configure:3
878
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
939
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
am_cv_func_iconv
=
yes
else
...
...
@@ -3886,7 +3947,7 @@ rm -f conftest*
am_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
$am_cv_libiconv_ldpath
-liconv"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
890
"configure"
#line 3
951
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <iconv.h>
...
...
@@ -3896,7 +3957,7 @@ iconv_t cd = iconv_open("","");
iconv_close(cd);
; return 0; }
EOF
if
{
(
eval echo
configure:39
00
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
am_cv_lib_iconv
=
yes
am_cv_func_iconv
=
yes
...
...
@@ -3917,13 +3978,13 @@ echo "$ac_t""$am_cv_func_iconv" 1>&6
EOF
echo
$ac_n
"checking for iconv declaration""...
$ac_c
"
1>&6
echo
"configure:39
21
: checking for iconv declaration"
>
&5
echo
"configure:39
82
: checking for iconv declaration"
>
&5
if
eval
"test
\"
`
echo
'$''{'
am_cv_proto_iconv
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
27
"configure"
#line 39
88
"configure"
#include "confdefs.h"
#include <stdlib.h>
...
...
@@ -3942,7 +4003,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:
3946
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
4007
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
am_cv_proto_iconv_arg1
=
""
else
...
...
@@ -3971,19 +4032,19 @@ EOF
if
test
$ac_cv_header_locale_h
=
yes
;
then
echo
$ac_n
"checking for LC_MESSAGES""...
$ac_c
"
1>&6
echo
"configure:
3975
: checking for LC_MESSAGES"
>
&5
echo
"configure:
4036
: checking for LC_MESSAGES"
>
&5
if
eval
"test
\"
`
echo
'$''{'
am_cv_val_LC_MESSAGES
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
3980
"configure"
#line
4041
"configure"
#include "confdefs.h"
#include <locale.h>
int main() {
return LC_MESSAGES
; return 0; }
EOF
if
{
(
eval echo
configure:
3987
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
4048
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
am_cv_val_LC_MESSAGES
=
yes
else
...
...
@@ -4004,12 +4065,12 @@ EOF
fi
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:40
08
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:40
69
: 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 40
13
"configure"
#line 40
74
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -4017,7 +4078,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:40
21
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:40
82
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -4038,12 +4099,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:4
042
: checking for tm_zone in struct tm"
>
&5
echo
"configure:4
103
: 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 4
047
"configure"
#line 4
108
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -4051,7 +4112,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:4
055
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
116
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -4071,12 +4132,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:4
075
: checking for tzname"
>
&5
echo
"configure:4
136
: 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 4
080
"configure"
#line 4
141
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -4086,7 +4147,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:4
090
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
151
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -4111,12 +4172,12 @@ fi
for
ac_func
in
gethostbyname_r
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:41
15
: checking for
$ac_func
"
>
&5
echo
"configure:41
76
: 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 41
20
"configure"
#line 41
81
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4139,7 +4200,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:4
143
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
204
:
\"
$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
...
...
@@ -4166,7 +4227,7 @@ EOF
# We look for the one that returns `int'.
# Hopefully this check is robust enough.
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
170
"configure"
#line 4
231
"configure"
#include "confdefs.h"
#include <netdb.h>
EOF
...
...
@@ -4186,7 +4247,7 @@ rm -f conftest*
*
" -D_REENTRANT "
*
)
;;
*
)
echo
$ac_n
"checking whether gethostbyname_r declaration requires -D_REENTRANT""...
$ac_c
"
1>&6
echo
"configure:4
190
: checking whether gethostbyname_r declaration requires -D_REENTRANT"
>
&5
echo
"configure:4
251
: checking whether gethostbyname_r declaration requires -D_REENTRANT"
>
&5
if
eval
"test
\"
`
echo
'$''{'
libjava_cv_gethostbyname_r_needs_reentrant
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4199,14 +4260,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes
cross_compiling
=
$ac_cv_prog_cxx_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
03
"configure"
#line 42
64
"configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
gethostbyname_r("", 0, 0);
; return 0; }
EOF
if
{
(
eval echo
configure:42
10
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:42
71
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
libjava_cv_gethostbyname_r_needs_reentrant
=
no
else
...
...
@@ -4216,14 +4277,14 @@ else
CPPFLAGS_SAVE
=
"
$CPPFLAGS
"
CPPFLAGS
=
"
$CPPFLAGS
-D_REENTRANT"
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
20
"configure"
#line 42
81
"configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
gethostbyname_r("", 0, 0);
; return 0; }
EOF
if
{
(
eval echo
configure:42
27
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:42
88
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
libjava_cv_gethostbyname_r_needs_reentrant
=
yes
else
...
...
@@ -4258,12 +4319,12 @@ EOF
esac
echo
$ac_n
"checking for struct hostent_data""...
$ac_c
"
1>&6
echo
"configure:4
262
: checking for struct hostent_data"
>
&5
echo
"configure:4
323
: checking for struct hostent_data"
>
&5
if
eval
"test
\"
`
echo
'$''{'
libjava_cv_struct_hostent_data
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
267
"configure"
#line 4
328
"configure"
#include "confdefs.h"
#if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
...
...
@@ -4274,7 +4335,7 @@ int main() {
struct hostent_data data;
; return 0; }
EOF
if
{
(
eval echo
configure:4
278
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
339
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
libjava_cv_struct_hostent_data
=
yes
else
...
...
@@ -4306,7 +4367,7 @@ done
# to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
# linkage check is enough, yet C++ code requires proper prototypes.)
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
10
"configure"
#line 43
71
"configure"
#include "confdefs.h"
#include <netdb.h>
EOF
...
...
@@ -4317,12 +4378,12 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
for
ac_func
in
gethostbyaddr_r
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:43
21
: checking for
$ac_func
"
>
&5
echo
"configure:43
82
: 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 43
26
"configure"
#line 43
87
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4345,7 +4406,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:4
349
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
410
:
\"
$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
...
...
@@ -4372,7 +4433,7 @@ EOF
# We look for the one that returns `int'.
# Hopefully this check is robust enough.
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
376
"configure"
#line 4
437
"configure"
#include "confdefs.h"
#include <netdb.h>
EOF
...
...
@@ -4399,12 +4460,12 @@ rm -f conftest*
for
ac_func
in
gethostname
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:44
03
: checking for
$ac_func
"
>
&5
echo
"configure:44
64
: 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 44
08
"configure"
#line 44
69
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4427,7 +4488,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:44
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:44
92
:
\"
$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
...
...
@@ -4451,7 +4512,7 @@ EOF
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
455
"configure"
#line 4
516
"configure"
#include "confdefs.h"
#include <unistd.h>
EOF
...
...
@@ -4482,12 +4543,12 @@ done
for
ac_func
in
pthread_mutexattr_settype pthread_mutexattr_setkind_np
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:4
486
: checking for
$ac_func
"
>
&5
echo
"configure:4
547
: 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 4
491
"configure"
#line 4
552
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4510,7 +4571,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:45
14
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:45
75
:
\"
$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
...
...
@@ -4540,12 +4601,12 @@ done
for
ac_func
in
sched_yield
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:4
544
: checking for
$ac_func
"
>
&5
echo
"configure:4
605
: 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 4
549
"configure"
#line 4
610
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4568,7 +4629,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:4
572
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
633
:
\"
$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
...
...
@@ -4590,7 +4651,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for sched_yield in -lrt""...
$ac_c
"
1>&6
echo
"configure:4
594
: checking for sched_yield in -lrt"
>
&5
echo
"configure:4
655
: checking for sched_yield in -lrt"
>
&5
ac_lib_var
=
`
echo
rt
'_'
sched_yield | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4598,7 +4659,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lrt
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
02
"configure"
#line 46
63
"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
...
...
@@ -4609,7 +4670,7 @@ int main() {
sched_yield()
; return 0; }
EOF
if
{
(
eval echo
configure:46
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:46
74
:
\"
$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
...
...
@@ -4635,7 +4696,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for sched_yield in -lposix4""...
$ac_c
"
1>&6
echo
"configure:4
639
: checking for sched_yield in -lposix4"
>
&5
echo
"configure:4
700
: checking for sched_yield in -lposix4"
>
&5
ac_lib_var
=
`
echo
posix4
'_'
sched_yield | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4643,7 +4704,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lposix4
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
647
"configure"
#line 4
708
"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
...
...
@@ -4654,7 +4715,7 @@ int main() {
sched_yield()
; return 0; }
EOF
if
{
(
eval echo
configure:4
658
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
719
:
\"
$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
...
...
@@ -4690,7 +4751,7 @@ done
# We can save a little space at runtime if the mutex has m_count
# or __m_count. This is a nice hack for Linux.
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
694
"configure"
#line 4
755
"configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
...
...
@@ -4699,7 +4760,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:47
03
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:47
64
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define PTHREAD_MUTEX_HAVE_M_COUNT 1
...
...
@@ -4711,7 +4772,7 @@ else
rm
-rf
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
15
"configure"
#line 47
76
"configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
...
...
@@ -4720,7 +4781,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:47
24
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:47
85
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define PTHREAD_MUTEX_HAVE___M_COUNT 1
...
...
@@ -4740,12 +4801,12 @@ rm -f conftest*
for
ac_func
in
gettimeofday
time
ftime
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:4
744
: checking for
$ac_func
"
>
&5
echo
"configure:4
805
: 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 4
749
"configure"
#line 4
810
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4768,7 +4829,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:4
772
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
833
:
\"
$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
...
...
@@ -4799,12 +4860,12 @@ done
for
ac_func
in
memmove
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:48
03
: checking for
$ac_func
"
>
&5
echo
"configure:48
64
: 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 48
08
"configure"
#line 48
69
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4827,7 +4888,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:48
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:48
92
:
\"
$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
...
...
@@ -4857,12 +4918,12 @@ done
for
ac_func
in
memcpy
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:4
861
: checking for
$ac_func
"
>
&5
echo
"configure:4
922
: 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 4
866
"configure"
#line 4
927
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4885,7 +4946,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:4
889
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
950
:
\"
$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
...
...
@@ -4914,7 +4975,7 @@ done
fi
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:49
18
: checking for dlopen in -ldl"
>
&5
echo
"configure:49
79
: 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
...
...
@@ -4922,7 +4983,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
26
"configure"
#line 49
87
"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
...
...
@@ -4933,7 +4994,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:49
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:49
98
:
\"
$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
...
...
@@ -4978,7 +5039,7 @@ fi
#--------------------------------------------------------------------
echo
$ac_n
"checking for socket libraries""...
$ac_c
"
1>&6
echo
"configure:
4982
: checking for socket libraries"
>
&5
echo
"configure:
5043
: checking for socket libraries"
>
&5
if
eval
"test
\"
`
echo
'$''{'
gcj_cv_lib_sockets
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4986,12 +5047,12 @@ else
gcj_checkBoth
=
0
unset
ac_cv_func_connect
echo
$ac_n
"checking for connect""...
$ac_c
"
1>&6
echo
"configure:
4990
: checking for connect"
>
&5
echo
"configure:
5051
: checking for connect"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_connect
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
4995
"configure"
#line
5056
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
...
...
@@ -5014,7 +5075,7 @@ connect();
; return 0; }
EOF
if
{
(
eval echo
configure:50
18
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:50
79
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_connect=yes"
else
...
...
@@ -5037,7 +5098,7 @@ fi
if
test
"
$gcj_checkSocket
"
=
1
;
then
unset
ac_cv_func_connect
echo
$ac_n
"checking for main in -lsocket""...
$ac_c
"
1>&6
echo
"configure:5
041
: checking for main in -lsocket"
>
&5
echo
"configure:5
102
: checking for main in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
main | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -5045,14 +5106,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
049
"configure"
#line 5
110
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:5
056
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
117
:
\"
$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
...
...
@@ -5079,12 +5140,12 @@ fi
LIBS
=
"
$LIBS
-lsocket -lnsl"
unset
ac_cv_func_accept
echo
$ac_n
"checking for accept""...
$ac_c
"
1>&6
echo
"configure:5
083
: checking for accept"
>
&5
echo
"configure:5
144
: checking for accept"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_accept
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
088
"configure"
#line 5
149
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char accept(); below. */
...
...
@@ -5107,7 +5168,7 @@ accept();
; return 0; }
EOF
if
{
(
eval echo
configure:51
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_accept=yes"
else
...
...
@@ -5134,12 +5195,12 @@ fi
gcj_oldLibs
=
$LIBS
LIBS
=
"
$LIBS
$gcj_cv_lib_sockets
"
echo
$ac_n
"checking for gethostbyname""...
$ac_c
"
1>&6
echo
"configure:51
38
: checking for gethostbyname"
>
&5
echo
"configure:51
99
: checking for gethostbyname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostbyname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
143
"configure"
#line 5
204
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
...
...
@@ -5162,7 +5223,7 @@ gethostbyname();
; return 0; }
EOF
if
{
(
eval echo
configure:5
166
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
227
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gethostbyname=yes"
else
...
...
@@ -5180,7 +5241,7 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for main in -lnsl""...
$ac_c
"
1>&6
echo
"configure:5
184
: checking for main in -lnsl"
>
&5
echo
"configure:5
245
: checking for main in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
main | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -5188,14 +5249,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
192
"configure"
#line 5
253
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:5
199
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
260
:
\"
$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
...
...
@@ -5227,7 +5288,7 @@ echo "$ac_t""$gcj_cv_lib_sockets" 1>&6
if
test
"
$with_system_zlib
"
=
yes
;
then
echo
$ac_n
"checking for deflate in -lz""...
$ac_c
"
1>&6
echo
"configure:52
31
: checking for deflate in -lz"
>
&5
echo
"configure:52
92
: checking for deflate in -lz"
>
&5
ac_lib_var
=
`
echo
z
'_'
deflate | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -5235,7 +5296,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lz
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
239
"configure"
#line 5
300
"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
...
...
@@ -5246,7 +5307,7 @@ int main() {
deflate()
; return 0; }
EOF
if
{
(
eval echo
configure:5
250
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
311
:
\"
$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
...
...
@@ -5276,7 +5337,7 @@ fi
# requires -ldl.
if
test
"
$GC
"
=
boehm
;
then
echo
$ac_n
"checking for main in -ldl""...
$ac_c
"
1>&6
echo
"configure:5
280
: checking for main in -ldl"
>
&5
echo
"configure:5
341
: checking for main in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
main | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -5284,14 +5345,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
288
"configure"
#line 5
349
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:5
295
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
356
:
\"
$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
...
...
@@ -5357,7 +5418,7 @@ fi
# Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
gcj
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:5
361
: checking for
$ac_word
"
>
&5
echo
"configure:5
422
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_GCJ
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5389,7 +5450,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "gcj", so it can be a program name with args.
set
dummy gcj
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:5
393
: checking for
$ac_word
"
>
&5
echo
"configure:5
454
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_GCJ
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5451,37 +5512,37 @@ exec 5>>./config.log
CPPFLAGS
=
$GCJ_SAVE_CPPFLAGS
echo
$ac_n
"checking size of void *""...
$ac_c
"
1>&6
echo
"configure:5
455
: checking size of void *"
>
&5
echo
"configure:5
516
: 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
if
test
"
$cross_compiling
"
=
yes
;
then
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
for
ac_size
in
4 8 1 2 16 12
;
do
# List sizes in rough order of prevalence.
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
463
"configure"
#line 5
522
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
fprintf(f, "%d\n", sizeof(void *));
exit(0);
}
#include "confdefs.h"
#include <sys/types.h>
int main() {
switch (0) case 0: case (sizeof (void *) ==
$ac_size
):;
; return 0; }
EOF
if
{
(
eval echo
configure:5
474:
\"
$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
`
if
{
(
eval echo
configure:5
532:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_sizeof_void_p
=
$ac_size
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-fr
conftest
*
ac_cv_sizeof_void_p
=
0
fi
rm
-fr
conftest
*
rm
-f
conftest
*
if
test
x
$ac_cv_sizeof_void_p
!=
x
;
then
break
;
fi
done
fi
if
test
x
$ac_cv_sizeof_void_p
=
x
;
then
{
echo
"configure: error: cannot determine a size for void *"
1>&2
;
exit
1
;
}
fi
echo
"
$ac_t
""
$ac_cv_sizeof_void_p
"
1>&6
cat
>>
confdefs.h
<<
EOF
...
...
@@ -5568,18 +5629,18 @@ EOF
echo
$ac_n
"checking for g++ -ffloat-store bug""...
$ac_c
"
1>&6
echo
"configure:5
572
: checking for g++ -ffloat-store bug"
>
&5
echo
"configure:5
633
: checking for g++ -ffloat-store bug"
>
&5
save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
"-x c++ -O2 -ffloat-store"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
576
"configure"
#line 5
637
"configure"
#include "confdefs.h"
#include <math.h>
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:5
583
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
644
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&6
else
...
...
@@ -5599,17 +5660,17 @@ for ac_hdr in unistd.h bstring.h sys/time.h sys/types.h fcntl.h sys/ioctl.h sys/
do
ac_safe
=
`
echo
"
$ac_hdr
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:56
03
: checking for
$ac_hdr
"
>
&5
echo
"configure:56
64
: 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 56
08
"configure"
#line 56
69
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:56
13
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:56
74
:
\"
$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
*
...
...
@@ -5639,17 +5700,17 @@ for ac_hdr in dirent.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:5
643
: checking for
$ac_hdr
"
>
&5
echo
"configure:5
704
: 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 5
648
"configure"
#line 5
709
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
653
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
714
:
\"
$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
*
...
...
@@ -5679,17 +5740,17 @@ for ac_hdr in inttypes.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:5
683
: checking for
$ac_hdr
"
>
&5
echo
"configure:5
744
: 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 5
688
"configure"
#line 5
749
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
693
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
754
:
\"
$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
*
...
...
@@ -5726,12 +5787,12 @@ done
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:57
30
: checking for ANSI C header files"
>
&5
echo
"configure:57
91
: checking for ANSI C header files"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
35
"configure"
#line 57
96
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -5739,7 +5800,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
743
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
804
:
\"
$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
*
...
...
@@ -5756,7 +5817,7 @@ rm -f conftest*
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
760
"configure"
#line 5
821
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -5774,7 +5835,7 @@ fi
if
test
$ac_cv_header_stdc
=
yes
;
then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
778
"configure"
#line 5
839
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -5795,7 +5856,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
799
"configure"
#line 5
860
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -5806,7 +5867,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:58
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:58
71
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -5830,12 +5891,12 @@ EOF
fi
echo
$ac_n
"checking for ssize_t""...
$ac_c
"
1>&6
echo
"configure:58
34
: checking for ssize_t"
>
&5
echo
"configure:58
95
: checking for ssize_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_ssize_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
839
"configure"
#line 5
900
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5864,9 +5925,9 @@ fi
echo
$ac_n
"checking for in_addr_t""...
$ac_c
"
1>&6
echo
"configure:5
868
: checking for in_addr_t"
>
&5
echo
"configure:5
929
: checking for in_addr_t"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
870
"configure"
#line 5
931
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5880,7 +5941,7 @@ int main() {
in_addr_t foo;
; return 0; }
EOF
if
{
(
eval echo
configure:5
884
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
945
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_IN_ADDR_T 1
...
...
@@ -5896,16 +5957,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking whether struct ip_mreq is in netinet/in.h""...
$ac_c
"
1>&6
echo
"configure:59
00
: checking whether struct ip_mreq is in netinet/in.h"
>
&5
echo
"configure:59
61
: checking whether struct ip_mreq is in netinet/in.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
02
"configure"
#line 59
63
"configure"
#include "confdefs.h"
#include <netinet/in.h>
int main() {
struct ip_mreq mreq;
; return 0; }
EOF
if
{
(
eval echo
configure:59
09
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
70
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STRUCT_IP_MREQ 1
...
...
@@ -5921,16 +5982,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking whether struct ipv6_mreq is in netinet/in.h""...
$ac_c
"
1>&6
echo
"configure:59
25
: checking whether struct ipv6_mreq is in netinet/in.h"
>
&5
echo
"configure:59
86
: checking whether struct ipv6_mreq is in netinet/in.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
27
"configure"
#line 59
88
"configure"
#include "confdefs.h"
#include <netinet/in.h>
int main() {
struct ipv6_mreq mreq6;
; return 0; }
EOF
if
{
(
eval echo
configure:59
34
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:59
95
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STRUCT_IPV6_MREQ 1
...
...
@@ -5946,16 +6007,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking whether struct sockaddr_in6 is in netinet/in.h""...
$ac_c
"
1>&6
echo
"configure:
5950
: checking whether struct sockaddr_in6 is in netinet/in.h"
>
&5
echo
"configure:
6011
: checking whether struct sockaddr_in6 is in netinet/in.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line
5952
"configure"
#line
6013
"configure"
#include "confdefs.h"
#include <netinet/in.h>
int main() {
struct sockaddr_in6 addr6;
; return 0; }
EOF
if
{
(
eval echo
configure:
5959
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
6020
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_INET6 1
...
...
@@ -5971,9 +6032,9 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for socklen_t in sys/socket.h""...
$ac_c
"
1>&6
echo
"configure:
5975
: checking for socklen_t in sys/socket.h"
>
&5
echo
"configure:
6036
: checking for socklen_t in sys/socket.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line
5977
"configure"
#line
6038
"configure"
#include "confdefs.h"
#define _POSIX_PII_SOCKET
#include <sys/types.h>
...
...
@@ -5982,7 +6043,7 @@ int main() {
socklen_t x = 5;
; return 0; }
EOF
if
{
(
eval echo
configure:
5986
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
6047
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_SOCKLEN_T 1
...
...
@@ -5998,16 +6059,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for tm_gmtoff in struct tm""...
$ac_c
"
1>&6
echo
"configure:60
02
: checking for tm_gmtoff in struct tm"
>
&5
echo
"configure:60
63
: checking for tm_gmtoff in struct tm"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 60
04
"configure"
#line 60
65
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
struct tm tim; tim.tm_gmtoff = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:60
11
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:60
72
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define STRUCT_TM_HAS_GMTOFF 1
...
...
@@ -6020,16 +6081,16 @@ else
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for global timezone variable""...
$ac_c
"
1>&6
echo
"configure:60
24
: checking for global timezone variable"
>
&5
echo
"configure:60
85
: checking for global timezone variable"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 60
26
"configure"
#line 60
87
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
long z2 = timezone;
; return 0; }
EOF
if
{
(
eval echo
configure:60
33
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:60
94
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_TIMEZONE 1
...
...
@@ -6049,19 +6110,19 @@ rm -f conftest*
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
echo
$ac_n
"checking for working alloca.h""...
$ac_c
"
1>&6
echo
"configure:6
053
: checking for working alloca.h"
>
&5
echo
"configure:6
114
: checking for working alloca.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_alloca_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
058
"configure"
#line 6
119
"configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
if
{
(
eval echo
configure:6
065
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
126
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_header_alloca_h
=
yes
else
...
...
@@ -6082,12 +6143,12 @@ EOF
fi
echo
$ac_n
"checking for alloca""...
$ac_c
"
1>&6
echo
"configure:6
086
: checking for alloca"
>
&5
echo
"configure:6
147
: checking for alloca"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_alloca_works
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
091
"configure"
#line 6
152
"configure"
#include "confdefs.h"
#ifdef __GNUC__
...
...
@@ -6115,7 +6176,7 @@ int main() {
char *p = (char *) alloca(1);
; return 0; }
EOF
if
{
(
eval echo
configure:61
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:61
80
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_func_alloca_works
=
yes
else
...
...
@@ -6147,12 +6208,12 @@ EOF
echo
$ac_n
"checking whether alloca needs Cray hooks""...
$ac_c
"
1>&6
echo
"configure:6
151
: checking whether alloca needs Cray hooks"
>
&5
echo
"configure:6
212
: checking whether alloca needs Cray hooks"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_os_cray
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
156
"configure"
#line 6
217
"configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
...
...
@@ -6177,12 +6238,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
if
test
$ac_cv_os_cray
=
yes
;
then
for
ac_func
in
_getb67 GETB67 getb67
;
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:6
181
: checking for
$ac_func
"
>
&5
echo
"configure:6
242
: 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 6
186
"configure"
#line 6
247
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6205,7 +6266,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:62
09
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:62
70
:
\"
$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
...
...
@@ -6232,7 +6293,7 @@ done
fi
echo
$ac_n
"checking stack direction for C alloca""...
$ac_c
"
1>&6
echo
"configure:62
36
: checking stack direction for C alloca"
>
&5
echo
"configure:62
97
: checking stack direction for C alloca"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_stack_direction
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6240,7 +6301,7 @@ else
ac_cv_c_stack_direction
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
244
"configure"
#line 6
305
"configure"
#include "confdefs.h"
find_stack_direction ()
{
...
...
@@ -6259,7 +6320,7 @@ main ()
exit (find_stack_direction() < 0);
}
EOF
if
{
(
eval echo
configure:6
263
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:6
324
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_stack_direction
=
1
else
...
...
@@ -6286,7 +6347,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:6
290
: checking for
$ac_word
"
>
&5
echo
"configure:6
351
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_PERL
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -6364,7 +6425,7 @@ fi
# Uses ac_ vars as temps to allow command line to override cache and checks.
# --without-x overrides everything else, but does not touch the cache.
echo
$ac_n
"checking for X""...
$ac_c
"
1>&6
echo
"configure:6
368
: checking for X"
>
&5
echo
"configure:6
429
: checking for X"
>
&5
# Check whether --with-x or --without-x was given.
if
test
"
${
with_x
+set
}
"
=
set
;
then
...
...
@@ -6426,12 +6487,12 @@ if test "$ac_x_includes" = NO; then
# First, try using that file with no special directory specified.
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
30
"configure"
#line 64
91
"configure"
#include "confdefs.h"
#include <
$x_direct_test_include
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:64
35
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:64
96
:
\"
$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
*
...
...
@@ -6500,14 +6561,14 @@ if test "$ac_x_libraries" = NO; then
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-l
$x_direct_test_library
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
04
"configure"
#line 65
65
"configure"
#include "confdefs.h"
int main() {
${
x_direct_test_function
}
()
; return 0; }
EOF
if
{
(
eval echo
configure:65
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:65
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
LIBS
=
"
$ac_save_LIBS
"
# We can link X programs with no special library path.
...
...
@@ -6613,17 +6674,17 @@ else
case
"
`
(
uname
-sr
)
2>/dev/null
`
"
in
"SunOS 5"
*
)
echo
$ac_n
"checking whether -R must be followed by a space""...
$ac_c
"
1>&6
echo
"configure:66
17
: checking whether -R must be followed by a space"
>
&5
echo
"configure:66
78
: checking whether -R must be followed by a space"
>
&5
ac_xsave_LIBS
=
"
$LIBS
"
;
LIBS
=
"
$LIBS
-R
$x_libraries
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 66
20
"configure"
#line 66
81
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:66
27
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:66
88
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_R_nospace
=
yes
else
...
...
@@ -6639,14 +6700,14 @@ rm -f conftest*
else
LIBS
=
"
$ac_xsave_LIBS
-R
$x_libraries
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
643
"configure"
#line 6
704
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:6
650
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
711
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_R_space
=
yes
else
...
...
@@ -6678,7 +6739,7 @@ rm -f conftest*
# libraries were built with DECnet support. And karl@cs.umb.edu says
# the Alpha needs dnet_stub (dnet does not exist).
echo
$ac_n
"checking for dnet_ntoa in -ldnet""...
$ac_c
"
1>&6
echo
"configure:6
682
: checking for dnet_ntoa in -ldnet"
>
&5
echo
"configure:6
743
: checking for dnet_ntoa in -ldnet"
>
&5
ac_lib_var
=
`
echo
dnet
'_'
dnet_ntoa | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6686,7 +6747,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldnet
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
690
"configure"
#line 6
751
"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
...
...
@@ -6697,7 +6758,7 @@ int main() {
dnet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:67
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:67
62
:
\"
$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
...
...
@@ -6719,7 +6780,7 @@ fi
if
test
$ac_cv_lib_dnet_dnet_ntoa
=
no
;
then
echo
$ac_n
"checking for dnet_ntoa in -ldnet_stub""...
$ac_c
"
1>&6
echo
"configure:67
23
: checking for dnet_ntoa in -ldnet_stub"
>
&5
echo
"configure:67
84
: checking for dnet_ntoa in -ldnet_stub"
>
&5
ac_lib_var
=
`
echo
dnet_stub
'_'
dnet_ntoa | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6727,7 +6788,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldnet_stub
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 67
31
"configure"
#line 67
92
"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
...
...
@@ -6738,7 +6799,7 @@ int main() {
dnet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:6
742
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
803
:
\"
$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
...
...
@@ -6767,12 +6828,12 @@ fi
# The nsl library prevents programs from opening the X display
# on Irix 5.2, according to dickey@clark.net.
echo
$ac_n
"checking for gethostbyname""...
$ac_c
"
1>&6
echo
"configure:6
771
: checking for gethostbyname"
>
&5
echo
"configure:6
832
: checking for gethostbyname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostbyname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
776
"configure"
#line 6
837
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
...
...
@@ -6795,7 +6856,7 @@ gethostbyname();
; return 0; }
EOF
if
{
(
eval echo
configure:6
799
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
860
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gethostbyname=yes"
else
...
...
@@ -6816,7 +6877,7 @@ fi
if
test
$ac_cv_func_gethostbyname
=
no
;
then
echo
$ac_n
"checking for gethostbyname in -lnsl""...
$ac_c
"
1>&6
echo
"configure:68
20
: checking for gethostbyname in -lnsl"
>
&5
echo
"configure:68
81
: checking for gethostbyname in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
gethostbyname | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6824,7 +6885,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 68
28
"configure"
#line 68
89
"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
...
...
@@ -6835,7 +6896,7 @@ int main() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:6
839
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
900
:
\"
$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
...
...
@@ -6865,12 +6926,12 @@ fi
# -lsocket must be given before -lnsl if both are needed.
# We assume that if connect needs -lnsl, so does gethostbyname.
echo
$ac_n
"checking for connect""...
$ac_c
"
1>&6
echo
"configure:6
869
: checking for connect"
>
&5
echo
"configure:6
930
: checking for connect"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_connect
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
874
"configure"
#line 6
935
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
...
...
@@ -6893,7 +6954,7 @@ connect();
; return 0; }
EOF
if
{
(
eval echo
configure:6
897
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
958
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_connect=yes"
else
...
...
@@ -6914,7 +6975,7 @@ fi
if
test
$ac_cv_func_connect
=
no
;
then
echo
$ac_n
"checking for connect in -lsocket""...
$ac_c
"
1>&6
echo
"configure:69
18
: checking for connect in -lsocket"
>
&5
echo
"configure:69
79
: checking for connect in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
connect | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -6922,7 +6983,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 69
26
"configure"
#line 69
87
"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
...
...
@@ -6933,7 +6994,7 @@ int main() {
connect()
; return 0; }
EOF
if
{
(
eval echo
configure:69
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:69
98
:
\"
$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
...
...
@@ -6957,12 +7018,12 @@ fi
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
echo
$ac_n
"checking for remove""...
$ac_c
"
1>&6
echo
"configure:
6961
: checking for remove"
>
&5
echo
"configure:
7022
: checking for remove"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_remove
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
6966
"configure"
#line
7027
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char remove(); below. */
...
...
@@ -6985,7 +7046,7 @@ remove();
; return 0; }
EOF
if
{
(
eval echo
configure:
6989
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
7050
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_remove=yes"
else
...
...
@@ -7006,7 +7067,7 @@ fi
if
test
$ac_cv_func_remove
=
no
;
then
echo
$ac_n
"checking for remove in -lposix""...
$ac_c
"
1>&6
echo
"configure:70
10
: checking for remove in -lposix"
>
&5
echo
"configure:70
71
: checking for remove in -lposix"
>
&5
ac_lib_var
=
`
echo
posix
'_'
remove | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7014,7 +7075,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lposix
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 70
18
"configure"
#line 70
79
"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
...
...
@@ -7025,7 +7086,7 @@ int main() {
remove()
; return 0; }
EOF
if
{
(
eval echo
configure:70
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:70
90
:
\"
$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
...
...
@@ -7049,12 +7110,12 @@ fi
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
echo
$ac_n
"checking for shmat""...
$ac_c
"
1>&6
echo
"configure:7
053
: checking for shmat"
>
&5
echo
"configure:7
114
: checking for shmat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_shmat
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
058
"configure"
#line 7
119
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shmat(); below. */
...
...
@@ -7077,7 +7138,7 @@ shmat();
; return 0; }
EOF
if
{
(
eval echo
configure:7
081
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
142
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_shmat=yes"
else
...
...
@@ -7098,7 +7159,7 @@ fi
if
test
$ac_cv_func_shmat
=
no
;
then
echo
$ac_n
"checking for shmat in -lipc""...
$ac_c
"
1>&6
echo
"configure:71
02
: checking for shmat in -lipc"
>
&5
echo
"configure:71
63
: checking for shmat in -lipc"
>
&5
ac_lib_var
=
`
echo
ipc
'_'
shmat | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7106,7 +7167,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lipc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 71
10
"configure"
#line 71
71
"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
...
...
@@ -7117,7 +7178,7 @@ int main() {
shmat()
; return 0; }
EOF
if
{
(
eval echo
configure:71
21
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:71
82
:
\"
$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
...
...
@@ -7150,7 +7211,7 @@ fi
# libraries we check for below, so use a different variable.
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
echo
$ac_n
"checking for IceConnectionNumber in -lICE""...
$ac_c
"
1>&6
echo
"configure:7
154
: checking for IceConnectionNumber in -lICE"
>
&5
echo
"configure:7
215
: checking for IceConnectionNumber in -lICE"
>
&5
ac_lib_var
=
`
echo
ICE
'_'
IceConnectionNumber | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -7158,7 +7219,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lICE
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
162
"configure"
#line 7
223
"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
...
...
@@ -7169,7 +7230,7 @@ int main() {
IceConnectionNumber()
; return 0; }
EOF
if
{
(
eval echo
configure:7
173
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:7
234
:
\"
$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
...
...
libjava/configure.in
View file @
b5ee195f
...
...
@@ -63,6 +63,14 @@ if test "$enable_getenv_properties" = no; then
AC_DEFINE(DISABLE_GETENV_PROPERTIES)
fi
dnl Whether we should use arguments to main()
if test -z "$enable_main_args"; then
enable_main_args=${enable_main_args_default-yes}
fi
if test "$enable_main_args" = no; then
AC_DEFINE(DISABLE_MAIN_ARGS)
fi
dnl Should we use hashtable-based synchronization?
dnl Currently works only for Linux X86/ia64
...
...
@@ -187,7 +195,7 @@ dnl If the target is an eCos system, use the appropriate eCos
dnl I/O routines.
dnl FIXME: this should not be a local option but a global target
dnl system; at present there is no eCos target.
TARGET_ECOS=
"no"
TARGET_ECOS=
${PROCESS-"no"}
AC_ARG_WITH(ecos,
[ --with-ecos enable runtime eCos target support],
TARGET_ECOS="$with_ecos"
...
...
@@ -463,7 +471,7 @@ if test -n "${with_cross_host}"; then
fi
NATIVE=no
else
AC_CHECK_FUNCS(strerror ioctl select fstat open fsync sleep)
AC_CHECK_FUNCS(strerror ioctl select fstat open fsync sleep
opendir
)
AC_CHECK_FUNCS(gmtime_r localtime_r readdir_r getpwuid_r getcwd)
AC_CHECK_FUNCS(access stat mkdir rename rmdir unlink realpath utime chmod)
AC_CHECK_FUNCS(nl_langinfo setlocale)
...
...
@@ -707,8 +715,7 @@ LT_AC_PROG_GCJ
CPPFLAGS=$GCJ_SAVE_CPPFLAGS
dnl FIXME: cross compilation
AC_CHECK_SIZEOF(void *)
AC_COMPILE_CHECK_SIZEOF(void *)
ZLIBS=
ZDEPS=
...
...
libjava/include/config.h.in
View file @
b5ee195f
...
...
@@ -151,6 +151,9 @@
getenv("GCJ_PROPERTIES"). */
#undef DISABLE_GETENV_PROPERTIES
/* Define if we should ignore arguments to main(). */
#undef DISABLE_MAIN_ARGS
/* Define if you have /proc/self/exe */
#undef HAVE_PROC_SELF_EXE
...
...
@@ -158,7 +161,6 @@
/* Define if you have dladdr() */
#undef HAVE_DLADDR
/* Define if getuid() and friends are missing. */
#undef NO_GETUID
...
...
@@ -171,9 +173,6 @@
/* Define if you are using JVMPI. */
#undef ENABLE_JVMPI
/* The number of bytes in a void *. */
#undef SIZEOF_VOID_P
/* Define if you have the access function. */
#undef HAVE_ACCESS
...
...
@@ -252,6 +251,9 @@
/* Define if you have the open function. */
#undef HAVE_OPEN
/* Define if you have the opendir function. */
#undef HAVE_OPENDIR
/* Define if you have the pipe function. */
#undef HAVE_PIPE
...
...
@@ -408,6 +410,9 @@
/* Define if dlopen is available */
#undef HAVE_DLOPEN
/* The number of bytes in type void * */
#undef SIZEOF_VOID_P
/* Define if <inttypes.h> is available */
#undef HAVE_INTTYPES_H
...
...
libjava/java/io/natFile.cc
View file @
b5ee195f
...
...
@@ -131,7 +131,9 @@ java::io::File::performList (java::io::FilenameFilter *filter,
java
::
io
::
FileFilter
*
fileFilter
,
java
::
lang
::
Class
*
result_type
)
{
#ifdef HAVE_DIRENT_H
/* Some systems have dirent.h, but no directory reading functions like
opendir. */
#if defined(HAVE_DIRENT_H) && defined(HAVE_OPENDIR)
char
buf
[
MAXPATHLEN
];
jsize
total
=
JvGetStringUTFRegion
(
path
,
0
,
path
->
length
(),
buf
);
buf
[
total
]
=
'\0'
;
...
...
@@ -178,9 +180,9 @@ java::io::File::performList (java::io::FilenameFilter *filter,
jobjectArray
ret
=
JvNewObjectArray
(
list
->
size
(),
result_type
,
NULL
);
list
->
toArray
(
ret
);
return
ret
;
#else
/* HAVE_DIRENT_H */
#else
/* HAVE_DIRENT_H
&& HAVE_OPENDIR
*/
return
NULL
;
#endif
/* HAVE_DIRENT_H */
#endif
/* HAVE_DIRENT_H
&& HAVE_OPENDIR
*/
}
jboolean
...
...
libjava/java/lang/natSystem.cc
View file @
b5ee195f
...
...
@@ -271,7 +271,9 @@ java::lang::System::getSystemTimeZone (void)
tz1
=
tzname
[
0
];
tz2
=
strcmp
(
tzname
[
0
],
tzname
[
1
])
?
tzname
[
1
]
:
""
;
#else
#error Neither tm_zone nor tzname defined
// Some targets have no concept of timezones.
tz1
=
"???"
;
tz2
=
tz1
;
#endif
if
((
tzoffset
%
3600
)
==
0
)
...
...
@@ -464,6 +466,7 @@ java::lang::System::init_properties (void)
}
// Set the system properties from the user's environment.
#ifndef DISABLE_GETENV_PROPERTIES
if
(
_Jv_Environment_Properties
)
{
size_t
i
=
0
;
...
...
@@ -475,6 +478,7 @@ java::lang::System::init_properties (void)
i
++
;
}
}
#endif
if
(
_Jv_Jar_Class_Path
)
newprops
->
put
(
JvNewStringLatin1
(
"java.class.path"
),
...
...
libjava/java/net/natPlainDatagramSocketImpl.cc
View file @
b5ee195f
...
...
@@ -36,6 +36,7 @@ details. */
#include <bstring.h>
#endif
#ifndef DISABLE_JAVA_NET
// Avoid macro definitions of bind from system headers, e.g. on
// Solaris 7 with _XOPEN_SOURCE. FIXME
static
inline
int
...
...
@@ -43,6 +44,7 @@ _Jv_bind (int fd, struct sockaddr *addr, int addrlen)
{
return
::
bind
(
fd
,
addr
,
addrlen
);
}
#endif
/* DISABLE_JAVA_NET */
#ifdef bind
#undef bind
...
...
libjava/java/net/natPlainSocketImpl.cc
View file @
b5ee195f
...
...
@@ -37,6 +37,8 @@ details. */
typedef
int
socklen_t
;
#endif
#ifndef DISABLE_JAVA_NET
// Avoid macro definitions of bind, connect from system headers, e.g. on
// Solaris 7 with _XOPEN_SOURCE. FIXME
static
inline
int
...
...
@@ -79,6 +81,7 @@ _Jv_recv (T_ret (*recv_func) (T_fd s, T_buf buf, T_len len, T_flags flags),
{
return
recv_func
((
T_fd
)
s
,
(
T_buf
)
buf
,
(
T_len
)
len
,
(
T_flags
)
flags
);
}
#endif
/* DISABLE_JAVA_NET */
#include <gcj/cni.h>
#include <gcj/javaprims.h>
...
...
@@ -151,6 +154,48 @@ java::net::PlainSocketImpl::getOption (jint)
JvNewStringLatin1
(
"SocketImpl.getOption: unimplemented"
));
}
jint
java
::
net
::
PlainSocketImpl
::
read
(
void
)
{
throw
new
SocketException
(
JvNewStringLatin1
(
"SocketImpl.read: unimplemented"
));
}
jint
java
::
net
::
PlainSocketImpl
::
read
(
jbyteArray
buffer
,
jint
offset
,
jint
count
)
{
throw
new
SocketException
(
JvNewStringLatin1
(
"SocketImpl.read: unimplemented"
));
}
void
java
::
net
::
PlainSocketImpl
::
write
(
jint
b
)
{
throw
new
SocketException
(
JvNewStringLatin1
(
"SocketImpl.write: unimplemented"
));
}
void
java
::
net
::
PlainSocketImpl
::
write
(
jbyteArray
b
,
jint
offset
,
jint
len
)
{
throw
new
SocketException
(
JvNewStringLatin1
(
"SocketImpl.write: unimplemented"
));
}
jint
java
::
net
::
PlainSocketImpl
::
available
(
void
)
{
throw
new
SocketException
(
JvNewStringLatin1
(
"SocketImpl.available: unimplemented"
));
}
void
java
::
net
::
PlainSocketImpl
::
close
(
void
)
{
throw
new
SocketException
(
JvNewStringLatin1
(
"SocketImpl.close: unimplemented"
));
}
#else
/* DISABLE_JAVA_NET */
union
SockAddr
...
...
libjava/prims.cc
View file @
b5ee195f
...
...
@@ -1001,13 +1001,18 @@ _Jv_RunMain (jclass klass, const char *name, int argc, const char **argv,
java
::
lang
::
Runtime
*
runtime
=
NULL
;
#ifdef DISABLE_MAIN_ARGS
_Jv_ThisExecutable
(
"[Embedded App]"
);
#else
#ifdef HAVE_PROC_SELF_EXE
char
exec_name
[
20
];
sprintf
(
exec_name
,
"/proc/%d/exe"
,
getpid
());
_Jv_ThisExecutable
(
exec_name
);
#else
_Jv_ThisExecutable
(
argv
[
0
]);
#endif
#endif
/* HAVE_PROC_SELF_EXE */
#endif
/* DISABLE_MAIN_ARGS */
try
{
...
...
@@ -1021,7 +1026,11 @@ _Jv_RunMain (jclass klass, const char *name, int argc, const char **argv,
// for `main'; that way it will be set up if `main' is a JNI method.
runtime
=
java
::
lang
::
Runtime
::
getRuntime
();
#ifdef DISABLE_MAIN_ARGS
arg_vec
=
JvConvertArgv
(
0
,
0
);
#else
arg_vec
=
JvConvertArgv
(
argc
-
1
,
argv
+
1
);
#endif
using
namespace
gnu
::
gcj
::
runtime
;
if
(
klass
)
...
...
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