From 7a7729219f214d439e89c106553a9e1a6b39ad56 Mon Sep 17 00:00:00 2001 From: Markus Teich Date: Tue, 28 Jun 2016 22:11:18 +0200 Subject: [PATCH] replace pari with gcrypt in autofoo --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 7045a2f..8fb077e 100644 --- a/configure.ac +++ b/configure.ac @@ -14,10 +14,10 @@ AC_PROG_CC_C99 LT_INIT([pic-only]) # Checks for libraries. -AC_SEARCH_LIBS([pari_init], [pari], [], [AC_MSG_ERROR([unable to find the pari_init() function from libpari])]) +AC_SEARCH_LIBS([gcry_check_version], [gcrypt], [], [AC_MSG_ERROR([unable to find the gcry_check_version() function from libgcrypt])]) # Checks for header files. -AC_CHECK_HEADER(pari/pari.h, [], [AC_MSG_ERROR([unable to find the pari.h header file from libpari])], []) +AC_CHECK_HEADER(gcrypt.h, [], [AC_MSG_ERROR([unable to find the gcrypt.h header file from libgcrypt])], []) # Checks for typedefs, structures, and compiler characteristics. AC_TYPE_SIZE_T