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
395cb211
Commit
395cb211
authored
Apr 12, 2002
by
Anthony Green
Committed by
Anthony Green
Apr 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install libgcj.jar as libgcj-VERSION.jar.
From-SVN: r52226
parent
1d80248e
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
327 additions
and
312 deletions
+327
-312
libjava/ChangeLog
+8
-0
libjava/Makefile.am
+12
-10
libjava/Makefile.in
+49
-61
libjava/configure
+229
-227
libjava/configure.in
+1
-0
libjava/gcj/Makefile.in
+5
-4
libjava/include/Makefile.in
+5
-4
libjava/testsuite/ChangeLog
+4
-0
libjava/testsuite/Makefile.in
+5
-4
libjava/testsuite/lib/libjava.exp
+9
-2
No files found.
libjava/ChangeLog
View file @
395cb211
2002
-
04
-
12
Anthony
Green
<
green
@
redhat
.
com
>
*
Makefile
.
am
(
jardir
,
jar_DATA
):
Define
(
for
libgcj
.
jar
).
Create
libgcj
-@
gcc_version
@.
jar
instead
of
libgcj
.
jar
.
*
Makefile
.
in
:
Rebuilt
.
*
configure
.
in
:
Substitute
gcc_version
.
*
configure
:
Rebuilt
.
2002
-
04
-
11
Bryce
McKinlay
<
bryce
@
waitaki
.
otago
.
ac
.
nz
>
*
configure
.
host
:
Set
can_unwind_signal
on
hosts
which
support
it
.
...
...
libjava/Makefile.am
View file @
395cb211
...
...
@@ -31,7 +31,9 @@ endif
toolexeclib_LTLIBRARIES
=
libgcj.la
$(cond_x_ltlibrary)
toolexeclib_DATA
=
libgcj.spec
data_DATA
=
libgcj.jar
jardir
=
$(datadir)
/java
jar_DATA
=
libgcj-@gcc_version@.jar
## FIXME: Using libdir violates GNU coding standards.
secdir
=
$(libdir)
/security
...
...
@@ -145,7 +147,7 @@ libgcj_la_LINK = $(LIBLINK)
libgcjx_la_SOURCES
=
$(x_nat_source_files)
EXTRA_libgcjx_la_SOURCES
=
$(x_java_source_files)
libgcjx_la_DEPENDENCIES
=
libgcj.jar
$(x_javao_files)
libgcjx_la_DEPENDENCIES
=
libgcj
-@gcc_version@
.jar
$(x_javao_files)
libgcjx_la_LIBADD
=
$(x_javao_files)
libgcjx_la_LDFLAGS
=
@X_PRE_LIBS@ @X_LIBS@
-lX11
@X_EXTRA_LIBS@
\
-rpath
$(toolexeclibdir)
\
...
...
@@ -167,13 +169,13 @@ install-exec-hook:
## a .java file with some other class which is caught. Note that we
## only want to create headers for those files which do not have
## hand-maintained headers.
$(built_java_source_files
:
.java=.class): libgcj.jar
$(java_source_files
:
.java=.class): libgcj.jar
$(built_java_source_files
:
.java=.class): libgcj
-@gcc_version@
.jar
$(java_source_files
:
.java=.class): libgcj
-@gcc_version@
.jar
## The .class files for X will not be included in libgcj.jar, but the
## rule for libgcj.jar will cause all out-of-date .class files to be
## built. We need this to generate headers for the nat-files.
$(x_java_source_files
:
.java=.class): libgcj.jar
$(x_java_source_files
:
.java=.class): libgcj
-@gcc_version@
.jar
## We have the zip file depend on the java sources and not the class
## files, because we don't know the names of all the class files.
...
...
@@ -181,7 +183,7 @@ $(x_java_source_files:.java=.class): libgcj.jar
## up-to-date, and foo.class is removed, and bar.java is touched, then
## `make libgcj.jar' will not rebuilt foo.class. That's because
## libgcj.jar is not out-of-date with respect to foo.java.
libgcj.jar
:
$(built_java_source_files) $(java_source_files) $(x_java_source_files)
libgcj
-@gcc_version@
.jar
:
$(built_java_source_files) $(java_source_files) $(x_java_source_files)
## Create a list of all Java sources, without exceeding any shell limits.
@
:
$(shell echo Creating list of files to compile...) $(shell rm -f tmp-list || :) $(shell touch tmp-list) $(foreach source
,
$?
,
$(shell echo $(source) >> tmp-list))
@
set
fnord
$(MAKEFLAGS)
;
amf
=
$$
2
;
fail
=
no
;
\
...
...
@@ -192,14 +194,14 @@ libgcj.jar: $(built_java_source_files) $(java_source_files) $(x_java_source_file
||
case
"
$$
amf"
in
*
=
*
)
exit
1
;;
*
k
*
)
fail
=
yes
;;
*
)
exit
1
;;
esac
;
\
done
;
\
test
"
$$
fail"
=
no
)
-
@rm
-f
tmp-list libgcj.jar
-
@rm
-f
tmp-list libgcj
-@gcc_version@
.jar
## Note that we explicitly want to include directory information.
find
java
gnu
javax
org
-type
d
-o
-type
f
-name
'*.class'
|
\
sed
-e
'/\/\./d'
-e
'/\/xlib/d'
|
\
$(ZIP)
cfM0E@
$@
MOSTLYCLEANFILES
=
$(javao_files)
$(nat_files)
$(nat_headers)
$(c_files)
$(x_javao_files)
$(x_nat_files)
$(x_nat_headers)
CLEANFILES
=
tmp-list libgcj.jar
CLEANFILES
=
tmp-list libgcj
-@gcc_version@
.jar
clean-local
:
## We just remove every .class file that was created.
...
...
@@ -384,7 +386,7 @@ maintainer-check: libgcj.la
## This rule can be used to see if the headers are more or less
## correct.
header-check
:
libgcj.jar $(nat_headers)
header-check
:
libgcj
-@gcc_version@
.jar $(nat_headers)
rm
-f
htest.cc
;
\
for
h
in
$(nat_headers)
;
do
\
echo
"#include
\"
$$
h
\"
"
>>
htest.cc
;
\
...
...
@@ -393,7 +395,7 @@ header-check: libgcj.jar $(nat_headers)
## This rule can be used to see if all the .class files verify
## correctly.
class-check
:
libgcj.jar
class-check
:
libgcj
-@gcc_version@
.jar
@
ok
=
0
;
find
.
-name
'*.class'
-print
| fgrep
-v
testsuite |
\
while
read
f
;
do
\
echo
"
$(GCJ_WITH_FLAGS)
--syntax-only
$$
f"
;
\
...
...
libjava/Makefile.in
View file @
395cb211
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Makefile.in generated automatically by automake 1.4
-p5
from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# Copyright (C) 1994, 1995-8, 1999
, 2001
Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
...
...
@@ -121,6 +121,7 @@ ZINCS = @ZINCS@
ZLIBS
=
@ZLIBS@
ZLIBSPEC
=
@ZLIBSPEC@
ZLIBTESTSPEC
=
@ZLIBTESTSPEC@
gcc_version
=
@gcc_version@
glibjava_CXX
=
@glibjava_CXX@
here
=
@here@
libgcj_basedir
=
@libgcj_basedir@
...
...
@@ -128,40 +129,30 @@ mkinstalldirs = @mkinstalldirs@
tool_include_dir
=
@tool_include_dir@
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
jardir
=
$(datadir)
/java
jar_DATA
=
libgcj-@gcc_version@.jar
secdir
=
$(libdir)
/security
@NATIVE_TRUE@
bin_PROGRAMS
=
\
@NATIVE_TRUE@jv-convert gij rmic rmiregistry
@NATIVE_TRUE@
bin_PROGRAMS
=
@NATIVE_TRUE@jv-convert gij rmic rmiregistry
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
...
...
@@ -181,10 +172,8 @@ AM_CXXFLAGS = -fno-rtti -fnon-call-exceptions \
@LIBGCJ_CXXFLAGS@ @X_CFLAGS@
$(WARNINGS)
-D_GNU_SOURCE
\
-DPREFIX
=
"
\"
$(prefix)
\"
"
@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)
...
...
@@ -230,7 +219,7 @@ libgcj_la_LINK = $(LIBLINK)
libgcjx_la_SOURCES
=
$(x_nat_source_files)
EXTRA_libgcjx_la_SOURCES
=
$(x_java_source_files)
libgcjx_la_DEPENDENCIES
=
libgcj.jar
$(x_javao_files)
libgcjx_la_DEPENDENCIES
=
libgcj
-@gcc_version@
.jar
$(x_javao_files)
libgcjx_la_LIBADD
=
$(x_javao_files)
libgcjx_la_LDFLAGS
=
@X_PRE_LIBS@ @X_LIBS@
-lX11
@X_EXTRA_LIBS@
\
-rpath
$(toolexeclibdir)
\
...
...
@@ -239,7 +228,7 @@ libgcjx_la_LDFLAGS = @X_PRE_LIBS@ @X_LIBS@ -lX11 @X_EXTRA_LIBS@ \
libgcjx_la_LINK
=
$(LIBLINK)
MOSTLYCLEANFILES
=
$(javao_files)
$(nat_files)
$(nat_headers)
$(c_files)
$(x_javao_files)
$(x_nat_files)
$(x_nat_headers)
CLEANFILES
=
tmp-list libgcj.jar
CLEANFILES
=
tmp-list libgcj
-@gcc_version@
.jar
SUFFIXES
=
.class .java .h
...
...
@@ -259,8 +248,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
...
...
@@ -1733,7 +1721,7 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CF
LTCOMPILE
=
$(LIBTOOL)
--mode
=
compile
$(CC)
$(DEFS)
$(INCLUDES)
$(AM_CPPFLAGS)
$(CPPFLAGS)
$(AM_CFLAGS)
$(CFLAGS)
CCLD
=
$(CC)
LINK
=
$(LIBTOOL)
--mode
=
link
$(CCLD)
$(AM_CFLAGS)
$(CFLAGS)
$(LDFLAGS)
-o
$@
DATA
=
$(
data
_DATA)
$(toolexeclib_DATA)
DATA
=
$(
jar
_DATA)
$(toolexeclib_DATA)
DIST_COMMON
=
README COPYING ChangeLog Makefile.am Makefile.in NEWS
\
THANKS acinclude.m4 aclocal.m4 configure configure.in
\
...
...
@@ -1742,7 +1730,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
\
...
...
@@ -2870,23 +2858,23 @@ uninstall-binSCRIPTS:
.cc.lo
:
$(LTCXXCOMPILE)
-c
$<
install-
dataDATA
:
$(data
_DATA)
install-
jarDATA
:
$(jar
_DATA)
@
$(NORMAL_INSTALL)
$(mkinstalldirs)
$(DESTDIR)$(
data
dir)
@
list
=
'
$(
data
_DATA)
'
;
for
p
in
$$
list
;
do
\
$(mkinstalldirs)
$(DESTDIR)$(
jar
dir)
@
list
=
'
$(
jar
_DATA)
'
;
for
p
in
$$
list
;
do
\
if
test
-f
$(srcdir)
/
$$
p
;
then
\
echo
"
$(INSTALL_DATA)
$(srcdir)
/
$$
p
$(DESTDIR)$(
data
dir)
/
$$
p"
;
\
$(INSTALL_DATA)
$(srcdir)
/
$$
p
$(DESTDIR)$(
data
dir)
/
$$
p
;
\
echo
"
$(INSTALL_DATA)
$(srcdir)
/
$$
p
$(DESTDIR)$(
jar
dir)
/
$$
p"
;
\
$(INSTALL_DATA)
$(srcdir)
/
$$
p
$(DESTDIR)$(
jar
dir)
/
$$
p
;
\
else if
test
-f
$$
p
;
then
\
echo
"
$(INSTALL_DATA)
$$
p
$(DESTDIR)$(
data
dir)
/
$$
p"
;
\
$(INSTALL_DATA)
$$
p
$(DESTDIR)$(
data
dir)
/
$$
p
;
\
echo
"
$(INSTALL_DATA)
$$
p
$(DESTDIR)$(
jar
dir)
/
$$
p"
;
\
$(INSTALL_DATA)
$$
p
$(DESTDIR)$(
jar
dir)
/
$$
p
;
\
fi
;
fi
;
\
done
uninstall-
data
DATA
:
uninstall-
jar
DATA
:
@
$(NORMAL_UNINSTALL)
list
=
'
$(
data
_DATA)
'
;
for
p
in
$$
list
;
do
\
rm
-f
$(DESTDIR)$(
data
dir)
/
$$
p
;
\
list
=
'
$(
jar
_DATA)
'
;
for
p
in
$$
list
;
do
\
rm
-f
$(DESTDIR)$(
jar
dir)
/
$$
p
;
\
done
install-toolexeclibDATA
:
$(toolexeclib_DATA)
...
...
@@ -2944,7 +2932,7 @@ maintainer-clean-recursive:
dot_seen
=
no
;
\
rev
=
''
;
list
=
'
$(SUBDIRS)
'
;
for
subdir
in
$$
list
;
do
\
rev
=
"
$$
subdir
$$
rev"
;
\
test
"
$$
subdir"
=
"."
&&
dot_seen
=
yes
;
\
test
"
$$
subdir"
!=
"."
||
dot_seen
=
yes
;
\
done
;
\
test
"
$$
dot_seen"
=
"no"
&&
rev
=
".
$$
rev"
;
\
target
=
`
echo
$@
| sed s/-recursive//
`
;
\
...
...
@@ -3043,7 +3031,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
\
...
...
@@ -3125,14 +3113,14 @@ install-exec-am: install-toolexeclibLTLIBRARIES install-binPROGRAMS \
$(MAKE)
$(AM_MAKEFLAGS)
install-exec-hook
install-exec
:
install-exec-recursive
install-data-am
:
install-
data
DATA install-data-local
install-data-am
:
install-
jar
DATA install-data-local
install-data
:
install-data-recursive
install-am
:
all-am
@
$(MAKE)
$(AM_MAKEFLAGS)
install-exec-am install-data-am
install
:
install-recursive
uninstall-am
:
uninstall-toolexeclibLTLIBRARIES uninstall-binPROGRAMS
\
uninstall-binSCRIPTS uninstall-
data
DATA
\
uninstall-binSCRIPTS uninstall-
jar
DATA
\
uninstall-toolexeclibDATA
uninstall
:
uninstall-recursive
all-am
:
Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA)
...
...
@@ -3142,7 +3130,7 @@ install-strip:
installdirs
:
installdirs-recursive
installdirs-am
:
$(mkinstalldirs)
$(DESTDIR)$(toolexeclibdir)
$(DESTDIR)$(bindir)
\
$(DESTDIR)$(bindir)
$(DESTDIR)$(
data
dir)
\
$(DESTDIR)$(bindir)
$(DESTDIR)$(
jar
dir)
\
$(DESTDIR)$(toolexeclibdir)
...
...
@@ -3202,7 +3190,7 @@ distclean-binPROGRAMS clean-binPROGRAMS maintainer-clean-binPROGRAMS \
uninstall-binPROGRAMS install-binPROGRAMS mostlyclean-noinstPROGRAMS
\
distclean-noinstPROGRAMS clean-noinstPROGRAMS
\
maintainer-clean-noinstPROGRAMS uninstall-binSCRIPTS install-binSCRIPTS
\
uninstall-
dataDATA install-data
DATA uninstall-toolexeclibDATA
\
uninstall-
jarDATA install-jar
DATA uninstall-toolexeclibDATA
\
install-toolexeclibDATA install-data-recursive uninstall-data-recursive
\
install-exec-recursive uninstall-exec-recursive installdirs-recursive
\
uninstalldirs-recursive all-recursive check-recursive
\
...
...
@@ -3226,12 +3214,12 @@ install-exec-hook:
$(LN_S)
libgcjx.la gnu-awt-xlib.la
;
\
fi
$(built_java_source_files
:
.java=.class): libgcj.jar
$(java_source_files
:
.java=.class): libgcj.jar
$(built_java_source_files
:
.java=.class): libgcj
-@gcc_version@
.jar
$(java_source_files
:
.java=.class): libgcj
-@gcc_version@
.jar
$(x_java_source_files
:
.java=.class): libgcj.jar
$(x_java_source_files
:
.java=.class): libgcj
-@gcc_version@
.jar
libgcj.jar
:
$(built_java_source_files) $(java_source_files) $(x_java_source_files)
libgcj
-@gcc_version@
.jar
:
$(built_java_source_files) $(java_source_files) $(x_java_source_files)
@
:
$(
shell
echo
Creating list of files to compile...
)
$(
shell
rm
-f
tmp-list
||
:
)
$(
shell
touch tmp-list
)
$
(
foreach
source
,
$?
,
$(
shell
echo
$(source)
>>
tmp-list
)
)
@
set
fnord
$(MAKEFLAGS)
;
amf
=
$$
2
;
fail
=
no
;
\
javac
=
"
$(JAVAC)
"
;
\
...
...
@@ -3241,7 +3229,7 @@ libgcj.jar: $(built_java_source_files) $(java_source_files) $(x_java_source_file
||
case
"
$$
amf"
in
*
=
*
)
exit
1
;;
*
k
*
)
fail
=
yes
;;
*
)
exit
1
;;
esac
;
\
done
;
\
test
"
$$
fail"
=
no
)
-
@rm
-f
tmp-list libgcj.jar
-
@rm
-f
tmp-list libgcj
-@gcc_version@
.jar
find java gnu javax org
-type
d
-o
-type
f
-name
'*.class'
|
\
sed
-e
'/\/\./d'
-e
'/\/xlib/d'
|
\
$(ZIP)
cfM0E@
$@
...
...
@@ -3377,14 +3365,14 @@ maintainer-check: libgcj.la
|
grep
-v
'Jv'
\
|
grep
-v
'terminate__Fv'
|
grep
-v
'unexpected__Fv'
header-check
:
libgcj.jar $(nat_headers)
header-check
:
libgcj
-@gcc_version@
.jar $(nat_headers)
rm
-f
htest.cc
;
\
for
h
in
$(nat_headers)
;
do
\
echo
"#include
\"
$$
h
\"
"
>>
htest.cc
;
\
done
;
\
$(CXXCOMPILE)
-fsyntax-only
htest.cc
class-check
:
libgcj.jar
class-check
:
libgcj
-@gcc_version@
.jar
@
ok
=
0
;
find
.
-name
'*.class'
-print
| fgrep
-v
testsuite |
\
while
read
f
;
do
\
echo
"
$(GCJ_WITH_FLAGS)
--syntax-only
$$
f"
;
\
...
...
libjava/configure
View file @
395cb211
...
...
@@ -3307,6 +3307,7 @@ gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
tool_include_dir
=
'$(libdir)/gcc-lib/$(target_alias)/'
${
gcc_version
}
/include
if
test
-n
"
${
with_cross_host
}
"
;
then
# We are being configured with a cross compiler. AC_REPLACE_FUNCS
# may not work correctly, because the compiler may not be able to
...
...
@@ -3364,12 +3365,12 @@ else
for
ac_func
in
strerror ioctl
select
fstat open fsync sleep opendir
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:336
8
: checking for
$ac_func
"
>
&5
echo
"configure:336
9
: 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 337
3
"configure"
#line 337
4
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3392,7 +3393,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:339
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:339
7
:
\"
$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
...
...
@@ -3419,12 +3420,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:342
3
: checking for
$ac_func
"
>
&5
echo
"configure:342
4
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 342
8
"configure"
#line 342
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3447,7 +3448,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:345
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:345
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -3474,12 +3475,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:347
8
: checking for
$ac_func
"
>
&5
echo
"configure:347
9
: 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 348
3
"configure"
#line 348
4
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3502,7 +3503,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:350
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:350
7
:
\"
$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
...
...
@@ -3529,12 +3530,12 @@ done
for
ac_func
in
nl_langinfo setlocale
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:353
3
: checking for
$ac_func
"
>
&5
echo
"configure:353
4
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 353
8
"configure"
#line 353
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3557,7 +3558,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:356
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:356
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -3584,12 +3585,12 @@ done
for
ac_func
in
inet_aton inet_addr
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:358
8
: checking for
$ac_func
"
>
&5
echo
"configure:358
9
: 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 359
3
"configure"
#line 359
4
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3612,7 +3613,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:361
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:361
7
:
\"
$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
...
...
@@ -3639,12 +3640,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:364
3
: checking for
$ac_func
"
>
&5
echo
"configure:364
4
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 364
8
"configure"
#line 364
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3667,7 +3668,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:367
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:367
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -3694,12 +3695,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:369
8
: checking for
$ac_func
"
>
&5
echo
"configure:369
9
: 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 370
3
"configure"
#line 370
4
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -3722,7 +3723,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:372
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:372
7
:
\"
$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
...
...
@@ -3750,17 +3751,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:375
4
: checking for
$ac_hdr
"
>
&5
echo
"configure:375
5
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
59
"configure"
#line 37
60
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:376
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:376
5
:
\"
$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
*
...
...
@@ -3787,7 +3788,7 @@ fi
done
echo
$ac_n
"checking for dladdr in -ldl""...
$ac_c
"
1>&6
echo
"configure:379
1
: checking for dladdr in -ldl"
>
&5
echo
"configure:379
2
: 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
...
...
@@ -3795,7 +3796,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
799
"configure"
#line 3
800
"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
...
...
@@ -3806,7 +3807,7 @@ int main() {
dladdr()
; return 0; }
EOF
if
{
(
eval echo
configure:381
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:381
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3835,7 +3836,7 @@ do
ac_safe
=
`
echo
"
$ac_file
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_file
""...
$ac_c
"
1>&6
echo
"configure:38
39
: checking for
$ac_file
"
>
&5
echo
"configure:38
40
: 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
...
...
@@ -3883,7 +3884,7 @@ fi
echo
$ac_n
"checking for iconv""...
$ac_c
"
1>&6
echo
"configure:388
7
: checking for iconv"
>
&5
echo
"configure:388
8
: checking for iconv"
>
&5
if
eval
"test
\"
`
echo
'$''{'
am_cv_func_iconv
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3891,7 +3892,7 @@ else
am_cv_func_iconv
=
"no, consider installing GNU libiconv"
am_cv_lib_iconv
=
no
cat
>
conftest.
$ac_ext
<<
EOF
#line 389
5
"configure"
#line 389
6
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <iconv.h>
...
...
@@ -3901,7 +3902,7 @@ iconv_t cd = iconv_open("","");
iconv_close(cd);
; return 0; }
EOF
if
{
(
eval echo
configure:390
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:390
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
am_cv_func_iconv
=
yes
else
...
...
@@ -3913,7 +3914,7 @@ rm -f conftest*
am_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
$am_cv_libiconv_ldpath
-liconv"
cat
>
conftest.
$ac_ext
<<
EOF
#line 391
7
"configure"
#line 391
8
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <iconv.h>
...
...
@@ -3923,7 +3924,7 @@ iconv_t cd = iconv_open("","");
iconv_close(cd);
; return 0; }
EOF
if
{
(
eval echo
configure:392
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:392
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
am_cv_lib_iconv
=
yes
am_cv_func_iconv
=
yes
...
...
@@ -3944,13 +3945,13 @@ echo "$ac_t""$am_cv_func_iconv" 1>&6
EOF
echo
$ac_n
"checking for iconv declaration""...
$ac_c
"
1>&6
echo
"configure:394
8
: checking for iconv declaration"
>
&5
echo
"configure:394
9
: checking for iconv declaration"
>
&5
if
eval
"test
\"
`
echo
'$''{'
am_cv_proto_iconv
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 395
4
"configure"
#line 395
5
"configure"
#include "confdefs.h"
#include <stdlib.h>
...
...
@@ -3969,7 +3970,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:397
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:397
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
am_cv_proto_iconv_arg1
=
""
else
...
...
@@ -3998,19 +3999,19 @@ EOF
if
test
$ac_cv_header_locale_h
=
yes
;
then
echo
$ac_n
"checking for LC_MESSAGES""...
$ac_c
"
1>&6
echo
"configure:400
2
: checking for LC_MESSAGES"
>
&5
echo
"configure:400
3
: checking for LC_MESSAGES"
>
&5
if
eval
"test
\"
`
echo
'$''{'
am_cv_val_LC_MESSAGES
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 400
7
"configure"
#line 400
8
"configure"
#include "confdefs.h"
#include <locale.h>
int main() {
return LC_MESSAGES
; return 0; }
EOF
if
{
(
eval echo
configure:401
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:401
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
am_cv_val_LC_MESSAGES
=
yes
else
...
...
@@ -4031,12 +4032,12 @@ EOF
fi
fi
echo
$ac_n
"checking whether struct tm is in sys/time.h or time.h""...
$ac_c
"
1>&6
echo
"configure:403
5
: checking whether struct tm is in sys/time.h or time.h"
>
&5
echo
"configure:403
6
: checking whether struct tm is in sys/time.h or time.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 404
0
"configure"
#line 404
1
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
...
...
@@ -4044,7 +4045,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if
{
(
eval echo
configure:404
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:404
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm
=
time.h
else
...
...
@@ -4065,12 +4066,12 @@ EOF
fi
echo
$ac_n
"checking for tm_zone in struct tm""...
$ac_c
"
1>&6
echo
"configure:40
69
: checking for tm_zone in struct tm"
>
&5
echo
"configure:40
70
: checking for tm_zone in struct tm"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_struct_tm_zone
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 407
4
"configure"
#line 407
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <
$ac_cv_struct_tm
>
...
...
@@ -4078,7 +4079,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if
{
(
eval echo
configure:408
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:408
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_struct_tm_zone
=
yes
else
...
...
@@ -4098,12 +4099,12 @@ EOF
else
echo
$ac_n
"checking for tzname""...
$ac_c
"
1>&6
echo
"configure:410
2
: checking for tzname"
>
&5
echo
"configure:410
3
: checking for tzname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_var_tzname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 410
7
"configure"
#line 410
8
"configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
...
...
@@ -4113,7 +4114,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if
{
(
eval echo
configure:411
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:411
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_var_tzname
=
yes
else
...
...
@@ -4138,12 +4139,12 @@ fi
for
ac_func
in
gethostbyname_r
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:414
2
: checking for
$ac_func
"
>
&5
echo
"configure:414
3
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 414
7
"configure"
#line 414
8
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4166,7 +4167,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:417
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:417
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4193,7 +4194,7 @@ EOF
# We look for the one that returns `int'.
# Hopefully this check is robust enough.
cat
>
conftest.
$ac_ext
<<
EOF
#line 419
7
"configure"
#line 419
8
"configure"
#include "confdefs.h"
#include <netdb.h>
EOF
...
...
@@ -4213,7 +4214,7 @@ rm -f conftest*
*
" -D_REENTRANT "
*
)
;;
*
)
echo
$ac_n
"checking whether gethostbyname_r declaration requires -D_REENTRANT""...
$ac_c
"
1>&6
echo
"configure:421
7
: checking whether gethostbyname_r declaration requires -D_REENTRANT"
>
&5
echo
"configure:421
8
: 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
...
...
@@ -4226,14 +4227,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 423
0
"configure"
#line 423
1
"configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
gethostbyname_r("", 0, 0);
; return 0; }
EOF
if
{
(
eval echo
configure:423
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:423
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
libjava_cv_gethostbyname_r_needs_reentrant
=
no
else
...
...
@@ -4243,14 +4244,14 @@ else
CPPFLAGS_SAVE
=
"
$CPPFLAGS
"
CPPFLAGS
=
"
$CPPFLAGS
-D_REENTRANT"
cat
>
conftest.
$ac_ext
<<
EOF
#line 424
7
"configure"
#line 424
8
"configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
gethostbyname_r("", 0, 0);
; return 0; }
EOF
if
{
(
eval echo
configure:425
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:425
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
libjava_cv_gethostbyname_r_needs_reentrant
=
yes
else
...
...
@@ -4285,12 +4286,12 @@ EOF
esac
echo
$ac_n
"checking for struct hostent_data""...
$ac_c
"
1>&6
echo
"configure:42
89
: checking for struct hostent_data"
>
&5
echo
"configure:42
90
: 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 429
4
"configure"
#line 429
5
"configure"
#include "confdefs.h"
#if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
...
...
@@ -4301,7 +4302,7 @@ int main() {
struct hostent_data data;
; return 0; }
EOF
if
{
(
eval echo
configure:430
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:430
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
libjava_cv_struct_hostent_data
=
yes
else
...
...
@@ -4333,7 +4334,7 @@ done
# to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
# linkage check is enough, yet C++ code requires proper prototypes.)
cat
>
conftest.
$ac_ext
<<
EOF
#line 433
7
"configure"
#line 433
8
"configure"
#include "confdefs.h"
#include <netdb.h>
EOF
...
...
@@ -4344,12 +4345,12 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
for
ac_func
in
gethostbyaddr_r
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:434
8
: checking for
$ac_func
"
>
&5
echo
"configure:434
9
: 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 435
3
"configure"
#line 435
4
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4372,7 +4373,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:437
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:437
7
:
\"
$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
...
...
@@ -4399,7 +4400,7 @@ EOF
# We look for the one that returns `int'.
# Hopefully this check is robust enough.
cat
>
conftest.
$ac_ext
<<
EOF
#line 440
3
"configure"
#line 440
4
"configure"
#include "confdefs.h"
#include <netdb.h>
EOF
...
...
@@ -4426,12 +4427,12 @@ rm -f conftest*
for
ac_func
in
gethostname
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:443
0
: checking for
$ac_func
"
>
&5
echo
"configure:443
1
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 443
5
"configure"
#line 443
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4454,7 +4455,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:445
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:445
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4478,7 +4479,7 @@ EOF
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 448
2
"configure"
#line 448
3
"configure"
#include "confdefs.h"
#include <unistd.h>
EOF
...
...
@@ -4509,12 +4510,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:451
3
: checking for
$ac_func
"
>
&5
echo
"configure:451
4
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 451
8
"configure"
#line 451
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4537,7 +4538,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:454
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:454
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4567,12 +4568,12 @@ done
for
ac_func
in
sched_yield
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:457
1
: checking for
$ac_func
"
>
&5
echo
"configure:457
2
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 457
6
"configure"
#line 457
7
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4595,7 +4596,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:4
599
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
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
...
...
@@ -4617,7 +4618,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for sched_yield in -lrt""...
$ac_c
"
1>&6
echo
"configure:462
1
: checking for sched_yield in -lrt"
>
&5
echo
"configure:462
2
: 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
...
...
@@ -4625,7 +4626,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lrt
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
29
"configure"
#line 46
30
"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
...
...
@@ -4636,7 +4637,7 @@ int main() {
sched_yield()
; return 0; }
EOF
if
{
(
eval echo
configure:464
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:464
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4662,7 +4663,7 @@ else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for sched_yield in -lposix4""...
$ac_c
"
1>&6
echo
"configure:466
6
: checking for sched_yield in -lposix4"
>
&5
echo
"configure:466
7
: 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
...
...
@@ -4670,7 +4671,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lposix4
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 467
4
"configure"
#line 467
5
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4681,7 +4682,7 @@ int main() {
sched_yield()
; return 0; }
EOF
if
{
(
eval echo
configure:468
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:468
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4717,7 +4718,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 472
1
"configure"
#line 472
2
"configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
...
...
@@ -4726,7 +4727,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:473
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:473
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define PTHREAD_MUTEX_HAVE_M_COUNT 1
...
...
@@ -4738,7 +4739,7 @@ else
rm
-rf
conftest
*
cat
>
conftest.
$ac_ext
<<
EOF
#line 474
2
"configure"
#line 474
3
"configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
...
...
@@ -4747,7 +4748,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:475
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:475
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define PTHREAD_MUTEX_HAVE___M_COUNT 1
...
...
@@ -4767,12 +4768,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:477
1
: checking for
$ac_func
"
>
&5
echo
"configure:477
2
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 477
6
"configure"
#line 477
7
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4795,7 +4796,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:4
799
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:4
800
:
\"
$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
...
...
@@ -4826,12 +4827,12 @@ done
for
ac_func
in
memmove
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:483
0
: checking for
$ac_func
"
>
&5
echo
"configure:483
1
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 483
5
"configure"
#line 483
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4854,7 +4855,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:485
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:485
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4884,12 +4885,12 @@ done
for
ac_func
in
memcpy
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:488
8
: checking for
$ac_func
"
>
&5
echo
"configure:488
9
: 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 489
3
"configure"
#line 489
4
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4912,7 +4913,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:491
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:491
7
:
\"
$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
...
...
@@ -4941,7 +4942,7 @@ done
fi
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:494
5
: checking for dlopen in -ldl"
>
&5
echo
"configure:494
6
: checking for dlopen in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
dlopen | sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4949,7 +4950,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 495
3
"configure"
#line 495
4
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4960,7 +4961,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:496
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:496
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -5005,7 +5006,7 @@ fi
#--------------------------------------------------------------------
echo
$ac_n
"checking for socket libraries""...
$ac_c
"
1>&6
echo
"configure:50
09
: checking for socket libraries"
>
&5
echo
"configure:50
10
: 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
...
...
@@ -5013,12 +5014,12 @@ else
gcj_checkBoth
=
0
unset
ac_cv_func_connect
echo
$ac_n
"checking for connect""...
$ac_c
"
1>&6
echo
"configure:501
7
: checking for connect"
>
&5
echo
"configure:501
8
: 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 502
2
"configure"
#line 502
3
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
...
...
@@ -5041,7 +5042,7 @@ connect();
; return 0; }
EOF
if
{
(
eval echo
configure:504
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:504
6
:
\"
$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
...
...
@@ -5064,7 +5065,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:506
8
: checking for main in -lsocket"
>
&5
echo
"configure:506
9
: 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
...
...
@@ -5072,14 +5073,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 507
6
"configure"
#line 507
7
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:508
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:508
4
:
\"
$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
...
...
@@ -5106,12 +5107,12 @@ fi
LIBS
=
"
$LIBS
-lsocket -lnsl"
unset
ac_cv_func_accept
echo
$ac_n
"checking for accept""...
$ac_c
"
1>&6
echo
"configure:511
0
: checking for accept"
>
&5
echo
"configure:511
1
: 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 511
5
"configure"
#line 511
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char accept(); below. */
...
...
@@ -5134,7 +5135,7 @@ accept();
; return 0; }
EOF
if
{
(
eval echo
configure:513
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:513
9
:
\"
$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
...
...
@@ -5161,12 +5162,12 @@ fi
gcj_oldLibs
=
$LIBS
LIBS
=
"
$LIBS
$gcj_cv_lib_sockets
"
echo
$ac_n
"checking for gethostbyname""...
$ac_c
"
1>&6
echo
"configure:516
5
: checking for gethostbyname"
>
&5
echo
"configure:516
6
: 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 517
0
"configure"
#line 517
1
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
...
...
@@ -5189,7 +5190,7 @@ gethostbyname();
; return 0; }
EOF
if
{
(
eval echo
configure:519
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:519
4
:
\"
$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
...
...
@@ -5207,7 +5208,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:521
1
: checking for main in -lnsl"
>
&5
echo
"configure:521
2
: 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
...
...
@@ -5215,14 +5216,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 52
19
"configure"
#line 52
20
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:522
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:522
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -5254,7 +5255,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:525
8
: checking for deflate in -lz"
>
&5
echo
"configure:525
9
: 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
...
...
@@ -5262,7 +5263,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lz
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 526
6
"configure"
#line 526
7
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -5273,7 +5274,7 @@ int main() {
deflate()
; return 0; }
EOF
if
{
(
eval echo
configure:527
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:527
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -5300,7 +5301,7 @@ fi
# requires -ldl.
if
test
"
$GC
"
=
boehm
;
then
echo
$ac_n
"checking for main in -ldl""...
$ac_c
"
1>&6
echo
"configure:530
4
: checking for main in -ldl"
>
&5
echo
"configure:530
5
: 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
...
...
@@ -5308,14 +5309,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 531
2
"configure"
#line 531
3
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:53
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:53
20
:
\"
$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
...
...
@@ -5381,7 +5382,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:538
5
: checking for
$ac_word
"
>
&5
echo
"configure:538
6
: 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
...
...
@@ -5413,7 +5414,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:541
7
: checking for
$ac_word
"
>
&5
echo
"configure:541
8
: 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
...
...
@@ -5475,13 +5476,13 @@ exec 5>>./config.log
CPPFLAGS
=
$GCJ_SAVE_CPPFLAGS
echo
$ac_n
"checking size of void *""...
$ac_c
"
1>&6
echo
"configure:54
79
: checking size of void *"
>
&5
echo
"configure:54
80
: 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
for
ac_size
in
4 8 1 2 16 12
;
do
# List sizes in rough order of prevalence.
cat
>
conftest.
$ac_ext
<<
EOF
#line 548
5
"configure"
#line 548
6
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5491,7 +5492,7 @@ int main() {
switch (0) case 0: case (sizeof (void *) ==
$ac_size
):;
; return 0; }
EOF
if
{
(
eval echo
configure:549
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:549
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_sizeof_void_p
=
$ac_size
else
...
...
@@ -5594,18 +5595,18 @@ EOF
echo
$ac_n
"checking for g++ -ffloat-store bug""...
$ac_c
"
1>&6
echo
"configure:559
8
: checking for g++ -ffloat-store bug"
>
&5
echo
"configure:559
9
: checking for g++ -ffloat-store bug"
>
&5
save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
"-x c++ -O2 -ffloat-store"
cat
>
conftest.
$ac_ext
<<
EOF
#line 560
2
"configure"
#line 560
3
"configure"
#include "confdefs.h"
#include <math.h>
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:56
09
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:56
10
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
echo
"
$ac_t
""no"
1>&6
else
...
...
@@ -5625,17 +5626,17 @@ for ac_hdr in unistd.h bstring.h sys/time.h sys/types.h fcntl.h sys/ioctl.h sys/
do
ac_safe
=
`
echo
"
$ac_hdr
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:56
29
: checking for
$ac_hdr
"
>
&5
echo
"configure:56
30
: 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 563
4
"configure"
#line 563
5
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:56
39
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:56
40
:
\"
$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
*
...
...
@@ -5665,17 +5666,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:56
69
: checking for
$ac_hdr
"
>
&5
echo
"configure:56
70
: 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 567
4
"configure"
#line 567
5
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:56
79
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:56
80
:
\"
$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
*
...
...
@@ -5705,17 +5706,17 @@ for ac_hdr in inttypes.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
| sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:57
09
: checking for
$ac_hdr
"
>
&5
echo
"configure:57
10
: 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 571
4
"configure"
#line 571
5
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:57
19
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:57
20
:
\"
$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
*
...
...
@@ -5751,12 +5752,12 @@ fi
done
echo
$ac_n
"checking for sys/wait.h that is POSIX.1 compatible""...
$ac_c
"
1>&6
echo
"configure:575
5
: checking for sys/wait.h that is POSIX.1 compatible"
>
&5
echo
"configure:575
6
: checking for sys/wait.h that is POSIX.1 compatible"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_sys_wait_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 576
0
"configure"
#line 576
1
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
...
...
@@ -5772,7 +5773,7 @@ wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
if
{
(
eval echo
configure:577
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:577
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_header_sys_wait_h
=
yes
else
...
...
@@ -5794,12 +5795,12 @@ fi
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:579
8
: checking for ANSI C header files"
>
&5
echo
"configure:579
9
: 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 580
3
"configure"
#line 580
4
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -5807,7 +5808,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:581
1
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:581
2
:
\"
$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
*
...
...
@@ -5824,7 +5825,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 582
8
"configure"
#line 582
9
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -5842,7 +5843,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 584
6
"configure"
#line 584
7
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -5863,7 +5864,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 586
7
"configure"
#line 586
8
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -5874,7 +5875,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:587
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:587
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -5898,12 +5899,12 @@ EOF
fi
echo
$ac_n
"checking for ssize_t""...
$ac_c
"
1>&6
echo
"configure:590
2
: checking for ssize_t"
>
&5
echo
"configure:590
3
: 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 590
7
"configure"
#line 590
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5932,9 +5933,9 @@ fi
echo
$ac_n
"checking for in_addr_t""...
$ac_c
"
1>&6
echo
"configure:593
6
: checking for in_addr_t"
>
&5
echo
"configure:593
7
: checking for in_addr_t"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 593
8
"configure"
#line 593
9
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5948,7 +5949,7 @@ int main() {
in_addr_t foo;
; return 0; }
EOF
if
{
(
eval echo
configure:595
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:595
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_IN_ADDR_T 1
...
...
@@ -5964,16 +5965,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking whether struct ip_mreq is in netinet/in.h""...
$ac_c
"
1>&6
echo
"configure:596
8
: checking whether struct ip_mreq is in netinet/in.h"
>
&5
echo
"configure:596
9
: checking whether struct ip_mreq is in netinet/in.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 597
0
"configure"
#line 597
1
"configure"
#include "confdefs.h"
#include <netinet/in.h>
int main() {
struct ip_mreq mreq;
; return 0; }
EOF
if
{
(
eval echo
configure:597
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:597
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STRUCT_IP_MREQ 1
...
...
@@ -5989,16 +5990,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking whether struct ipv6_mreq is in netinet/in.h""...
$ac_c
"
1>&6
echo
"configure:599
3
: checking whether struct ipv6_mreq is in netinet/in.h"
>
&5
echo
"configure:599
4
: checking whether struct ipv6_mreq is in netinet/in.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 599
5
"configure"
#line 599
6
"configure"
#include "confdefs.h"
#include <netinet/in.h>
int main() {
struct ipv6_mreq mreq6;
; return 0; }
EOF
if
{
(
eval echo
configure:600
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:600
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STRUCT_IPV6_MREQ 1
...
...
@@ -6014,16 +6015,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking whether struct sockaddr_in6 is in netinet/in.h""...
$ac_c
"
1>&6
echo
"configure:601
8
: checking whether struct sockaddr_in6 is in netinet/in.h"
>
&5
echo
"configure:601
9
: checking whether struct sockaddr_in6 is in netinet/in.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 602
0
"configure"
#line 602
1
"configure"
#include "confdefs.h"
#include <netinet/in.h>
int main() {
struct sockaddr_in6 addr6;
; return 0; }
EOF
if
{
(
eval echo
configure:602
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:602
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_INET6 1
...
...
@@ -6039,9 +6040,9 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for socklen_t in sys/socket.h""...
$ac_c
"
1>&6
echo
"configure:604
3
: checking for socklen_t in sys/socket.h"
>
&5
echo
"configure:604
4
: checking for socklen_t in sys/socket.h"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 604
5
"configure"
#line 604
6
"configure"
#include "confdefs.h"
#define _POSIX_PII_SOCKET
#include <sys/types.h>
...
...
@@ -6050,7 +6051,7 @@ int main() {
socklen_t x = 5;
; return 0; }
EOF
if
{
(
eval echo
configure:605
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:605
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_SOCKLEN_T 1
...
...
@@ -6066,16 +6067,16 @@ fi
rm
-f
conftest
*
echo
$ac_n
"checking for tm_gmtoff in struct tm""...
$ac_c
"
1>&6
echo
"configure:607
0
: checking for tm_gmtoff in struct tm"
>
&5
echo
"configure:607
1
: checking for tm_gmtoff in struct tm"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 607
2
"configure"
#line 607
3
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
struct tm tim; tim.tm_gmtoff = 0;
; return 0; }
EOF
if
{
(
eval echo
configure:60
79
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:60
80
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define STRUCT_TM_HAS_GMTOFF 1
...
...
@@ -6088,16 +6089,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:609
2
: checking for global timezone variable"
>
&5
echo
"configure:609
3
: checking for global timezone variable"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
#line 609
4
"configure"
#line 609
5
"configure"
#include "confdefs.h"
#include <time.h>
int main() {
long z2 = timezone;
; return 0; }
EOF
if
{
(
eval echo
configure:610
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:610
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_TIMEZONE 1
...
...
@@ -6117,19 +6118,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:612
1
: checking for working alloca.h"
>
&5
echo
"configure:612
2
: 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 612
6
"configure"
#line 612
7
"configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
if
{
(
eval echo
configure:613
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:613
4
:
\"
$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
...
...
@@ -6150,12 +6151,12 @@ EOF
fi
echo
$ac_n
"checking for alloca""...
$ac_c
"
1>&6
echo
"configure:615
4
: checking for alloca"
>
&5
echo
"configure:615
5
: 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 61
59
"configure"
#line 61
60
"configure"
#include "confdefs.h"
#ifdef __GNUC__
...
...
@@ -6183,7 +6184,7 @@ int main() {
char *p = (char *) alloca(1);
; return 0; }
EOF
if
{
(
eval echo
configure:618
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:618
8
:
\"
$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
...
...
@@ -6215,12 +6216,12 @@ EOF
echo
$ac_n
"checking whether alloca needs Cray hooks""...
$ac_c
"
1>&6
echo
"configure:62
19
: checking whether alloca needs Cray hooks"
>
&5
echo
"configure:62
20
: 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 622
4
"configure"
#line 622
5
"configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
...
...
@@ -6245,12 +6246,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:62
49
: checking for
$ac_func
"
>
&5
echo
"configure:62
50
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 625
4
"configure"
#line 625
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -6273,7 +6274,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:627
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:627
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -6300,7 +6301,7 @@ done
fi
echo
$ac_n
"checking stack direction for C alloca""...
$ac_c
"
1>&6
echo
"configure:630
4
: checking stack direction for C alloca"
>
&5
echo
"configure:630
5
: 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
...
...
@@ -6308,7 +6309,7 @@ else
ac_cv_c_stack_direction
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 631
2
"configure"
#line 631
3
"configure"
#include "confdefs.h"
find_stack_direction ()
{
...
...
@@ -6327,7 +6328,7 @@ main ()
exit (find_stack_direction() < 0);
}
EOF
if
{
(
eval echo
configure:633
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:633
2
:
\"
$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
...
...
@@ -6354,7 +6355,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:635
8
: checking for
$ac_word
"
>
&5
echo
"configure:635
9
: 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
...
...
@@ -6435,7 +6436,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:64
39
: checking for X"
>
&5
echo
"configure:64
40
: checking for X"
>
&5
# Check whether --with-x or --without-x was given.
if
test
"
${
with_x
+set
}
"
=
set
;
then
...
...
@@ -6497,12 +6498,12 @@ if test "$ac_x_includes" = NO; then
# First, try using that file with no special directory specified.
cat
>
conftest.
$ac_ext
<<
EOF
#line 650
1
"configure"
#line 650
2
"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:650
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:650
7
:
\"
$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
*
...
...
@@ -6571,14 +6572,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 657
5
"configure"
#line 657
6
"configure"
#include "confdefs.h"
int main() {
${
x_direct_test_function
}
()
; return 0; }
EOF
if
{
(
eval echo
configure:658
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:658
3
:
\"
$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.
...
...
@@ -6684,17 +6685,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:668
8
: checking whether -R must be followed by a space"
>
&5
echo
"configure:668
9
: 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 669
1
"configure"
#line 669
2
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:669
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:669
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_R_nospace
=
yes
else
...
...
@@ -6710,14 +6711,14 @@ rm -f conftest*
else
LIBS
=
"
$ac_xsave_LIBS
-R
$x_libraries
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 671
4
"configure"
#line 671
5
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:672
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:672
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_R_space
=
yes
else
...
...
@@ -6749,7 +6750,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:675
3
: checking for dnet_ntoa in -ldnet"
>
&5
echo
"configure:675
4
: 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
...
...
@@ -6757,7 +6758,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldnet
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 676
1
"configure"
#line 676
2
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -6768,7 +6769,7 @@ int main() {
dnet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:677
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:677
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -6790,7 +6791,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:679
4
: checking for dnet_ntoa in -ldnet_stub"
>
&5
echo
"configure:679
5
: 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
...
...
@@ -6798,7 +6799,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldnet_stub
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 680
2
"configure"
#line 680
3
"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
...
...
@@ -6809,7 +6810,7 @@ int main() {
dnet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:681
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:681
4
:
\"
$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
...
...
@@ -6838,12 +6839,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:684
2
: checking for gethostbyname"
>
&5
echo
"configure:684
3
: 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 684
7
"configure"
#line 684
8
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
...
...
@@ -6866,7 +6867,7 @@ gethostbyname();
; return 0; }
EOF
if
{
(
eval echo
configure:687
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:687
1
:
\"
$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
...
...
@@ -6887,7 +6888,7 @@ fi
if
test
$ac_cv_func_gethostbyname
=
no
;
then
echo
$ac_n
"checking for gethostbyname in -lnsl""...
$ac_c
"
1>&6
echo
"configure:689
1
: checking for gethostbyname in -lnsl"
>
&5
echo
"configure:689
2
: 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
...
...
@@ -6895,7 +6896,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 6
899
"configure"
#line 6
900
"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
...
...
@@ -6906,7 +6907,7 @@ int main() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:691
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:691
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -6936,12 +6937,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:694
0
: checking for connect"
>
&5
echo
"configure:694
1
: 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 694
5
"configure"
#line 694
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
...
...
@@ -6964,7 +6965,7 @@ connect();
; return 0; }
EOF
if
{
(
eval echo
configure:696
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:696
9
:
\"
$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
...
...
@@ -6985,7 +6986,7 @@ fi
if
test
$ac_cv_func_connect
=
no
;
then
echo
$ac_n
"checking for connect in -lsocket""...
$ac_c
"
1>&6
echo
"configure:69
89
: checking for connect in -lsocket"
>
&5
echo
"configure:69
90
: 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
...
...
@@ -6993,7 +6994,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 699
7
"configure"
#line 699
8
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -7004,7 +7005,7 @@ int main() {
connect()
; return 0; }
EOF
if
{
(
eval echo
configure:700
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:700
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7028,12 +7029,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:703
2
: checking for remove"
>
&5
echo
"configure:703
3
: 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 703
7
"configure"
#line 703
8
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char remove(); below. */
...
...
@@ -7056,7 +7057,7 @@ remove();
; return 0; }
EOF
if
{
(
eval echo
configure:706
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:706
1
:
\"
$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
...
...
@@ -7077,7 +7078,7 @@ fi
if
test
$ac_cv_func_remove
=
no
;
then
echo
$ac_n
"checking for remove in -lposix""...
$ac_c
"
1>&6
echo
"configure:708
1
: checking for remove in -lposix"
>
&5
echo
"configure:708
2
: 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
...
...
@@ -7085,7 +7086,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lposix
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 70
89
"configure"
#line 70
90
"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
...
...
@@ -7096,7 +7097,7 @@ int main() {
remove()
; return 0; }
EOF
if
{
(
eval echo
configure:710
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:710
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7120,12 +7121,12 @@ fi
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
echo
$ac_n
"checking for shmat""...
$ac_c
"
1>&6
echo
"configure:712
4
: checking for shmat"
>
&5
echo
"configure:712
5
: 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 71
29
"configure"
#line 71
30
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shmat(); below. */
...
...
@@ -7148,7 +7149,7 @@ shmat();
; return 0; }
EOF
if
{
(
eval echo
configure:715
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:715
3
:
\"
$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
...
...
@@ -7169,7 +7170,7 @@ fi
if
test
$ac_cv_func_shmat
=
no
;
then
echo
$ac_n
"checking for shmat in -lipc""...
$ac_c
"
1>&6
echo
"configure:717
3
: checking for shmat in -lipc"
>
&5
echo
"configure:717
4
: 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
...
...
@@ -7177,7 +7178,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lipc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 718
1
"configure"
#line 718
2
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -7188,7 +7189,7 @@ int main() {
shmat()
; return 0; }
EOF
if
{
(
eval echo
configure:719
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:719
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7221,7 +7222,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:722
5
: checking for IceConnectionNumber in -lICE"
>
&5
echo
"configure:722
6
: 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
...
...
@@ -7229,7 +7230,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lICE
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 723
3
"configure"
#line 723
4
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -7240,7 +7241,7 @@ int main() {
IceConnectionNumber()
; return 0; }
EOF
if
{
(
eval echo
configure:724
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:724
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -7538,6 +7539,7 @@ s%@HASH_SYNC_SPEC@%$HASH_SYNC_SPEC%g
s%@USING_GCC_TRUE@%
$USING_GCC_TRUE
%g
s%@USING_GCC_FALSE@%
$USING_GCC_FALSE
%g
s%@tool_include_dir@%
$tool_include_dir
%g
s%@gcc_version@%
$gcc_version
%g
s%@LIBICONV@%
$LIBICONV
%g
s%@GCJ@%
$GCJ
%g
s%@GCJFLAGS@%
$GCJFLAGS
%g
...
...
libjava/configure.in
View file @
395cb211
...
...
@@ -456,6 +456,7 @@ gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
tool_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include
changequote([,])dnl
AC_SUBST(tool_include_dir)
AC_SUBST(gcc_version)
if test -n "${with_cross_host}"; then
# We are being configured with a cross compiler. AC_REPLACE_FUNCS
...
...
libjava/gcj/Makefile.in
View file @
395cb211
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Makefile.in generated automatically by automake 1.4
-p5
from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# Copyright (C) 1994, 1995-8, 1999
, 2001
Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
...
...
@@ -123,6 +123,7 @@ ZINCS = @ZINCS@
ZLIBS
=
@ZLIBS@
ZLIBSPEC
=
@ZLIBSPEC@
ZLIBTESTSPEC
=
@ZLIBTESTSPEC@
gcc_version
=
@gcc_version@
glibjava_CXX
=
@glibjava_CXX@
here
=
@here@
libgcj_basedir
=
@libgcj_basedir@
...
...
@@ -145,7 +146,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
:
...
...
@@ -257,7 +258,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 @
395cb211
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Makefile.in generated automatically by automake 1.4
-p5
from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# Copyright (C) 1994, 1995-8, 1999
, 2001
Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
...
...
@@ -123,6 +123,7 @@ ZINCS = @ZINCS@
ZLIBS
=
@ZLIBS@
ZLIBSPEC
=
@ZLIBSPEC@
ZLIBTESTSPEC
=
@ZLIBTESTSPEC@
gcc_version
=
@gcc_version@
glibjava_CXX
=
@glibjava_CXX@
here
=
@here@
libgcj_basedir
=
@libgcj_basedir@
...
...
@@ -141,7 +142,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
:
...
...
@@ -238,7 +239,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/testsuite/ChangeLog
View file @
395cb211
2002-04-12 Anthony Green <green@redhat.com>
* lib/libjava.exp: Use libgcj-VERSION.jar, not libgcj.jar.
2002-04-12 Loren J. Rittle <ljrittle@acm.org>
* libjava.lang/SyncGlobal.java, libjava.lang/SyncGlobal.out:
...
...
libjava/testsuite/Makefile.in
View file @
395cb211
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Makefile.in generated automatically by automake 1.4
-p5
from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# Copyright (C) 1994, 1995-8, 1999
, 2001
Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
...
...
@@ -123,6 +123,7 @@ ZINCS = @ZINCS@
ZLIBS
=
@ZLIBS@
ZLIBSPEC
=
@ZLIBSPEC@
ZLIBTESTSPEC
=
@ZLIBTESTSPEC@
gcc_version
=
@gcc_version@
glibjava_CXX
=
@glibjava_CXX@
here
=
@here@
libgcj_basedir
=
@libgcj_basedir@
...
...
@@ -150,7 +151,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
:
...
...
@@ -178,7 +179,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/testsuite/lib/libjava.exp
View file @
395cb211
...
...
@@ -112,6 +112,7 @@ proc libjava_init { args } {
global TOOL_EXECUTABLE
global original_ld_library_path
global env objdir
global env gcc_version
if { $libjava_initialized == 1 } { return; }
...
...
@@ -127,6 +128,11 @@ proc libjava_init { args } {
}
}
# Determine the version so we can find the libgcj jar file.
set text [eval exec "$GCJ_UNDER_TEST --version 2>@ stdout"]
regexp -- "gcj \[^ \]+ (\[^ \]+) .*" $text ignore gcc_version
verbose "jar file is libgcj-$gcc_version.jar"
# The -B is so we find libgcj.spec.
set text [eval exec "$GCJ_UNDER_TEST -B$objdir/../ -v 2>@ stdout"]
regexp -- "Thread model: (\[^\n\]+)\n" $text ignore model
...
...
@@ -222,6 +228,7 @@ proc libjava_arguments {{mode compile}} {
global runtests
global env
global tool_root_dir
global gcc_version
if [info exists LIBJAVA] {
set libjava $LIBJAVA;
...
...
@@ -292,9 +299,9 @@ proc libjava_arguments {{mode compile}} {
verbose "LD_LIBRARY_PATH = $env(LD_LIBRARY_PATH)"
# Set the CLASSPATH environment variable
verbose "CLASSPATH is .:$srcdir/$subdir:$objdir:$objdir/../libgcj.jar"
verbose "CLASSPATH is .:$srcdir/$subdir:$objdir:$objdir/../libgcj
-$gcc_version
.jar"
global env
set env(CLASSPATH) ".:$srcdir/$subdir:$objdir:$objdir/../libgcj.jar"
set env(CLASSPATH) ".:$srcdir/$subdir:$objdir:$objdir/../libgcj
-$gcc_version
.jar"
if {$mode == "link"} {
global wrapper_file wrap_compile_flags;
...
...
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