mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 23:30:59 +08:00
Disable libgcjx by default.
* configure.in: Add support for --enable-java-awt configure option. Use --enable-java-awt=xlib to build the xlib peers (libgcjx). * Makefile.am: Make libgcjx conditional on XLIB_AWT, instead of NO_X. * Makefile.in: Rebuilt. * configure: Rebuilt. From-SVN: r39970
This commit is contained in:
parent
810e8b5200
commit
5950e01622
@ -5,6 +5,15 @@
|
||||
loadFactor > 1. Add exception messages.
|
||||
* java/util/Hashtable.java (Hashtable): Likewise.
|
||||
|
||||
2001-02-21 Bryce McKinlay <bryce@albatross.co.nz>
|
||||
|
||||
Disable libgcjx by default.
|
||||
* configure.in: Add support for --enable-java-awt configure option.
|
||||
Use --enable-java-awt=xlib to build the xlib peers (libgcjx).
|
||||
* Makefile.am: Make libgcjx conditional on XLIB_AWT, instead of NO_X.
|
||||
* Makefile.in: Rebuilt.
|
||||
* configure: Rebuilt.
|
||||
|
||||
2001-02-20 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* java/io/PipedWriter.java (flush): Throw exception if stream
|
||||
|
@ -23,10 +23,10 @@ toolexecdir = $(exec_prefix)/$(target_alias)
|
||||
toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
|
||||
endif
|
||||
|
||||
if NO_X
|
||||
cond_x_ltlibrary =
|
||||
else
|
||||
if XLIB_AWT
|
||||
cond_x_ltlibrary = libgcjx.la
|
||||
else
|
||||
cond_x_ltlibrary =
|
||||
endif
|
||||
|
||||
toolexeclib_LTLIBRARIES = libgcj.la $(cond_x_ltlibrary)
|
||||
|
@ -124,8 +124,8 @@ AUTOMAKE_OPTIONS = foreign no-installinfo
|
||||
@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)
|
||||
@NO_X_TRUE@cond_x_ltlibrary =
|
||||
@NO_X_FALSE@cond_x_ltlibrary = @NO_X_FALSE@libgcjx.la
|
||||
@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
|
||||
@ -1198,7 +1198,7 @@ libgcj-test.spec.in libgcj.spec.in
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = gtar
|
||||
TAR = tar
|
||||
GZIP_ENV = --best
|
||||
DIST_SUBDIRS = @DIRLTDL@ testsuite gcj include @DIRLTDL@ gcj include
|
||||
DEP_FILES = .deps/$(srcdir)/$(CONVERT_DIR)/gen-from-JIS.P \
|
||||
|
610
libjava/configure
vendored
610
libjava/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -745,7 +745,36 @@ fi
|
||||
|
||||
AC_PATH_XTRA
|
||||
|
||||
AM_CONDITIONAL(NO_X, test "$no_x" = yes)
|
||||
dnl Determine which AWT peer libraries to build
|
||||
AC_ARG_ENABLE(java-awt,
|
||||
[ --enable-java-awt list of AWT peer implementations to be built])
|
||||
|
||||
peerlibs="`echo ${enable_java_awt} | tr ',' ' '`"
|
||||
use_xlib_awt=""
|
||||
use_gtk_awt=""
|
||||
|
||||
for peer in $peerlibs ; do
|
||||
case $peer in
|
||||
xlib)
|
||||
if [test "$no_x" = yes]; then
|
||||
echo "*** xlib peers requested but no X library available" 1>&2
|
||||
exit 1
|
||||
else
|
||||
use_xlib_awt="yes"
|
||||
fi
|
||||
;;
|
||||
gtk)
|
||||
# Nothing, yet...
|
||||
;;
|
||||
*)
|
||||
echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
|
||||
exit 1
|
||||
esac
|
||||
done
|
||||
|
||||
AM_CONDITIONAL(XLIB_AWT, test "$use_xlib_awt" = yes)
|
||||
AM_CONDITIONAL(GTK_AWT, test "$use_gtk_awt" = yes)
|
||||
|
||||
|
||||
here=`pwd`
|
||||
AC_SUBST(here)
|
||||
|
Loading…
x
Reference in New Issue
Block a user