replace pari with gcrypt in autofoo

This commit is contained in:
Markus Teich 2016-06-28 22:11:18 +02:00
parent 7975df0219
commit 7a7729219f

View File

@ -14,10 +14,10 @@ AC_PROG_CC_C99
LT_INIT([pic-only]) LT_INIT([pic-only])
# Checks for libraries. # 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. # 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. # Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T AC_TYPE_SIZE_T