tools/configure: Drop -lcrypto search
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
@@ -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
@@ -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
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 bytools/blktap/andtools/vtpm_manager/, which are both gone now.Signed-off-by Ian Jackson <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Wei Liu
AppliedQuoted 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 bytools/blktap/andtools/vtpm_manager/, which are both gone now.Signed-off-by Ian Jackson <[email protected]>Acked-by Wei Liu <[email protected]>
Applied
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel