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
c8fb9813
Commit
c8fb9813
authored
Jun 02, 2001
by
Anthony Green
Committed by
Anthony Green
Jun 02, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USE_LIBFFI change
From-SVN: r42791
parent
6a6a4abb
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
390 additions
and
323 deletions
+390
-323
libjava/ChangeLog
+18
-0
libjava/Makefile.am
+2
-2
libjava/Makefile.in
+23
-39
libjava/acconfig.h
+3
-0
libjava/configure
+302
-276
libjava/configure.in
+16
-0
libjava/gcj/Makefile.in
+4
-2
libjava/include/Makefile.in
+4
-2
libjava/include/config.h.in
+3
-0
libjava/java/lang/reflect/natMethod.cc
+11
-0
libjava/testsuite/Makefile.in
+4
-2
No files found.
libjava/ChangeLog
View file @
c8fb9813
2001-06-02 Anthony Green <green@redhat.com>
* configure: Rebuild.
* configure.in (LIBFFIINCS, LIBFFI): Introduce. Add
--without-libffi option. Tweak --disable-java-net processing.
* Makefile.in: Rebuild.
* Makefile.am (LIBFFIINCS, LIBFFI): Use.
* include/config.h.in: Rebuild.
* acconfig.h (USE_LIBFFI): Define.
* java/lang/reflect/natMethod.c: Use USE_LIBFFI.
2001-06-02 Anthony Green <green@redhat.com>
* configure: Rebuilt.
* configure.in: Test for sigaction on native builds.
* prims.cc: Check HAVE_SIGACTION.
* include/config.h.in: Rebuilt.
2001-05-31 Jeff Sturm <jsturm@one-point.com>
* natFile.cc (get_entry): Removed functions.
...
...
libjava/Makefile.am
View file @
c8fb9813
...
...
@@ -105,7 +105,7 @@ endif
JCFLAGS
=
-g
JC1FLAGS
=
@LIBGCJ_JAVAFLAGS@
$(GCJFLAGS)
LIBFFIINCS
=
-I
$(top_srcdir)
/../libffi/include
-I
$(MULTIBUILDTOP)
../libffi/include
LIBFFIINCS
=
@LIBFFIINCS@
INCLUDES
=
-I
$(top_srcdir)
-Iinclude
-I
$(top_srcdir)
/include
\
$(GCINCS)
$(THREADINCS)
$(INCLTDL)
\
...
...
@@ -260,7 +260,7 @@ libgcj.la: $(libgcj_la_OBJECTS) $(libgcj_la_DEPENDENCIES)
@
echo
$(libgcj_la_OBJECTS)
>
libgcj.objectlist
;
@
echo
$(libgcj_la_LIBADD)
>>
libgcj.objectlist
;
$(libgcj_la_LINK)
-objectlist
libgcj.objectlist
\
../libffi/libfficonvenience.la
\
@LIBFFI@
\
-rpath
$(toolexeclibdir)
$(libgcj_la_LDFLAGS)
$(LIBS)
libgcjx.la
:
$(libgcjx_la_OBJECTS) $(libgcjx_la_DEPENDENCIES)
...
...
libjava/Makefile.in
View file @
c8fb9813
...
...
@@ -88,6 +88,7 @@ HASH_SYNC_SPEC = @HASH_SYNC_SPEC@
INCLTDL
=
@INCLTDL@
JC1GCSPEC
=
@JC1GCSPEC@
LIBDATASTARTSPEC
=
@LIBDATASTARTSPEC@
LIBFFI
=
@LIBFFI@
LIBGCJDEBUG
=
@LIBGCJDEBUG@
LIBGCJTESTSPEC
=
@LIBGCJTESTSPEC@
LIBGCJ_CFLAGS
=
@LIBGCJ_CFLAGS@
...
...
@@ -121,43 +122,29 @@ here = @here@
libgcj_basedir
=
@libgcj_basedir@
AUTOMAKE_OPTIONS
=
foreign
@TESTSUBDIR_TRUE@
SUBDIRS
=
\
@TESTSUBDIR_TRUE@
$(DIRLTDL)
testsuite gcj include
@TESTSUBDIR_FALSE@
SUBDIRS
=
\
@TESTSUBDIR_FALSE@
$(DIRLTDL)
gcj include
@USE_LIBDIR_TRUE@
toolexeclibdir
=
\
@USE_LIBDIR_TRUE@
$(libdir)$(MULTISUBDIR)
@USE_LIBDIR_FALSE@
toolexeclibdir
=
\
@USE_LIBDIR_FALSE@
$(toolexecdir)
/lib
$(MULTISUBDIR)
@USE_LIBDIR_FALSE@
toolexecdir
=
\
@USE_LIBDIR_FALSE@
$(exec_prefix)
/
$(target_alias)
@XLIB_AWT_TRUE@
cond_x_ltlibrary
=
\
@XLIB_AWT_TRUE@libgcjx.la
@XLIB_AWT_FALSE@
cond_x_ltlibrary
=
\
@TESTSUBDIR_TRUE@
SUBDIRS
=
@TESTSUBDIR_TRUE@
$(DIRLTDL)
testsuite gcj include
@TESTSUBDIR_FALSE@
SUBDIRS
=
@TESTSUBDIR_FALSE@
$(DIRLTDL)
gcj include
@USE_LIBDIR_TRUE@
toolexeclibdir
=
@USE_LIBDIR_TRUE@
$(libdir)$(MULTISUBDIR)
@USE_LIBDIR_FALSE@
toolexeclibdir
=
@USE_LIBDIR_FALSE@
$(toolexecdir)
/lib
$(MULTISUBDIR)
@USE_LIBDIR_FALSE@
toolexecdir
=
@USE_LIBDIR_FALSE@
$(exec_prefix)
/
$(target_alias)
@XLIB_AWT_TRUE@
cond_x_ltlibrary
=
@XLIB_AWT_TRUE@libgcjx.la
@XLIB_AWT_FALSE@
cond_x_ltlibrary
=
toolexeclib_LTLIBRARIES
=
libgcj.la
$(cond_x_ltlibrary)
toolexeclib_DATA
=
libgcj.spec
data_DATA
=
libgcj.jar
@NEEDS_DATA_START_TRUE@
toolexeclib_LIBRARIES
=
\
@NEEDS_DATA_START_TRUE@libgcjdata.a
@NEEDS_DATA_START_TRUE@
libgcjdata_a_SOURCES
=
\
@NEEDS_DATA_START_TRUE@libgcjdata.c
@NEEDS_DATA_START_TRUE@
toolexeclib_LIBRARIES
=
@NEEDS_DATA_START_TRUE@libgcjdata.a
@NEEDS_DATA_START_TRUE@
libgcjdata_a_SOURCES
=
@NEEDS_DATA_START_TRUE@libgcjdata.c
@NATIVE_TRUE@
bin_PROGRAMS
=
\
@NATIVE_TRUE@jv-convert gij
@NATIVE_TRUE@
bin_PROGRAMS
=
@NATIVE_TRUE@jv-convert gij
bin_SCRIPTS
=
addr2name.awk
@CANADIAN_TRUE@@NULL_TARGET_TRUE@
ZIP
=
\
@CANADIAN_TRUE@@NULL_TARGET_TRUE@
$(MULTIBUILDTOP)
../
$(COMPPATH)
/fastjar/jar
$(EXEEXT)
@CANADIAN_TRUE@@NULL_TARGET_FALSE@
ZIP
=
\
@CANADIAN_TRUE@@NULL_TARGET_FALSE@jar
@CANADIAN_FALSE@
ZIP
=
\
@CANADIAN_FALSE@
$(MULTIBUILDTOP)
../
$(COMPPATH)
/fastjar/jar
$(EXEEXT)
@CANADIAN_TRUE@
GCJH
=
\
@CANADIAN_TRUE@gcjh
@CANADIAN_FALSE@
GCJH
=
\
@CANADIAN_FALSE@
$(MULTIBUILDTOP)
../
$(COMPPATH)
/gcc/gcjh
$(EXEEXT)
@CANADIAN_TRUE@@NULL_TARGET_TRUE@
ZIP
=
@CANADIAN_TRUE@@NULL_TARGET_TRUE@
$(MULTIBUILDTOP)
../
$(COMPPATH)
/fastjar/jar
$(EXEEXT)
@CANADIAN_TRUE@@NULL_TARGET_FALSE@
ZIP
=
@CANADIAN_TRUE@@NULL_TARGET_FALSE@jar
@CANADIAN_FALSE@
ZIP
=
@CANADIAN_FALSE@
$(MULTIBUILDTOP)
../
$(COMPPATH)
/fastjar/jar
$(EXEEXT)
@CANADIAN_TRUE@
GCJH
=
@CANADIAN_TRUE@gcjh
@CANADIAN_FALSE@
GCJH
=
@CANADIAN_FALSE@
$(MULTIBUILDTOP)
../
$(COMPPATH)
/gcc/gcjh
$(EXEEXT)
GCJ_WITH_FLAGS
=
$(GCJ)
--encoding
=
UTF-8
...
...
@@ -176,15 +163,13 @@ AM_CXXFLAGS = -fno-rtti -fnon-call-exceptions \
-fdollars-in-identifiers
\
@LIBGCJ_CXXFLAGS@ @X_CFLAGS@
$(WARNINGS)
-D_GNU_SOURCE
@USING_GCC_TRUE@
AM_CFLAGS
=
\
@USING_GCC_TRUE@@LIBGCJ_CFLAGS@
$(WARNINGS)
@USING_GCC_FALSE@
AM_CFLAGS
=
\
@USING_GCC_FALSE@@LIBGCJ_CFLAGS@
@USING_GCC_TRUE@
AM_CFLAGS
=
@USING_GCC_TRUE@@LIBGCJ_CFLAGS@
$(WARNINGS)
@USING_GCC_FALSE@
AM_CFLAGS
=
@USING_GCC_FALSE@@LIBGCJ_CFLAGS@
JCFLAGS
=
-g
JC1FLAGS
=
@LIBGCJ_JAVAFLAGS@
$(GCJFLAGS)
LIBFFIINCS
=
-I
$(top_srcdir)
/../libffi/include
-I
$(MULTIBUILDTOP)
../libffi/include
LIBFFIINCS
=
@LIBFFIINCS@
INCLUDES
=
-I
$(top_srcdir)
-Iinclude
-I
$(top_srcdir)
/include
\
$(GCINCS)
$(THREADINCS)
$(INCLTDL)
\
...
...
@@ -247,8 +232,7 @@ extra_headers = java/lang/Object.h java/lang/Class.h
NM
=
nm
@NATIVE_TRUE@@MAINTAINER_MODE_TRUE@
noinst_PROGRAMS
=
\
@NATIVE_TRUE@@MAINTAINER_MODE_TRUE@gen-from-JIS
@NATIVE_TRUE@@MAINTAINER_MODE_TRUE@
noinst_PROGRAMS
=
@NATIVE_TRUE@@MAINTAINER_MODE_TRUE@gen-from-JIS
CONVERT_DIR
=
gnu/gcj/convert
...
...
@@ -1269,7 +1253,7 @@ libgcj-test.spec.in libgcj.spec.in
DISTFILES
=
$(DIST_COMMON)
$(SOURCES)
$(HEADERS)
$(TEXINFOS)
$(EXTRA_DIST)
TAR
=
tar
TAR
=
g
tar
GZIP_ENV
=
--best
DIST_SUBDIRS
=
@DIRLTDL@ testsuite gcj include @DIRLTDL@ gcj include
DEP_FILES
=
.deps/
$(srcdir)
/
$(CONVERT_DIR)
/gen-from-JIS.P
\
...
...
@@ -2213,7 +2197,7 @@ distdir: $(DISTFILES)
@
for
file
in
$(DISTFILES)
;
do
\
d
=
$(srcdir)
;
\
if
test
-d
$$
d/
$$
file
;
then
\
cp
-pr
$$
/
$$
file
$(distdir)
/
$$
file
;
\
cp
-pr
$$
d
/
$$
file
$(distdir)
/
$$
file
;
\
else
\
test
-f
$(distdir)
/
$$
file
\
||
ln
$$
d/
$$
file
$(distdir)
/
$$
file 2> /dev/null
\
...
...
@@ -2464,7 +2448,7 @@ libgcj.la: $(libgcj_la_OBJECTS) $(libgcj_la_DEPENDENCIES)
@
echo
$(libgcj_la_OBJECTS)
>
libgcj.objectlist
;
@
echo
$(libgcj_la_LIBADD)
>>
libgcj.objectlist
;
$(libgcj_la_LINK)
-objectlist
libgcj.objectlist
\
../libffi/libfficonvenience.la
\
@LIBFFI@
\
-rpath
$(toolexeclibdir)
$(libgcj_la_LDFLAGS)
$(LIBS)
libgcjx.la
:
$(libgcjx_la_OBJECTS) $(libgcjx_la_DEPENDENCIES)
...
...
libjava/acconfig.h
View file @
c8fb9813
...
...
@@ -113,6 +113,9 @@
/* Define if java.net native functions should be stubbed out. */
#undef DISABLE_JAVA_NET
/* Define if we're to use libffi. */
#undef USE_LIBFFI
/* Define if system properties shouldn't be read from
getenv("GCJ_PROPERTIES"). */
#undef DISABLE_GETENV_PROPERTIES
...
...
libjava/configure
View file @
c8fb9813
...
...
@@ -50,6 +50,8 @@ ac_help="$ac_help
ac_help
=
"
$ac_help
--disable-java-net disable java.net"
ac_help
=
"
$ac_help
--without-libffi don't use libffi"
ac_help
=
"
$ac_help
--disable-jvmpi disable JVMPI support"
ac_help
=
"
$ac_help
--with-ecos enable runtime eCos target support"
...
...
@@ -620,7 +622,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
echo
$ac_n
"checking host system type""...
$ac_c
"
1>&6
echo
"configure:62
4
: checking host system type"
>
&5
echo
"configure:62
6
: checking host system type"
>
&5
host_alias
=
$host
case
"
$host_alias
"
in
...
...
@@ -641,7 +643,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo
"
$ac_t
""
$host
"
1>&6
echo
$ac_n
"checking target system type""...
$ac_c
"
1>&6
echo
"configure:64
5
: checking target system type"
>
&5
echo
"configure:64
7
: checking target system type"
>
&5
target_alias
=
$target
case
"
$target_alias
"
in
...
...
@@ -659,7 +661,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo
"
$ac_t
""
$target
"
1>&6
echo
$ac_n
"checking build system type""...
$ac_c
"
1>&6
echo
"configure:66
3
: checking build system type"
>
&5
echo
"configure:66
5
: checking build system type"
>
&5
build_alias
=
$build
case
"
$build_alias
"
in
...
...
@@ -682,7 +684,7 @@ test "$host_alias" != "$target_alias" &&
program_prefix
=
${
target_alias
}
-
echo
$ac_n
"checking whether ln -s works""...
$ac_c
"
1>&6
echo
"configure:68
6
: checking whether ln -s works"
>
&5
echo
"configure:68
8
: checking whether ln -s works"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LN_S
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -728,7 +730,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:73
2
: checking for a BSD compatible install"
>
&5
echo
"configure:73
4
: 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
...
...
@@ -781,7 +783,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
test
-z
"
$INSTALL_DATA
"
&&
INSTALL_DATA
=
'${INSTALL} -m 644'
echo
$ac_n
"checking whether build environment is sane""...
$ac_c
"
1>&6
echo
"configure:78
5
: checking whether build environment is sane"
>
&5
echo
"configure:78
7
: checking whether build environment is sane"
>
&5
# Just in case
sleep 1
echo
timestamp
>
conftestfile
...
...
@@ -838,7 +840,7 @@ test "$program_suffix" != NONE &&
test
"
$program_transform_name
"
=
""
&&
program_transform_name
=
"s,x,x,"
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:84
2
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:84
4
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
set
dummy
${
MAKE
-make
}
;
ac_make
=
`
echo
"
$2
"
| sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_make_
${
ac_make
}
_set
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -871,12 +873,12 @@ else
fi
echo
$ac_n
"checking for Cygwin environment""...
$ac_c
"
1>&6
echo
"configure:87
5
: checking for Cygwin environment"
>
&5
echo
"configure:87
7
: checking for Cygwin environment"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_cygwin
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 88
0
"configure"
#line 88
2
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -887,7 +889,7 @@ int main() {
return __CYGWIN__;
; return 0; }
EOF
if
{
(
eval echo
configure:89
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:89
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_cygwin
=
yes
else
...
...
@@ -904,19 +906,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6
CYGWIN
=
test
"
$ac_cv_cygwin
"
=
yes
&&
CYGWIN
=
yes
echo
$ac_n
"checking for mingw32 environment""...
$ac_c
"
1>&6
echo
"configure:9
08
: checking for mingw32 environment"
>
&5
echo
"configure:9
10
: checking for mingw32 environment"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_mingw32
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 91
3
"configure"
#line 91
5
"configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
EOF
if
{
(
eval echo
configure:92
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:92
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_mingw32
=
yes
else
...
...
@@ -964,7 +966,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
echo
$ac_n
"checking host system type""...
$ac_c
"
1>&6
echo
"configure:9
68
: checking host system type"
>
&5
echo
"configure:9
70
: checking host system type"
>
&5
host_alias
=
$host
case
"
$host_alias
"
in
...
...
@@ -991,7 +993,7 @@ echo "$ac_t""$host" 1>&6
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:99
5
: checking for
$ac_word
"
>
&5
echo
"configure:99
7
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1021,7 +1023,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:102
5
: checking for
$ac_word
"
>
&5
echo
"configure:102
7
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1072,7 +1074,7 @@ fi
# Extract the first word of "cl", so it can be a program name with args.
set
dummy cl
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:107
6
: checking for
$ac_word
"
>
&5
echo
"configure:107
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1105,7 +1107,7 @@ fi
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
"configure:11
09
: checking whether we are using GNU C"
>
&5
echo
"configure:11
11
: checking whether we are using GNU C"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1114,7 +1116,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:11
18
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:11
20
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gcc
=
yes
else
ac_cv_prog_gcc
=
no
...
...
@@ -1133,7 +1135,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:113
7
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:113
9
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1169,7 +1171,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:117
3
: checking for
$ac_word
"
>
&5
echo
"configure:117
5
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CXX
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1202,7 +1204,7 @@ test -n "$CXX" || CXX="gcc"
echo
$ac_n
"checking whether we are using GNU C++""...
$ac_c
"
1>&6
echo
"configure:120
6
: checking whether we are using GNU C++"
>
&5
echo
"configure:120
8
: checking whether we are using GNU C++"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gxx
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1211,7 +1213,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CXX-g++} -E conftest.C'
;
{
(
eval echo
configure:121
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
if
{
ac_try
=
'${CXX-g++} -E conftest.C'
;
{
(
eval echo
configure:121
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gxx
=
yes
else
ac_cv_prog_gxx
=
no
...
...
@@ -1230,7 +1232,7 @@ ac_test_CXXFLAGS="${CXXFLAGS+set}"
ac_save_CXXFLAGS
=
"
$CXXFLAGS
"
CXXFLAGS
=
echo
$ac_n
"checking whether
${
CXX
-g++
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:123
4
: checking whether
${
CXX
-g++
}
accepts -g"
>
&5
echo
"configure:123
6
: checking whether
${
CXX
-g++
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cxx_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1283,7 +1285,7 @@ EOF
missing_dir
=
`
cd
$ac_aux_dir
&&
pwd
`
echo
$ac_n
"checking for working aclocal""...
$ac_c
"
1>&6
echo
"configure:128
7
: checking for working aclocal"
>
&5
echo
"configure:128
9
: 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.
...
...
@@ -1296,7 +1298,7 @@ else
fi
echo
$ac_n
"checking for working autoconf""...
$ac_c
"
1>&6
echo
"configure:130
0
: checking for working autoconf"
>
&5
echo
"configure:130
2
: 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.
...
...
@@ -1309,7 +1311,7 @@ else
fi
echo
$ac_n
"checking for working automake""...
$ac_c
"
1>&6
echo
"configure:131
3
: checking for working automake"
>
&5
echo
"configure:131
5
: 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.
...
...
@@ -1322,7 +1324,7 @@ else
fi
echo
$ac_n
"checking for working autoheader""...
$ac_c
"
1>&6
echo
"configure:132
6
: checking for working autoheader"
>
&5
echo
"configure:132
8
: 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.
...
...
@@ -1335,7 +1337,7 @@ else
fi
echo
$ac_n
"checking for working makeinfo""...
$ac_c
"
1>&6
echo
"configure:13
39
: checking for working makeinfo"
>
&5
echo
"configure:13
41
: 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.
...
...
@@ -1354,7 +1356,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:13
58
: checking build system type"
>
&5
echo
"configure:13
60
: checking build system type"
>
&5
build_alias
=
$build
case
"
$build_alias
"
in
...
...
@@ -1375,7 +1377,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:13
79
: checking for
$ac_word
"
>
&5
echo
"configure:13
81
: 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
...
...
@@ -1407,7 +1409,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:141
1
: checking for
$ac_word
"
>
&5
echo
"configure:141
3
: 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
...
...
@@ -1439,7 +1441,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:144
3
: checking for
$ac_word
"
>
&5
echo
"configure:144
5
: 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
...
...
@@ -1471,7 +1473,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:147
5
: checking for
$ac_word
"
>
&5
echo
"configure:147
7
: 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
...
...
@@ -1516,7 +1518,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:152
0
: checking for a BSD compatible install"
>
&5
echo
"configure:152
2
: 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
...
...
@@ -1570,7 +1572,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:157
4
: checking whether to enable maintainer-specific portions of Makefiles"
>
&5
echo
"configure:157
6
: 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
"
...
...
@@ -1604,7 +1606,7 @@ if false; then
echo
$ac_n
"checking for executable suffix""...
$ac_c
"
1>&6
echo
"configure:16
08
: checking for executable suffix"
>
&5
echo
"configure:16
10
: checking for executable suffix"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_exeext
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1614,7 +1616,7 @@ else
rm
-f
conftest
*
echo
'int main () { return 0; }'
>
conftest.
$ac_ext
ac_cv_exeext
=
if
{
(
eval echo
configure:16
18
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:16
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
;
then
for
file
in
conftest.
*
;
do
case
$file
in
*
.c
|
*
.o
|
*
.obj
)
;;
...
...
@@ -1767,7 +1769,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:177
1
: checking for ld used by GCC"
>
&5
echo
"configure:177
3
: checking for ld used by GCC"
>
&5
case
$host
in
*
-
*
-mingw
*
)
# gcc leaves a trailing carriage return which upsets mingw
...
...
@@ -1797,10 +1799,10 @@ echo "configure:1771: 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:180
1
: checking for GNU ld"
>
&5
echo
"configure:180
3
: checking for GNU ld"
>
&5
else
echo
$ac_n
"checking for non-GNU ld""...
$ac_c
"
1>&6
echo
"configure:180
4
: checking for non-GNU ld"
>
&5
echo
"configure:180
6
: 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
...
...
@@ -1835,7 +1837,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:18
39
: checking if the linker (
$LD
) is GNU ld"
>
&5
echo
"configure:18
41
: 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
...
...
@@ -1852,7 +1854,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:185
6
: checking for
$LD
option to reload object files"
>
&5
echo
"configure:185
8
: 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
...
...
@@ -1864,7 +1866,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:18
68
: checking for BSD-compatible nm"
>
&5
echo
"configure:18
70
: 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
...
...
@@ -1902,7 +1904,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:190
6
: checking how to recognise dependant libraries"
>
&5
echo
"configure:190
8
: 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
...
...
@@ -2066,13 +2068,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:207
0
: checking for object suffix"
>
&5
echo
"configure:207
2
: 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:207
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:207
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
for
ac_file
in
conftest.
*
;
do
case
$ac_file
in
*
.c
)
;;
...
...
@@ -2096,7 +2098,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:210
0
: checking for
${
ac_tool_prefix
}
file"
>
&5
echo
"configure:210
2
: 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
...
...
@@ -2158,7 +2160,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:216
2
: checking for file"
>
&5
echo
"configure:216
4
: 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
...
...
@@ -2229,7 +2231,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:223
3
: checking for
$ac_word
"
>
&5
echo
"configure:223
5
: 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
...
...
@@ -2261,7 +2263,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:226
5
: checking for
$ac_word
"
>
&5
echo
"configure:226
7
: 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
...
...
@@ -2296,7 +2298,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:230
0
: checking for
$ac_word
"
>
&5
echo
"configure:230
2
: 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
...
...
@@ -2328,7 +2330,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:233
2
: checking for
$ac_word
"
>
&5
echo
"configure:233
4
: 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
...
...
@@ -2395,8 +2397,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 2
399
"configure"'
>
conftest.
$ac_ext
if
{
(
eval echo
configure:240
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
echo
'#line 2
401
"configure"'
>
conftest.
$ac_ext
if
{
(
eval echo
configure:240
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
case
`
/usr/bin/file conftest.
$ac_objext
`
in
*
32-bit
*
)
LD
=
"
${
LD
-ld
}
-32"
...
...
@@ -2417,7 +2419,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:242
1
: checking whether the C compiler needs -belf"
>
&5
echo
"configure:242
3
: 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
...
...
@@ -2430,14 +2432,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 243
4
"configure"
#line 243
6
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:244
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:244
3
:
\"
$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
...
...
@@ -2467,7 +2469,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:247
1
: checking how to run the C++ preprocessor"
>
&5
echo
"configure:247
3
: 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
...
...
@@ -2480,12 +2482,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 248
4
"configure"
#line 248
6
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:24
89
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:24
91
:
\"
$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
:
...
...
@@ -2715,7 +2717,7 @@ EOF
fi
echo
$ac_n
"checking for exception model to use""...
$ac_c
"
1>&6
echo
"configure:27
19
: checking for exception model to use"
>
&5
echo
"configure:27
21
: 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.
...
...
@@ -2730,7 +2732,7 @@ if test "${enable_sjlj_exceptions+set}" = set; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 273
4
"configure"
#line 273
6
"configure"
struct S { ~S(); };
void bar();
void foo()
...
...
@@ -2741,7 +2743,7 @@ void foo()
EOF
old_CXXFLAGS
=
"
$CXXFLAGS
"
CXXFLAGS
=
-S
if
{
(
eval echo
configure:274
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:274
7
:
\"
$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
...
...
@@ -2773,18 +2775,18 @@ cross_compiling=$ac_cv_prog_cc_cross
echo
"
$ac_t
""
$ac_exception_model_name
"
1>&6
echo
$ac_n
"checking for data_start""...
$ac_c
"
1>&6
echo
"configure:277
7
: checking for data_start"
>
&5
echo
"configure:277
9
: checking for data_start"
>
&5
LIBDATASTARTSPEC
=
NEEDS_DATA_START
=
cat
>
conftest.
$ac_ext
<<
EOF
#line 278
1
"configure"
#line 278
3
"configure"
#include "confdefs.h"
extern int data_start;
int main() {
return ((int) &data_start);
; return 0; }
EOF
if
{
(
eval echo
configure:27
88
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:27
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""found it"
1>&6
else
...
...
@@ -2815,6 +2817,28 @@ EOF
fi
# Check whether --with-libffi or --without-libffi was given.
if
test
"
${
with_libffi
+set
}
"
=
set
;
then
withval
=
"
$with_libffi
"
:
else
with_libffi
=
${
with_libffi_default
-yes
}
fi
LIBFFI
=
LIBFFIINCS
=
if
test
"
$with_libffi
"
!=
no
;
then
cat
>>
confdefs.h
<<
\
EOF
#define USE_LIBFFI 1
EOF
LIBFFI
=
../libffi/libfficonvenience.la
LIBFFIINCS
=
"-I
$(
top_srcdir
)
/../libffi/include -I
$(
MULTIBUILDTOP
)
../libffi/include"
fi
# Check whether --enable-jvmpi or --disable-jvmpi was given.
if
test
"
${
enable_jvmpi
+set
}
"
=
set
;
then
enableval
=
"
$enable_jvmpi
"
...
...
@@ -2854,7 +2878,7 @@ EOF
esac
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:28
58
: checking how to run the C preprocessor"
>
&5
echo
"configure:28
82
: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
...
...
@@ -2869,13 +2893,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 28
73
"configure"
#line 28
97
"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:2
879
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
903
:
\"
$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
:
...
...
@@ -2886,13 +2910,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
890
"configure"
#line 2
914
"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:2
896
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
920
:
\"
$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
:
...
...
@@ -2903,13 +2927,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-nologo -E"
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
07
"configure"
#line 29
31
"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
13
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:29
37
:
\"
$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
:
...
...
@@ -2934,7 +2958,7 @@ fi
echo
"
$ac_t
""
$CPP
"
1>&6
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
38
"configure"
#line 29
62
"configure"
#include "confdefs.h"
#include <stdint.h>
EOF
...
...
@@ -2949,7 +2973,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
53
"configure"
#line 29
77
"configure"
#include "confdefs.h"
#include <inttypes.h>
EOF
...
...
@@ -2964,7 +2988,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
68
"configure"
#line 29
92
"configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
...
...
@@ -2979,7 +3003,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line
2983
"configure"
#line
3007
"configure"
#include "confdefs.h"
#include <sys/config.h>
EOF
...
...
@@ -2996,7 +3020,7 @@ rm -f conftest*
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
00
"configure"
#line 30
24
"configure"
#include "confdefs.h"
#include <time.h>
EOF
...
...
@@ -3011,7 +3035,7 @@ fi
rm
-f
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
15
"configure"
#line 30
39
"configure"
#include "confdefs.h"
#include <time.h>
EOF
...
...
@@ -3055,7 +3079,7 @@ ZLIBTESTSPEC=
libsubdir
=
.libs
echo
$ac_n
"checking for garbage collector to use""...
$ac_c
"
1>&6
echo
"configure:30
59
: checking for garbage collector to use"
>
&5
echo
"configure:30
83
: 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
"
...
...
@@ -3111,7 +3135,7 @@ esac
echo
$ac_n
"checking for thread model used by GCC""...
$ac_c
"
1>&6
echo
"configure:31
15
: checking for thread model used by GCC"
>
&5
echo
"configure:31
39
: 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
...
...
@@ -3269,12 +3293,12 @@ else
for
ac_func
in
strerror ioctl
select
fstat open fsync sleep
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:32
73
: checking for
$ac_func
"
>
&5
echo
"configure:32
97
: 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
278
"configure"
#line 3
302
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3297,7 +3321,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:33
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:33
25
:
\"
$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
...
...
@@ -3324,12 +3348,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:33
28
: checking for
$ac_func
"
>
&5
echo
"configure:33
52
: 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 33
33
"configure"
#line 33
57
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3352,7 +3376,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:33
56
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:33
80
:
\"
$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
...
...
@@ -3379,12 +3403,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
383
: checking for
$ac_func
"
>
&5
echo
"configure:3
407
: 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
388
"configure"
#line 3
412
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3407,7 +3431,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:34
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
35
:
\"
$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
...
...
@@ -3434,12 +3458,12 @@ done
for
ac_func
in
iconv nl_langinfo setlocale
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:34
38
: checking for
$ac_func
"
>
&5
echo
"configure:34
62
: 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
43
"configure"
#line 34
67
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3462,7 +3486,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:34
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
90
:
\"
$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
...
...
@@ -3489,12 +3513,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
493
: checking for
$ac_func
"
>
&5
echo
"configure:3
517
: 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
498
"configure"
#line 3
522
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3517,7 +3541,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:35
21
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:35
45
:
\"
$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
...
...
@@ -3544,12 +3568,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:35
48
: checking for
$ac_func
"
>
&5
echo
"configure:35
72
: 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
53
"configure"
#line 35
77
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3572,7 +3596,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:3
576
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:3
600
:
\"
$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
...
...
@@ -3599,12 +3623,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:36
03
: checking for
$ac_func
"
>
&5
echo
"configure:36
27
: 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
08
"configure"
#line 36
32
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3627,7 +3651,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:36
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:36
55
:
\"
$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
...
...
@@ -3655,17 +3679,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:36
59
: checking for
$ac_hdr
"
>
&5
echo
"configure:36
83
: 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 36
64
"configure"
#line 36
88
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:36
69
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:36
93
:
\"
$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
*
...
...
@@ -3692,7 +3716,7 @@ fi
done
echo
$ac_n
"checking for dladdr in -ldl""...
$ac_c
"
1>&6
echo
"configure:3
696
: checking for dladdr in -ldl"
>
&5
echo
"configure:3
720
: 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
...
...
@@ -3700,7 +3724,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
04
"configure"
#line 37
28
"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
...
...
@@ -3711,7 +3735,7 @@ int main() {
dladdr()
; return 0; }
EOF
if
{
(
eval echo
configure:37
15
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:37
39
:
\"
$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
...
...
@@ -3740,7 +3764,7 @@ do
ac_safe
=
`
echo
"
$ac_file
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_file
""...
$ac_c
"
1>&6
echo
"configure:37
44
: checking for
$ac_file
"
>
&5
echo
"configure:37
68
: 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
...
...
@@ -3775,12 +3799,12 @@ done
for
ac_func
in
gethostbyname_r
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:3
779
: checking for
$ac_func
"
>
&5
echo
"configure:3
803
: 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
784
"configure"
#line 3
808
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3803,7 +3827,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:38
07
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
31
:
\"
$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
...
...
@@ -3830,7 +3854,7 @@ EOF
# We look for the one that returns `int'.
# Hopefully this check is robust enough.
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
34
"configure"
#line 38
58
"configure"
#include "confdefs.h"
#include <netdb.h>
EOF
...
...
@@ -3850,7 +3874,7 @@ rm -f conftest*
*
" -D_REENTRANT "
*
)
;;
*
)
echo
$ac_n
"checking whether gethostbyname_r declaration requires -D_REENTRANT""...
$ac_c
"
1>&6
echo
"configure:38
54
: checking whether gethostbyname_r declaration requires -D_REENTRANT"
>
&5
echo
"configure:38
78
: 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
...
...
@@ -3863,14 +3887,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 38
67
"configure"
#line 38
91
"configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
gethostbyname_r("", 0, 0);
; return 0; }
EOF
if
{
(
eval echo
configure:38
74
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:38
98
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
libjava_cv_gethostbyname_r_needs_reentrant
=
no
else
...
...
@@ -3880,14 +3904,14 @@ else
CPPFLAGS_SAVE
=
"
$CPPFLAGS
"
CPPFLAGS
=
"
$CPPFLAGS
-D_REENTRANT"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
884
"configure"
#line 3
908
"configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
gethostbyname_r("", 0, 0);
; return 0; }
EOF
if
{
(
eval echo
configure:3
891
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
915
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
libjava_cv_gethostbyname_r_needs_reentrant
=
yes
else
...
...
@@ -3922,12 +3946,12 @@ EOF
esac
echo
$ac_n
"checking for struct hostent_data""...
$ac_c
"
1>&6
echo
"configure:39
26
: checking for struct hostent_data"
>
&5
echo
"configure:39
50
: 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 39
31
"configure"
#line 39
55
"configure"
#include "confdefs.h"
#if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
...
...
@@ -3938,7 +3962,7 @@ int main() {
struct hostent_data data;
; return 0; }
EOF
if
{
(
eval echo
configure:39
42
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:39
66
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
libjava_cv_struct_hostent_data
=
yes
else
...
...
@@ -3967,12 +3991,12 @@ done
for
ac_func
in
gethostbyaddr_r
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:39
71
: checking for
$ac_func
"
>
&5
echo
"configure:39
95
: 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
3976
"configure"
#line
4000
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3995,7 +4019,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:
3999
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
4023
:
\"
$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
...
...
@@ -4022,7 +4046,7 @@ EOF
# We look for the one that returns `int'.
# Hopefully this check is robust enough.
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
26
"configure"
#line 40
50
"configure"
#include "confdefs.h"
#include <netdb.h>
EOF
...
...
@@ -4046,12 +4070,12 @@ done
for
ac_func
in
gethostname
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:40
50
: checking for
$ac_func
"
>
&5
echo
"configure:40
74
: 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 40
55
"configure"
#line 40
79
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4074,7 +4098,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:4
078
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
102
:
\"
$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
...
...
@@ -4098,7 +4122,7 @@ EOF
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
02
"configure"
#line 41
26
"configure"
#include "confdefs.h"
#include <unistd.h>
EOF
...
...
@@ -4129,12 +4153,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:41
33
: checking for
$ac_func
"
>
&5
echo
"configure:41
57
: 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
38
"configure"
#line 41
62
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4157,7 +4181,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:41
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:41
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
...
...
@@ -4187,12 +4211,12 @@ done
for
ac_func
in
sched_yield
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:4
191
: checking for
$ac_func
"
>
&5
echo
"configure:4
215
: 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
196
"configure"
#line 4
220
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4215,7 +4239,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:42
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:42
43
:
\"
$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
...
...
@@ -4237,7 +4261,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for sched_yield in -lrt""...
$ac_c
"
1>&6
echo
"configure:42
41
: checking for sched_yield in -lrt"
>
&5
echo
"configure:42
65
: 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
...
...
@@ -4245,7 +4269,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lrt
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
49
"configure"
#line 42
73
"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
...
...
@@ -4256,7 +4280,7 @@ int main() {
sched_yield()
; return 0; }
EOF
if
{
(
eval echo
configure:42
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:42
84
:
\"
$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
...
...
@@ -4282,7 +4306,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for sched_yield in -lposix4""...
$ac_c
"
1>&6
echo
"configure:4
286
: checking for sched_yield in -lposix4"
>
&5
echo
"configure:4
310
: 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
...
...
@@ -4290,7 +4314,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lposix4
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
294
"configure"
#line 4
318
"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
...
...
@@ -4301,7 +4325,7 @@ int main() {
sched_yield()
; return 0; }
EOF
if
{
(
eval echo
configure:43
05
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:43
29
:
\"
$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
...
...
@@ -4337,7 +4361,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 43
41
"configure"
#line 43
65
"configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
...
...
@@ -4346,7 +4370,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:43
50
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:43
74
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define PTHREAD_MUTEX_HAVE_M_COUNT 1
...
...
@@ -4358,7 +4382,7 @@ else
rm
-rf
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
62
"configure"
#line 43
86
"configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
...
...
@@ -4367,7 +4391,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:43
71
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:43
95
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define PTHREAD_MUTEX_HAVE___M_COUNT 1
...
...
@@ -4387,12 +4411,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
391
: checking for
$ac_func
"
>
&5
echo
"configure:4
415
: 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
396
"configure"
#line 4
420
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4415,7 +4439,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:44
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:44
43
:
\"
$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
...
...
@@ -4446,12 +4470,12 @@ done
for
ac_func
in
memmove
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:44
50
: checking for
$ac_func
"
>
&5
echo
"configure:44
74
: 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
55
"configure"
#line 44
79
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4474,7 +4498,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:4
478
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
502
:
\"
$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
...
...
@@ -4504,12 +4528,12 @@ done
for
ac_func
in
memcpy
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:45
08
: checking for
$ac_func
"
>
&5
echo
"configure:45
32
: 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 45
13
"configure"
#line 45
37
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4532,7 +4556,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:45
36
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:45
60
:
\"
$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
...
...
@@ -4580,7 +4604,7 @@ done
#--------------------------------------------------------------------
echo
$ac_n
"checking for socket libraries""...
$ac_c
"
1>&6
echo
"configure:4
584
: checking for socket libraries"
>
&5
echo
"configure:4
608
: 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
...
...
@@ -4588,12 +4612,12 @@ else
gcj_checkBoth
=
0
unset
ac_cv_func_connect
echo
$ac_n
"checking for connect""...
$ac_c
"
1>&6
echo
"configure:4
592
: checking for connect"
>
&5
echo
"configure:4
616
: 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 4
597
"configure"
#line 4
621
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
...
...
@@ -4616,7 +4640,7 @@ connect();
; return 0; }
EOF
if
{
(
eval echo
configure:46
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:46
44
:
\"
$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
...
...
@@ -4639,7 +4663,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:46
43
: checking for main in -lsocket"
>
&5
echo
"configure:46
67
: 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
...
...
@@ -4647,14 +4671,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
51
"configure"
#line 46
75
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:46
58
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:46
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
...
...
@@ -4681,12 +4705,12 @@ fi
LIBS
=
"
$LIBS
-lsocket -lnsl"
unset
ac_cv_func_accept
echo
$ac_n
"checking for accept""...
$ac_c
"
1>&6
echo
"configure:4
685
: checking for accept"
>
&5
echo
"configure:4
709
: 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 4
690
"configure"
#line 4
714
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char accept(); below. */
...
...
@@ -4709,7 +4733,7 @@ accept();
; return 0; }
EOF
if
{
(
eval echo
configure:47
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:47
37
:
\"
$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
...
...
@@ -4736,12 +4760,12 @@ fi
gcj_oldLibs
=
$LIBS
LIBS
=
"
$LIBS
$gcj_cv_lib_sockets
"
echo
$ac_n
"checking for gethostbyname""...
$ac_c
"
1>&6
echo
"configure:47
40
: checking for gethostbyname"
>
&5
echo
"configure:47
64
: 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 47
45
"configure"
#line 47
69
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
...
...
@@ -4764,7 +4788,7 @@ gethostbyname();
; return 0; }
EOF
if
{
(
eval echo
configure:47
68
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:47
92
:
\"
$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
...
...
@@ -4782,7 +4806,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:4
786
: checking for main in -lnsl"
>
&5
echo
"configure:4
810
: 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
...
...
@@ -4790,14 +4814,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
794
"configure"
#line 4
818
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:48
01
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:48
25
:
\"
$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
...
...
@@ -4829,7 +4853,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:48
33
: checking for deflate in -lz"
>
&5
echo
"configure:48
57
: 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
...
...
@@ -4837,7 +4861,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lz
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
41
"configure"
#line 48
65
"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
...
...
@@ -4848,7 +4872,7 @@ int main() {
deflate()
; return 0; }
EOF
if
{
(
eval echo
configure:48
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:48
76
:
\"
$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
...
...
@@ -4878,7 +4902,7 @@ fi
# requires -ldl.
if
test
"
$GC
"
=
boehm
;
then
echo
$ac_n
"checking for main in -ldl""...
$ac_c
"
1>&6
echo
"configure:4
882
: checking for main in -ldl"
>
&5
echo
"configure:4
906
: 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
...
...
@@ -4886,14 +4910,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
890
"configure"
#line 4
914
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:4
897
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
921
:
\"
$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
...
...
@@ -4959,7 +4983,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:49
63
: checking for
$ac_word
"
>
&5
echo
"configure:49
87
: 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
...
...
@@ -4991,7 +5015,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:
4995
: checking for
$ac_word
"
>
&5
echo
"configure:
5019
: 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
...
...
@@ -5053,7 +5077,7 @@ exec 5>>./config.log
CPPFLAGS
=
$GCJ_SAVE_CPPFLAGS
echo
$ac_n
"checking size of void *""...
$ac_c
"
1>&6
echo
"configure:50
57
: checking size of void *"
>
&5
echo
"configure:50
81
: 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
...
...
@@ -5061,7 +5085,7 @@ else
{
echo
"configure: error: can not run test program while cross compiling"
1>&2
;
exit
1
;
}
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
65
"configure"
#line 50
89
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -5072,7 +5096,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:5
076
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:5
100
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_void_p
=
`
cat
conftestval
`
else
...
...
@@ -5170,18 +5194,18 @@ EOF
echo
$ac_n
"checking for g++ -ffloat-store bug""...
$ac_c
"
1>&6
echo
"configure:51
74
: checking for g++ -ffloat-store bug"
>
&5
echo
"configure:51
98
: checking for g++ -ffloat-store bug"
>
&5
save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
"-x c++ -O2 -ffloat-store"
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
178
"configure"
#line 5
202
"configure"
#include "confdefs.h"
#include <math.h>
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:5
185
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
209
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&6
else
...
...
@@ -5201,17 +5225,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:52
05
: checking for
$ac_hdr
"
>
&5
echo
"configure:52
29
: 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 52
10
"configure"
#line 52
34
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:52
15
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:52
39
:
\"
$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
*
...
...
@@ -5241,17 +5265,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:52
45
: checking for
$ac_hdr
"
>
&5
echo
"configure:52
69
: 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 52
50
"configure"
#line 52
74
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:52
55
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:52
79
:
\"
$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
*
...
...
@@ -5279,12 +5303,12 @@ done
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:5
283
: checking for ANSI C header files"
>
&5
echo
"configure:5
307
: 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 5
288
"configure"
#line 5
312
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -5292,7 +5316,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:5
296
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:5
320
:
\"
$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
*
...
...
@@ -5309,7 +5333,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 53
13
"configure"
#line 53
37
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -5327,7 +5351,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 53
31
"configure"
#line 53
55
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -5348,7 +5372,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
52
"configure"
#line 53
76
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -5359,7 +5383,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:53
63
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:53
87
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -5383,12 +5407,12 @@ EOF
fi
echo
$ac_n
"checking for ssize_t""...
$ac_c
"
1>&6
echo
"configure:5
387
: checking for ssize_t"
>
&5
echo
"configure:5
411
: 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
392
"configure"
#line 5
416
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5417,9 +5441,9 @@ fi
echo
$ac_n
"checking for in_addr_t""...
$ac_c
"
1>&6
echo
"configure:54
21
: checking for in_addr_t"
>
&5
echo
"configure:54
45
: checking for in_addr_t"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
23
"configure"
#line 54
47
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5433,7 +5457,7 @@ int main() {
in_addr_t foo;
; return 0; }
EOF
if
{
(
eval echo
configure:54
37
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
61
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_IN_ADDR_T 1
...
...
@@ -5449,16 +5473,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking whether struct ip_mreq is in netinet/in.h""...
$ac_c
"
1>&6
echo
"configure:54
53
: checking whether struct ip_mreq is in netinet/in.h"
>
&5
echo
"configure:54
77
: checking whether struct ip_mreq is in netinet/in.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
55
"configure"
#line 54
79
"configure"
#include "confdefs.h"
#include <netinet/in.h>
int main() {
struct ip_mreq mreq;
; return 0; }
EOF
if
{
(
eval echo
configure:54
62
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
86
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STRUCT_IP_MREQ 1
...
...
@@ -5474,16 +5498,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking whether struct sockaddr_in6 is in netinet/in.h""...
$ac_c
"
1>&6
echo
"configure:5
478
: checking whether struct sockaddr_in6 is in netinet/in.h"
>
&5
echo
"configure:5
502
: checking whether struct sockaddr_in6 is in netinet/in.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
480
"configure"
#line 5
504
"configure"
#include "confdefs.h"
#include <netinet/in.h>
int main() {
struct sockaddr_in6 addr6;
; return 0; }
EOF
if
{
(
eval echo
configure:5
487
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
511
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_INET6 1
...
...
@@ -5499,9 +5523,9 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for socklen_t in sys/socket.h""...
$ac_c
"
1>&6
echo
"configure:55
03
: checking for socklen_t in sys/socket.h"
>
&5
echo
"configure:55
27
: checking for socklen_t in sys/socket.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
05
"configure"
#line 55
29
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -5509,7 +5533,7 @@ int main() {
socklen_t x = 5;
; return 0; }
EOF
if
{
(
eval echo
configure:55
13
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:55
37
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_SOCKLEN_T 1
...
...
@@ -5525,16 +5549,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for tm_gmtoff in struct tm""...
$ac_c
"
1>&6
echo
"configure:55
29
: checking for tm_gmtoff in struct tm"
>
&5
echo
"configure:55
53
: checking for tm_gmtoff in struct tm"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
31
"configure"
#line 55
55
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
struct tm tim; tim.tm_gmtoff = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:55
38
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:55
62
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define STRUCT_TM_HAS_GMTOFF 1
...
...
@@ -5547,16 +5571,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:55
51
: checking for global timezone variable"
>
&5
echo
"configure:55
75
: checking for global timezone variable"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
53
"configure"
#line 55
77
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
long z2 = timezone;
; return 0; }
EOF
if
{
(
eval echo
configure:55
60
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:55
84
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_TIMEZONE 1
...
...
@@ -5576,19 +5600,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:5
580
: checking for working alloca.h"
>
&5
echo
"configure:5
604
: 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 5
585
"configure"
#line 5
609
"configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
if
{
(
eval echo
configure:5
592
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
616
:
\"
$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
...
...
@@ -5609,12 +5633,12 @@ EOF
fi
echo
$ac_n
"checking for alloca""...
$ac_c
"
1>&6
echo
"configure:56
13
: checking for alloca"
>
&5
echo
"configure:56
37
: 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 56
18
"configure"
#line 56
42
"configure"
#include "confdefs.h"
#ifdef __GNUC__
...
...
@@ -5642,7 +5666,7 @@ int main() {
char *p = (char *) alloca(1);
; return 0; }
EOF
if
{
(
eval echo
configure:56
46
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:56
70
:
\"
$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
...
...
@@ -5674,12 +5698,12 @@ EOF
echo
$ac_n
"checking whether alloca needs Cray hooks""...
$ac_c
"
1>&6
echo
"configure:5
678
: checking whether alloca needs Cray hooks"
>
&5
echo
"configure:5
702
: 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 5
683
"configure"
#line 5
707
"configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
...
...
@@ -5704,12 +5728,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:57
08
: checking for
$ac_func
"
>
&5
echo
"configure:57
32
: 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 57
13
"configure"
#line 57
37
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5732,7 +5756,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:57
36
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:57
60
:
\"
$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
...
...
@@ -5759,7 +5783,7 @@ done
fi
echo
$ac_n
"checking stack direction for C alloca""...
$ac_c
"
1>&6
echo
"configure:57
63
: checking stack direction for C alloca"
>
&5
echo
"configure:57
87
: 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
...
...
@@ -5767,7 +5791,7 @@ else
ac_cv_c_stack_direction
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 57
71
"configure"
#line 57
95
"configure"
#include "confdefs.h"
find_stack_direction ()
{
...
...
@@ -5786,7 +5810,7 @@ main ()
exit (find_stack_direction() < 0);
}
EOF
if
{
(
eval echo
configure:5
790
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:5
814
:
\"
$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
...
...
@@ -5813,7 +5837,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:58
17
: checking for
$ac_word
"
>
&5
echo
"configure:58
41
: 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
...
...
@@ -5888,7 +5912,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:5
892
: checking for X"
>
&5
echo
"configure:5
916
: checking for X"
>
&5
# Check whether --with-x or --without-x was given.
if
test
"
${
with_x
+set
}
"
=
set
;
then
...
...
@@ -5950,12 +5974,12 @@ if test "$ac_x_includes" = NO; then
# First, try using that file with no special directory specified.
cat
>
conftest.
$ac_ext
<<
EOF
#line 59
54
"configure"
#line 59
78
"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:59
59
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:59
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
rm
-rf
conftest
*
...
...
@@ -6024,14 +6048,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 60
28
"configure"
#line 60
52
"configure"
#include "confdefs.h"
int main() {
${
x_direct_test_function
}
()
; return 0; }
EOF
if
{
(
eval echo
configure:60
35
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:60
59
:
\"
$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.
...
...
@@ -6137,17 +6161,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:61
41
: checking whether -R must be followed by a space"
>
&5
echo
"configure:61
65
: 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 61
44
"configure"
#line 61
68
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:61
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:61
75
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_R_nospace
=
yes
else
...
...
@@ -6163,14 +6187,14 @@ rm -f conftest*
else
LIBS
=
"
$ac_xsave_LIBS
-R
$x_libraries
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 61
67
"configure"
#line 61
91
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:61
74
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:61
98
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_R_space
=
yes
else
...
...
@@ -6202,7 +6226,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:62
06
: checking for dnet_ntoa in -ldnet"
>
&5
echo
"configure:62
30
: 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
...
...
@@ -6210,7 +6234,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldnet
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
14
"configure"
#line 62
38
"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
...
...
@@ -6221,7 +6245,7 @@ int main() {
dnet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:62
25
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:62
49
:
\"
$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
...
...
@@ -6243,7 +6267,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:62
47
: checking for dnet_ntoa in -ldnet_stub"
>
&5
echo
"configure:62
71
: 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
...
...
@@ -6251,7 +6275,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldnet_stub
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
55
"configure"
#line 62
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
...
...
@@ -6262,7 +6286,7 @@ int main() {
dnet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:62
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:62
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
...
...
@@ -6291,12 +6315,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
295
: checking for gethostbyname"
>
&5
echo
"configure:6
319
: 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 63
00
"configure"
#line 63
24
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
...
...
@@ -6319,7 +6343,7 @@ gethostbyname();
; return 0; }
EOF
if
{
(
eval echo
configure:63
23
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:63
47
:
\"
$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
...
...
@@ -6340,7 +6364,7 @@ fi
if
test
$ac_cv_func_gethostbyname
=
no
;
then
echo
$ac_n
"checking for gethostbyname in -lnsl""...
$ac_c
"
1>&6
echo
"configure:63
44
: checking for gethostbyname in -lnsl"
>
&5
echo
"configure:63
68
: 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
...
...
@@ -6348,7 +6372,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
52
"configure"
#line 63
76
"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
...
...
@@ -6359,7 +6383,7 @@ int main() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:63
63
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:63
87
:
\"
$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
...
...
@@ -6389,12 +6413,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
393
: checking for connect"
>
&5
echo
"configure:6
417
: 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
398
"configure"
#line 6
422
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
...
...
@@ -6417,7 +6441,7 @@ connect();
; return 0; }
EOF
if
{
(
eval echo
configure:64
21
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:64
45
:
\"
$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
...
...
@@ -6438,7 +6462,7 @@ fi
if
test
$ac_cv_func_connect
=
no
;
then
echo
$ac_n
"checking for connect in -lsocket""...
$ac_c
"
1>&6
echo
"configure:64
42
: checking for connect in -lsocket"
>
&5
echo
"configure:64
66
: 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
...
...
@@ -6446,7 +6470,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
50
"configure"
#line 64
74
"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
...
...
@@ -6457,7 +6481,7 @@ int main() {
connect()
; return 0; }
EOF
if
{
(
eval echo
configure:64
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:64
85
:
\"
$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
...
...
@@ -6481,12 +6505,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:6
485
: checking for remove"
>
&5
echo
"configure:6
509
: 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 6
490
"configure"
#line 6
514
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char remove(); below. */
...
...
@@ -6509,7 +6533,7 @@ remove();
; return 0; }
EOF
if
{
(
eval echo
configure:65
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:65
37
:
\"
$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
...
...
@@ -6530,7 +6554,7 @@ fi
if
test
$ac_cv_func_remove
=
no
;
then
echo
$ac_n
"checking for remove in -lposix""...
$ac_c
"
1>&6
echo
"configure:65
34
: checking for remove in -lposix"
>
&5
echo
"configure:65
58
: 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
...
...
@@ -6538,7 +6562,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lposix
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
42
"configure"
#line 65
66
"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
...
...
@@ -6549,7 +6573,7 @@ int main() {
remove()
; return 0; }
EOF
if
{
(
eval echo
configure:65
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:65
77
:
\"
$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
...
...
@@ -6573,12 +6597,12 @@ fi
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
echo
$ac_n
"checking for shmat""...
$ac_c
"
1>&6
echo
"configure:6
577
: checking for shmat"
>
&5
echo
"configure:6
601
: 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 6
582
"configure"
#line 6
606
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shmat(); below. */
...
...
@@ -6601,7 +6625,7 @@ shmat();
; return 0; }
EOF
if
{
(
eval echo
configure:66
05
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:66
29
:
\"
$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
...
...
@@ -6622,7 +6646,7 @@ fi
if
test
$ac_cv_func_shmat
=
no
;
then
echo
$ac_n
"checking for shmat in -lipc""...
$ac_c
"
1>&6
echo
"configure:66
26
: checking for shmat in -lipc"
>
&5
echo
"configure:66
50
: 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
...
...
@@ -6630,7 +6654,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lipc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 66
34
"configure"
#line 66
58
"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
...
...
@@ -6641,7 +6665,7 @@ int main() {
shmat()
; return 0; }
EOF
if
{
(
eval echo
configure:66
45
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:66
69
:
\"
$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
...
...
@@ -6674,7 +6698,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:6
678
: checking for IceConnectionNumber in -lICE"
>
&5
echo
"configure:6
702
: 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
...
...
@@ -6682,7 +6706,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lICE
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
686
"configure"
#line 6
710
"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
...
...
@@ -6693,7 +6717,7 @@ int main() {
IceConnectionNumber()
; return 0; }
EOF
if
{
(
eval echo
configure:6
697
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:6
721
:
\"
$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
...
...
@@ -6960,6 +6984,8 @@ s%@TESTSUBDIR_TRUE@%$TESTSUBDIR_TRUE%g
s%@TESTSUBDIR_FALSE@%
$TESTSUBDIR_FALSE
%g
s%@LIBGCJDEBUG@%
$LIBGCJDEBUG
%g
s%@LIBDATASTARTSPEC@%
$LIBDATASTARTSPEC
%g
s%@LIBFFI@%
$LIBFFI
%g
s%@LIBFFIINCS@%
$LIBFFIINCS
%g
s%@CPP@%
$CPP
%g
s%@SYSTEMSPEC@%
$SYSTEMSPEC
%g
s%@LIBGCJTESTSPEC@%
$LIBGCJTESTSPEC
%g
...
...
libjava/configure.in
View file @
c8fb9813
...
...
@@ -170,6 +170,22 @@ if test "$enable_java_net" = no; then
AC_DEFINE(DISABLE_JAVA_NET)
fi
dnl See if the user wants to configure without libffi. Some
dnl architectures don't support it, and default values are set in
dnl configure.host.
AC_ARG_WITH(libffi,
[ --without-libffi don't use libffi],,with_libffi=${with_libffi_default-yes})
LIBFFI=
LIBFFIINCS=
if test "$with_libffi" != no; then
AC_DEFINE(USE_LIBFFI)
LIBFFI=../libffi/libfficonvenience.la
LIBFFIINCS="-I$(top_srcdir)/../libffi/include -I$(MULTIBUILDTOP)../libffi/include"
fi
AC_SUBST(LIBFFI)
AC_SUBST(LIBFFIINCS)
dnl See if the user wants to disable JVMPI support.
AC_ARG_ENABLE(jvmpi,
[ --disable-jvmpi disable JVMPI support])
...
...
libjava/gcj/Makefile.in
View file @
c8fb9813
...
...
@@ -89,6 +89,8 @@ HASH_SYNC_SPEC = @HASH_SYNC_SPEC@
INCLTDL
=
@INCLTDL@
JC1GCSPEC
=
@JC1GCSPEC@
LIBDATASTARTSPEC
=
@LIBDATASTARTSPEC@
LIBFFI
=
@LIBFFI@
LIBFFIINCS
=
@LIBFFIINCS@
LIBGCJDEBUG
=
@LIBGCJDEBUG@
LIBGCJTESTSPEC
=
@LIBGCJTESTSPEC@
LIBGCJ_CFLAGS
=
@LIBGCJ_CFLAGS@
...
...
@@ -135,7 +137,7 @@ DIST_COMMON = ./stamp-h2.in Makefile.am Makefile.in libgcj-config.h.in
DISTFILES
=
$(DIST_COMMON)
$(SOURCES)
$(HEADERS)
$(TEXINFOS)
$(EXTRA_DIST)
TAR
=
tar
TAR
=
g
tar
GZIP_ENV
=
--best
all
:
all-redirect
.SUFFIXES
:
...
...
@@ -232,7 +234,7 @@ distdir: $(DISTFILES)
@
for
file
in
$(DISTFILES)
;
do
\
d
=
$(srcdir)
;
\
if
test
-d
$$
d/
$$
file
;
then
\
cp
-pr
$$
/
$$
file
$(distdir)
/
$$
file
;
\
cp
-pr
$$
d
/
$$
file
$(distdir)
/
$$
file
;
\
else
\
test
-f
$(distdir)
/
$$
file
\
||
ln
$$
d/
$$
file
$(distdir)
/
$$
file 2> /dev/null
\
...
...
libjava/include/Makefile.in
View file @
c8fb9813
...
...
@@ -89,6 +89,8 @@ HASH_SYNC_SPEC = @HASH_SYNC_SPEC@
INCLTDL
=
@INCLTDL@
JC1GCSPEC
=
@JC1GCSPEC@
LIBDATASTARTSPEC
=
@LIBDATASTARTSPEC@
LIBFFI
=
@LIBFFI@
LIBFFIINCS
=
@LIBFFIINCS@
LIBGCJDEBUG
=
@LIBGCJDEBUG@
LIBGCJTESTSPEC
=
@LIBGCJTESTSPEC@
LIBGCJ_CFLAGS
=
@LIBGCJ_CFLAGS@
...
...
@@ -134,7 +136,7 @@ DIST_COMMON = ./stamp-h1.in Makefile.am Makefile.in config.h.in
DISTFILES
=
$(DIST_COMMON)
$(SOURCES)
$(HEADERS)
$(TEXINFOS)
$(EXTRA_DIST)
TAR
=
tar
TAR
=
g
tar
GZIP_ENV
=
--best
all
:
all-redirect
.SUFFIXES
:
...
...
@@ -231,7 +233,7 @@ distdir: $(DISTFILES)
@
for
file
in
$(DISTFILES)
;
do
\
d
=
$(srcdir)
;
\
if
test
-d
$$
d/
$$
file
;
then
\
cp
-pr
$$
/
$$
file
$(distdir)
/
$$
file
;
\
cp
-pr
$$
d
/
$$
file
$(distdir)
/
$$
file
;
\
else
\
test
-f
$(distdir)
/
$$
file
\
||
ln
$$
d/
$$
file
$(distdir)
/
$$
file 2> /dev/null
\
...
...
libjava/include/config.h.in
View file @
c8fb9813
...
...
@@ -131,6 +131,9 @@
/* Define if java.net native functions should be stubbed out. */
#undef DISABLE_JAVA_NET
/* Define if we're to use libffi. */
#undef USE_LIBFFI
/* Define if system properties shouldn't be read from
getenv("GCJ_PROPERTIES"). */
#undef DISABLE_GETENV_PROPERTIES
...
...
libjava/java/lang/reflect/natMethod.cc
View file @
c8fb9813
...
...
@@ -44,7 +44,11 @@ details. */
#include <stdlib.h>
#if USE_LIBFFI
#include <ffi.h>
#else
#include <java/lang/UnsupportedOperationException.h>
#endif
// FIXME: remove these.
#define BooleanClass java::lang::Boolean::class$
...
...
@@ -107,6 +111,7 @@ can_widen (jclass from, jclass to)
return
fromx
<=
tox
;
}
#ifdef USE_LIBFFI
static
inline
ffi_type
*
get_ffi_type
(
jclass
klass
)
{
...
...
@@ -148,6 +153,7 @@ get_ffi_type (jclass klass)
return
r
;
}
#endif // USE_LIBFFI
jobject
java
::
lang
::
reflect
::
Method
::
invoke
(
jobject
obj
,
jobjectArray
args
)
...
...
@@ -312,6 +318,7 @@ _Jv_CallAnyMethodA (jobject obj,
jvalue
*
args
,
jvalue
*
result
)
{
#ifdef USE_LIBFFI
JvAssert
(
!
is_constructor
||
!
obj
);
JvAssert
(
!
is_constructor
||
return_type
);
...
...
@@ -428,6 +435,10 @@ _Jv_CallAnyMethodA (jobject obj,
result
->
l
=
obj
;
return
ex
;
#else
throw
new
java
::
lang
::
UnsupportedOperationException
;
return
0
;
#endif // USE_LIBFFI
}
// This is another version of _Jv_CallAnyMethodA, but this one does
...
...
libjava/testsuite/Makefile.in
View file @
c8fb9813
...
...
@@ -89,6 +89,8 @@ HASH_SYNC_SPEC = @HASH_SYNC_SPEC@
INCLTDL
=
@INCLTDL@
JC1GCSPEC
=
@JC1GCSPEC@
LIBDATASTARTSPEC
=
@LIBDATASTARTSPEC@
LIBFFI
=
@LIBFFI@
LIBFFIINCS
=
@LIBFFIINCS@
LIBGCJDEBUG
=
@LIBGCJDEBUG@
LIBGCJTESTSPEC
=
@LIBGCJTESTSPEC@
LIBGCJ_CFLAGS
=
@LIBGCJ_CFLAGS@
...
...
@@ -143,7 +145,7 @@ DIST_COMMON = ChangeLog Makefile.am Makefile.in
DISTFILES
=
$(DIST_COMMON)
$(SOURCES)
$(HEADERS)
$(TEXINFOS)
$(EXTRA_DIST)
TAR
=
tar
TAR
=
g
tar
GZIP_ENV
=
--best
all
:
all-redirect
.SUFFIXES
:
...
...
@@ -171,7 +173,7 @@ distdir: $(DISTFILES)
@
for
file
in
$(DISTFILES)
;
do
\
d
=
$(srcdir)
;
\
if
test
-d
$$
d/
$$
file
;
then
\
cp
-pr
$$
/
$$
file
$(distdir)
/
$$
file
;
\
cp
-pr
$$
d
/
$$
file
$(distdir)
/
$$
file
;
\
else
\
test
-f
$(distdir)
/
$$
file
\
||
ln
$$
d/
$$
file
$(distdir)
/
$$
file 2> /dev/null
\
...
...
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