[PATCH] Easy hack: remove obsolete gjc aot compilation
Thomas Arnhold
thomas at arnhold.org
Sat Feb 12 02:58:01 PST 2011
---
configure.cmd | 2 +-
configure.in | 39 ---------------------------------------
set_soenv.in | 1 -
3 files changed, 1 insertions(+), 41 deletions(-)
diff --git a/configure.cmd b/configure.cmd
index aff7e81..dfdc0b6 100755
--- a/configure.cmd
+++ b/configure.cmd
@@ -3,5 +3,5 @@ setlocal
SET MY_ANT_HOME=e:/java150/apache-ant-1.7.0
SET JAVA_HOME=e:\java150
SET PATH=%JAVA_HOME%\bin;%PATH%;%MY_ANT_HOME%\bin;
-sh -c "configure --with-system-openssl --with-system-icu --with-system-libxml --with-system-libxslt --disable-werror --with-use-shell=bash --disable-mozilla --disable-epm --disable-odk --disable-qadevooo --with-x=no --disable-fontconfig --disable-gnome-vfs --disable-gtk --with-java=yes --disable-gcjaot --without-nas --without-fonts --with-ant-home=%MY_ANT_HOME%" | tee configure.log
+sh -c "configure --with-system-openssl --with-system-icu --with-system-libxml --with-system-libxslt --disable-werror --with-use-shell=bash --disable-mozilla --disable-epm --disable-odk --disable-qadevooo --with-x=no --disable-fontconfig --disable-gnome-vfs --disable-gtk --with-java=yes --without-nas --without-fonts --with-ant-home=%MY_ANT_HOME%" | tee configure.log
endlocal
diff --git a/configure.in b/configure.in
index 0e1df63..45a22cd 100755
--- a/configure.in
+++ b/configure.in
@@ -397,13 +397,6 @@ AC_ARG_ENABLE(Xaw,
[Disables the use of Xaw for the Netscape/Mozilla plugin.]),
,)
-AC_ARG_ENABLE(gcjaot,
- AS_HELP_STRING([--enable-gcjaot],
- [Build with[[out]] using Ahead of Time java compilation support to speed
- up buildsi by compiling the jars also to native code.. --enable-gcjaot
- is only known to work with bytecode created with gcj or ecj.]),
-,)
-
AC_ARG_ENABLE(check-only,
AS_HELP_STRING([--enable-check-only],
[Use this option option if you just want to check your environment.
@@ -3548,37 +3541,6 @@ if test "$SOLAR_JAVA" != ""; then
AC_SUBST(AWTLIB)
fi
-dnl ===================================================================
-dnl Check for optional gcj for AOT
-dnl ===================================================================
-if test "$SOLAR_JAVA" != ""; then
- AC_MSG_CHECKING([whether to enable gcj aot compilation])
- if test -n "$enable_gcjaot" && test "$enable_gcjaot" != "no"; then
- AC_MSG_RESULT([yes])
- if test `echo $WITH_JAVA | grep -c "gij"` -eq 0; then
- gcjaot="gcj"
- else
- gcjaot=`echo $WITH_JAVA | $SED -e "s/gij/gcj/g"`
- fi
- AC_MSG_RESULT([$gcjaot])
- if test -n "$with_jdk_home"; then
- _javac_path="$with_jdk_home/bin/$gcjaot"
- dnl Check if there is a gcj at all.
- if test -x "$_javac_path"; then
- JAVAAOTCOMPILER=$_javac_path
- fi
- fi
- if test -z "$JAVAAOTCOMPILER"; then
- AC_PATH_PROG(JAVAAOTCOMPILER, $gcjaot)
- fi
- if test -z "$JAVAAOTCOMPILER"; then
- AC_MSG_WARN([$gcjaot not found, set with_jdk_home])
- fi
- else
- AC_MSG_RESULT([no])
- fi
-fi
-
AC_SUBST(JAVA_HOME)
AC_SUBST(JDK)
AC_SUBST(JAVAFLAGS)
@@ -3587,7 +3549,6 @@ AC_SUBST(JAVA_TARGET_VER)
AC_SUBST(JAVAINTERPRETER)
AC_SUBST(JAVAIFLAGS)
AC_SUBST(JAVACOMPILER)
-AC_SUBST(JAVAAOTCOMPILER)
AC_SUBST(JAVADOC)
dnl ===================================================================
diff --git a/set_soenv.in b/set_soenv.in
index 450f9fa..c914259 100755
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -1786,7 +1786,6 @@ if ( '@JDK@' ne '' )
ToFile( "JAVAINTERPRETER", PathFormat("@JAVAINTERPRETER@"), "e" );
ToFile( "JAVAIFLAGS", "@JAVAIFLAGS@", "e" );
ToFile( "JAVACOMPILER", PathFormat("@JAVACOMPILER@"), "e" );
- ToFile( "JAVAAOTCOMPILER", PathFormat("@JAVAAOTCOMPILER@"), "e" );
ToFile( "JAVADOC", PathFormat("@JAVADOC@"), "e" );
}
ToFile( "SCPDEFS", '@SCPDEFS@', "e" );
--
1.7.3.5
--------------090404010908000403000904--
More information about the LibreOffice
mailing list