[Libreoffice-commits] .: configure.in

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Sun Aug 28 18:26:20 PDT 2011


 configure.in |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f5d72dd4ac63c3da4f7a15efec653041c736b383
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Aug 28 20:25:50 2011 -0500

    clean-up work files

diff --git a/configure.in b/configure.in
index f55e00f..24993bc 100755
--- a/configure.in
+++ b/configure.in
@@ -3966,7 +3966,6 @@ _ACEOF
                 cat findhome.java >&5
                 AC_MSG_ERROR([javac does not work - java projects will not build!])
             fi
-
             AC_MSG_CHECKING([if gij knows its java.home])
             JAVA_HOME=`$JAVAINTERPRETER findhome`
             if test $? = 0 && test "$JAVA_HOME" != "" ; then
@@ -3976,6 +3975,8 @@ _ACEOF
                 cat findhome.java >&5
                 AC_MSG_ERROR([gij does not know its java.home - use --with-jdk-home])
             fi
+            # clean-up after ourselves
+            rm -f ./findhome.java ./findhome.class
         else
             JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*$with_java,,p"`
         fi


More information about the Libreoffice-commits mailing list