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