changeset 1725:a139fe25f919

check for poly1305_init in other libtomcrypt configure test
author Matt Johnston <matt@ucc.asn.au>
date Tue, 23 Jun 2020 21:47:54 +0800
parents ca75bb513359
children 57f85129670f
files configure.ac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Tue Jun 23 21:38:46 2020 +0800
+++ b/configure.ac	Tue Jun 23 21:47:54 2020 +0800
@@ -549,7 +549,7 @@
 	[
 		BUNDLED_LIBTOM=0
 		AC_CHECK_LIB(tommath, mp_to_ubin, LIBTOM_LIBS="-ltommath $LIBTOM_LIBS", BUNDLED_LIBTOM=1)
-		AC_CHECK_LIB(tomcrypt, register_cipher, LIBTOM_LIBS="-ltomcrypt $LIBTOM_LIBS", BUNDLED_LIBTOM=1)
+		AC_CHECK_LIB(tomcrypt, poly1305_init, LIBTOM_LIBS="-ltomcrypt $LIBTOM_LIBS", BUNDLED_LIBTOM=1)
 	]
 )