7686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for junit jar" >&5
7687
$as_echo_n "checking for junit jar... " >&6; }
7689
# Check whether --with-junit was given.
7690
if test "${with_junit+set}" = set; then :
7691
withval=$with_junit;
7692
case "${withval}" in
7700
if test -f "${withval}"; then
7701
JUNIT_JAR="${withval}"
7702
elif test -z "${withval}"; then
7705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7706
$as_echo "not found" >&6; }
7707
as_fn_error $? "\"The junit jar ${withval} was not found.\"" "$LINENO" 5
7718
it_extra_paths_junit="/usr/share/java/junit4.jar"
7719
if test "x${JUNIT_JAR}" = "xyes"; then
7720
for path in ${it_extra_paths_junit}; do
7721
if test -f ${path}; then
7727
if test x"${JUNIT_JAR}" = "xyes"; then
7728
if test -f "/usr/share/java/junit.jar"; then
7729
JUNIT_JAR=/usr/share/java/junit.jar
7732
if test x"${JUNIT_JAR}" = "xyes"; then
7735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JUNIT_JAR}" >&5
7736
$as_echo "${JUNIT_JAR}" >&6; }
7737
if test x"${JUNIT_JAR}" != "xno"; then
7739
WITH_JUNIT_FALSE='#'
7745
# Clear JUNIT_JAR if it doesn't contain a valid filename
7746
if test x"${JUNIT_JAR}" = "xno"; then
7749
if test -n "${JUNIT_JAR}" ; then
7750
JUNIT_AVAILABLE=true
7752
JUNIT_AVAILABLE=false
7680
7758
ac_config_files="$ac_config_files jrunscript"
7682
7760
ac_config_files="$ac_config_files build.properties"
7868
7946
as_fn_error $? "conditional \"WITH_RHINO\" was never defined.
7869
7947
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7949
if test -z "${WITH_JUNIT_TRUE}" && test -z "${WITH_JUNIT_FALSE}"; then
7950
as_fn_error $? "conditional \"WITH_JUNIT\" was never defined.
7951
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7872
7954
: ${CONFIG_STATUS=./config.status}
7873
7955
ac_write_fail=0