[Libreoffice-commits] .: 2 commits - configure.cmd configure.in set_soenv.in

Thomas Arnhold tarnhold at kemper.freedesktop.org
Sun Feb 13 13:46:52 PST 2011


 configure.cmd |    7 -------
 configure.in  |   39 ---------------------------------------
 set_soenv.in  |    1 -
 3 files changed, 47 deletions(-)

New commits:
commit f21ae7220562d326a49b4dc8ca817e307b599455
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sat Feb 12 17:01:06 2011 +0100

    Remove configure.cmd as it's a personal file

diff --git a/configure.cmd b/configure.cmd
deleted file mode 100755
index dfdc0b6..0000000
--- a/configure.cmd
+++ /dev/null
@@ -1,7 +0,0 @@
- at echo off
-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 --without-nas --without-fonts --with-ant-home=%MY_ANT_HOME%" | tee configure.log
-endlocal
commit a67a2555a34b07babbbbbfc809e7d58e9ee6c8f3
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sat Feb 12 11:58:01 2011 +0100

    Easy hack: remove obsolete gjc aot compilation

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" );


More information about the Libreoffice-commits mailing list