Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From d80bd792323dbd56269309f85b4506eb6b1b60e9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Andrei Gherzan <andrei@gherzan.ro> |
| 3 | Date: Tue, 15 Aug 2017 15:05:47 +0800 |
| 4 | Subject: [PATCH 03/11] link with lcrypto |
| 5 | |
| 6 | From 4.2.0 final release, -lcrypto check was removed and we compile |
| 7 | static libraries |
| 8 | from bind that are linked to libcrypto. This is why i added a patch in |
| 9 | order to add |
| 10 | -lcrypto to LIBS. |
| 11 | |
| 12 | Upstream-Status: Pending |
| 13 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
| 14 | |
| 15 | Rebase to 4.3.6 |
| 16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 17 | --- |
| 18 | configure.ac | 4 ++++ |
| 19 | 1 file changed, 4 insertions(+) |
| 20 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 21 | Index: dhcp-4.4.1/configure.ac |
| 22 | =================================================================== |
| 23 | --- dhcp-4.4.1.orig/configure.ac |
| 24 | +++ dhcp-4.4.1/configure.ac |
| 25 | @@ -612,6 +612,10 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 26 | # Look for optional headers. |
| 27 | AC_CHECK_HEADERS(sys/socket.h net/if_dl.h net/if6.h regex.h) |
| 28 | |
| 29 | +# find an MD5 library |
| 30 | +AC_SEARCH_LIBS(MD5_Init, [crypto]) |
| 31 | +AC_SEARCH_LIBS(MD5Init, [crypto]) |
| 32 | + |
| 33 | # Solaris needs some libraries for functions |
| 34 | AC_SEARCH_LIBS(socket, [socket]) |
| 35 | AC_SEARCH_LIBS(inet_ntoa, [nsl]) |