[Libreoffice-commits] .: configure.in

Miklos Vajna vmiklos at kemper.freedesktop.org
Fri Apr 1 10:18:04 PDT 2011


 configure.in |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 7d5c250a4d70b92460f3bf199dc8db9f69651b3b
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Fri Apr 1 18:30:58 2011 +0200

    configure: add hamcrest jar to classpath after junit, if found
    
    Hamcrest is a dependency for JUnit-4.4+ and it's packaged separetely on
    some systems.

diff --git a/configure.in b/configure.in
index 80af57e..6a84f97 100755
--- a/configure.in
+++ b/configure.in
@@ -7657,6 +7657,11 @@ if test "$SOLAR_JAVA" != "" && test "$with_junit" != "no"; then
         else
             OOO_JUNIT_JAR=/usr/share/java/junit.jar
         fi
+        # hamcrest is a dependency of junit, add it to the classpath if
+        # found
+        if test -e /usr/share/java/hamcrest-core.jar; then
+            OOO_JUNIT_JAR=$OOO_JUNIT_JAR:/usr/share/java/hamcrest-core.jar
+        fi
     else
         OOO_JUNIT_JAR=$with_junit
     fi


More information about the Libreoffice-commits mailing list