diff options
author | Tomas Chvatal <tchvatal@suse.cz> | 2012-03-18 12:28:44 +0100 |
---|---|---|
committer | Tomas Chvatal <tchvatal@suse.cz> | 2012-03-18 12:29:27 +0100 |
commit | 86793aeed94d839251e1b1098d4c8389ab7a72ae (patch) | |
tree | 5a55eba3dec79a67419873a76b49a6b4136bafe9 /configure.in | |
parent | eb1ffc1a21ec5e205ab7933200c45e52a67155a4 (diff) |
Add check for hamcrest even if it is not first in classpath.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 27b181334131..b7c22760fed4 100644 --- a/configure.in +++ b/configure.in @@ -10424,7 +10424,7 @@ if test "$SOLAR_JAVA" != "" -a "$with_junit" != "no"; then # check if either class-path entry is available for hamcrest or # it's bundled if "$JAVA_HOME/bin/jar" tf "$OOO_JUNIT_JAR" |$GREP -q hamcrest || \ - "$UNZIP" -c "$OOO_JUNIT_JAR" META-INF/MANIFEST.MF |$GREP -q 'Class-Path: hamcrest'; then + "$UNZIP" -c "$OOO_JUNIT_JAR" META-INF/MANIFEST.MF |$GREP 'Class-Path:' | $GREP -q 'hamcrest'; then AC_MSG_RESULT([$OOO_JUNIT_JAR]) else AC_MSG_ERROR([your junit jar neither sets a classpath nor includes hamcrest; please |