]> www.average.org Git - pam_pcsc_cr.git/blobdiff - configure.ac
crypto iface compiles
[pam_pcsc_cr.git] / configure.ac
index 02169b4c38b1dae24d6e3f085eca39a6c660fae7..1e6cdfa850fa1b24e5bb95e6f1ccaa0c5b78df4f 100644 (file)
@@ -73,9 +73,11 @@ AS_IF([test "x$use_openssl" != "xyes" -a "x$use_tomcrypt" != "xyes"], [
 
 AS_IF([test "x$use_openssl" = "xyes"], [
   CRYPTO_OBJS+=" ossl_crypto.lo"
+  AC_DEFINE([HAVE_OPENSSL], [1], [Use openssl libcrypto])
 ])
 AS_IF([test "x$use_tomcrypt" = "xyes"], [
   CRYPTO_OBJS+=" tom_crypto.lo"
+  AC_DEFINE([HAVE_TOMCRYPT], [1], [Use libtomcrypt])
 ])
 AC_SUBST(CRYPTO_OBJS)