summaryrefslogtreecommitdiff
path: root/src/external/crypto.m4
blob: 19a064d3abb0724360506fd2d56c27a5d2ae2121 (plain)
1
2
3
4
5
6
7
8
9
AC_DEFUN([AM_CHECK_NSS],
         [PKG_CHECK_MODULES([NSS],[nss])
          AC_DEFINE_UNQUOTED(HAVE_NSS, 1, [Build with NSS crypto back end])
])

AC_DEFUN([AM_CHECK_LIBCRYPTO],
         [PKG_CHECK_MODULES([CRYPTO],[libcrypto])
          AC_DEFINE_UNQUOTED(HAVE_LIBCRYPTO, 1, [Build with libcrypt crypto back end])
])