Skip to contentSkip to conversation

tools/configure: Drop -lcrypto search

PATCH Applied Ian Jackson 2 participants 3 messages Nov 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/configure: Drop -lcrypto search

This seems to be looking for a function MD5. But nothing uses it. The build works fine if this is disabled and libcrypto is not installed.

This check was first introduced in 68a3e1e87325 "[TOOLS] Add more checks for devel packages." in 2006. At that time -lcrypto was used by tools/blktap/ and tools/vtpm_manager/, which are both gone now.

---
 tools/config.h.in  |  3 ---
 tools/configure    | 47 -----------------------------------------------
 tools/configure.ac |  1 -
 3 files changed, 51 deletions(-)
tools/config.h.in +0 -3
index 58856bc..c66a78c 100644
@@ -30,9 +30,6 @@
 /* Define to 1 if you have the `aio' library (-laio). */
 #undef HAVE_LIBAIO
 
-/* Define to 1 if you have the `crypto' library (-lcrypto). */
-#undef HAVE_LIBCRYPTO
-
 /* Define to 1 if you have the `fdt' library (-lfdt). */
 #undef HAVE_LIBFDT
 
tools/configure +0 -47

53 lines not on this page · raw message

tools/configure.ac +0 -1
index 1a8e493..873e18d 100644
@@ -375,7 +375,6 @@ AS_IF([test "x$enable_blktap2" = "xyes"], [
 AC_CHECK_LIB([aio], [io_setup], [], [AC_MSG_ERROR([Could not find libaio])])
 ])
 AC_SUBST(system_aio)
-AC_CHECK_LIB([crypto], [MD5], [], [AC_MSG_ERROR([Could not find libcrypto])])
 AX_CHECK_EXTFS
 AC_CHECK_LIB([gcrypt], [gcry_md_hash_buffer], [libgcrypt="y"], [libgcrypt="n"])
 AC_SUBST(libgcrypt)
Signature · 7 lines
2.10.2


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Ian Jackson

This seems to be looking for a function MD5. But nothing uses it. The build works fine if this is disabled and libcrypto is not installed.

This check was first introduced in 68a3e1e87325 "[TOOLS] Add more checks for devel packages." in 2006. At that time -lcrypto was used by tools/blktap/ and tools/vtpm_manager/, which are both gone now.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

Applied
#2 lore raw
Quoted 5 lines · Wei Liu
Quoted 4 lines · Ian Jackson

This seems to be looking for a function MD5. But nothing uses it. The build works fine if this is disabled and libcrypto is not installed.

Quoted 7 lines
Quoted 5 lines

This check was first introduced in 68a3e1e87325 "[TOOLS] Add more checks for devel packages." in 2006. At that time -lcrypto was used by tools/blktap/ and tools/vtpm_manager/, which are both gone now.

Applied

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel