aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntp/files/openssl-check.patch
blob: 8b4a6733cdd36b7319259abb79ae60f30af82216 (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Hack OpenSSL check to work when libssl and libcrypto aren't in same dir

Upstream-Status: Inappropriate [config]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 configure         |    4 ++--
 m4/ntp_openssl.m4 |    4 ++--
 sntp/configure    |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/configure b/configure
index aae2c01..6a3c15e 100755
--- a/configure
+++ b/configure
@@ -22868,8 +22868,8 @@ case "$ans" in
 	    test -f $i/libcrypto.dylib -a -f $i/libssl.dylib && break
 	    ;;
 	 *)
-	    test -f $i/libcrypto.so -a -f $i/libssl.so && break
-	    test -f $i/libcrypto.a -a -f $i/libssl.a && break
+	    test -f $i/libssl.so && break
+	    test -f $i/libssl.a && break
 	    ;;
 	esac
     done
diff --git a/m4/ntp_openssl.m4 b/m4/ntp_openssl.m4
index 7d9f477..67bdd55 100644
--- a/m4/ntp_openssl.m4
+++ b/m4/ntp_openssl.m4
@@ -41,8 +41,8 @@ case "$ans" in
 	    test -f $i/libcrypto.dylib -a -f $i/libssl.dylib && break
 	    ;;
 	 *)
-	    test -f $i/libcrypto.so -a -f $i/libssl.so && break
-	    test -f $i/libcrypto.a -a -f $i/libssl.a && break
+	    test -f $i/libssl.so && break
+	    test -f $i/libssl.a && break
 	    ;;
 	esac
     done
diff --git a/sntp/configure b/sntp/configure
index 7782c29..55e82d9 100755
--- a/sntp/configure
+++ b/sntp/configure
@@ -14810,8 +14810,8 @@ case "$ans" in
 	    test -f $i/libcrypto.dylib -a -f $i/libssl.dylib && break
 	    ;;
 	 *)
-	    test -f $i/libcrypto.so -a -f $i/libssl.so && break
-	    test -f $i/libcrypto.a -a -f $i/libssl.a && break
+	    test -f $i/libssl.so && break
+	    test -f $i/libssl.a && break
 	    ;;
 	esac
     done
-- 
1.7.1