aboutsummaryrefslogtreecommitdiff
path: root/java/icedtea-web/files/patch-configure
blob: bbfb93a2a34712c247d8385b57212f89683d620b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- configure.orig	2016-02-03 13:49:09 UTC
+++ configure
@@ -10114,14 +10114,10 @@ if test "${with_junit+set}" = set; then 
         JUNIT_JAR=no
         ;;
       *)
-        if test -f "${withval}"; then
-          JUNIT_JAR="${withval}"
-        elif test -z "${withval}"; then
+        if test -z "${withval}"; then
           JUNIT_JAR=yes
         else
-          { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
-$as_echo "not found" >&6; }
-          as_fn_error $? "\"The junit jar ${withval} was not found.\"" "$LINENO" 5
+          JUNIT_JAR="${withval}"
         fi
         ;;
     esac
@@ -10186,14 +10182,10 @@ if test "${with_hamcrest+set}" = set; th
         HAMCREST_JAR=no
         ;;
       *)
-        if test -f "${withval}"; then
-          HAMCREST_JAR="${withval}"
-        elif test -z "${withval}"; then
+        if test -z "${withval}"; then
           HAMCREST_JAR=yes
         else
-          { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
-$as_echo "not found" >&6; }
-          as_fn_error $? "\"The hamcrest jar ${withval} was not found.\"" "$LINENO" 5
+          HAMCREST_JAR="${withval}"
         fi
         ;;
     esac