From d04dd5c6490aaeacdae97981dc2314fd9ddd3b35 Mon Sep 17 00:00:00 2001 From: vtarasov Date: Fri, 13 May 2011 13:27:25 +0000 Subject: [PATCH] configure: add configuration option for support of 'Secure Messaging', desabled by default git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5441 c6295689-39f2-0310-b995-f0e70906c6a9 --- configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configure.ac b/configure.ac index 8a94f81f..7d333c0c 100644 --- a/configure.ac +++ b/configure.ac @@ -134,6 +134,13 @@ AC_ARG_ENABLE( [enable_minidriver="no"] ) +AC_ARG_ENABLE( + [sm], + [AS_HELP_STRING([--enable-sm],[enable secure messaging support and modules @<:@disabled@:>@])], + , + [enable_sm="no"] +) + AC_ARG_ENABLE( [man], [AS_HELP_STRING([--disable-man],[disable installation of manuals @<:@enabled for none Windows@:>@])], @@ -303,6 +310,10 @@ if test "${enable_minidriver}" = "yes"; then AC_DEFINE([ENABLE_MINIDRIVER], [1], [Enable minidriver support]) fi +if test "${enable_sm}" = "yes"; then + AC_DEFINE([ENABLE_SM], [1], [Enable secure messaging support]) +fi + AC_ARG_VAR([ZLIB_CFLAGS], [C compiler flags for zlib]) AC_ARG_VAR([ZLIB_LIBS], [linker flags for zlib]) if test -z "${ZLIB_LIBS}"; then @@ -562,6 +573,7 @@ AM_CONDITIONAL([ENABLE_DOC], [test "${enable_doc}" = "yes"]) AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"]) AM_CONDITIONAL([CYGWIN], [test "${CYGWIN}" = "yes"]) AM_CONDITIONAL([ENABLE_MINIDRIVER], [test "${enable_minidriver}" = "yes"]) +AM_CONDITIONAL([ENABLE_SM], [test "${enable_sm}" = "yes"]) if test "${enable_pedantic}" = "yes"; then enable_strict="yes"; @@ -622,6 +634,7 @@ PC/SC support: ${enable_pcsc} OpenCT support: ${enable_openct} CT-API support: ${enable_ctapi} minidriver support: ${enable_minidriver} +SM support: ${enable_sm} PC/SC default provider: ${DEFAULT_PCSC_PROVIDER}