34a5dc1e28
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=3e128ea1dfe1f438c5c539850885a0ad
17 lines
443 B
Diff
17 lines
443 B
Diff
--- dhcp-4.1.1/configure.ac
|
|
+++ dhcp-4.1.1/configure.ac 2010/05/03 12:25:59
|
|
@@ -420,8 +420,13 @@ AC_TRY_LINK(
|
|
AC_CHECK_HEADERS(sys/socket.h net/if_dl.h net/if6.h regex.h)
|
|
|
|
# find an MD5 library
|
|
+saved_LIBS="$LIBS"
|
|
+LIBS=""
|
|
AC_SEARCH_LIBS(MD5_Init, [crypto])
|
|
AC_SEARCH_LIBS(MD5Init, [crypto])
|
|
+CRYPTO_LIBS="$LIBS"
|
|
+LIBS="$saved_LIBS"
|
|
+AC_SUBST(CRYPTO_LIBS)
|
|
|
|
# Solaris needs some libraries for functions
|
|
AC_SEARCH_LIBS(socket, [socket])
|