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
This commit is contained in:
vtarasov 2011-05-13 13:27:25 +00:00
parent c7ed3da502
commit d04dd5c649
1 changed files with 13 additions and 0 deletions

View File

@ -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}