X-Git-Url: http://www.average.org/gitweb/?p=pam_pcsc_cr.git;a=blobdiff_plain;f=configure.ac;h=1e6cdfa850fa1b24e5bb95e6f1ccaa0c5b78df4f;hp=6974af93ad2cd01c4c444975b0b61a7b7e71dd41;hb=740b870a7a4d1936991d856f5427e4c10c2c849a;hpb=e4f8f47a6383ad086d68edc071bb701cfc5c0b28 diff --git a/configure.ac b/configure.ac index 6974af9..1e6cdfa 100644 --- a/configure.ac +++ b/configure.ac @@ -47,7 +47,7 @@ AS_IF([test "x$OPENSSL_CFLAGS" != "x" -o "x$OPENSSL_LIBS" != "x" ], [ CPPFLAGS="$OPENSSL_CFLAGS $CPPFLAGS" LIBS="$OPENSSL_LIBS $LIBS" -AC_ARG_ENABLE(enable_tomcrypt, +AC_ARG_ENABLE(tomcrypt, [ --enable-tomcrypt use libtomcrypt even when openssl present]) AS_IF([test "x$use_openssl" != "xyes" -o "x$enable_tomcrypt" = "xyes"], [ @@ -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)