X-Git-Url: http://www.average.org/gitweb/?p=pam_pcsc_cr.git;a=blobdiff_plain;f=configure.ac;h=2ac5dd93a5d900d3e03d834fcb8fb0814c8c76d5;hp=e6bd59a5aaf2cf37ac5fe29f608fa6cfd20011bf;hb=ab1ccc1f4ceb5786bd722d3a66e870a67972b505;hpb=94cf335f2ec8f4e19250b873aba7ee4eddd7c0d2 diff --git a/configure.ac b/configure.ac index e6bd59a..2ac5dd9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([pam_pcsc_cr], 0.9.4) +AC_INIT([pam_pcsc_cr], 0.9.6) AC_CONFIG_SRCDIR([pam_pcsc_cr.c]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE @@ -11,6 +11,7 @@ AC_PROG_CC if test "X$CC" = "Xgcc"; then CFLAGS="$CFLAGS -Wall" fi +dnl -fstack-protector-all -fsanitize=address AC_PROG_MAKE_SET AC_SUBST(PROGS)dnl @@ -45,7 +46,13 @@ PKG_CHECK_MODULES([PCSC], [libpcsclite]) CPPFLAGS="$PCSC_CFLAGS $CPPFLAGS" LIBS="$PCSC_LIBS $LIBS" -PKG_CHECK_MODULES([OPENSSL], [libcrypto], [], [:]) +AC_ARG_ENABLE(openssl, + [ --disable-openssl do not use openssl even when it is present], + [], [enable_openssl=yes] +) +AS_IF([test "x$enable_openssl" = "xyes"], [ + PKG_CHECK_MODULES([OPENSSL], [libcrypto], [], [:]) +]) AS_IF([test "x$OPENSSL_CFLAGS" != "x" -o "x$OPENSSL_LIBS" != "x" ], [ use_openssl=yes ])