File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,13 @@ AC_ARG_ENABLE(
259259 [ enable_sm="yes"]
260260)
261261
262+ AC_ARG_ENABLE (
263+ [ piv-sm] ,
264+ [ AS_HELP_STRING ( [ --enable-piv-sm] ,[ enable SM in PIV card driver linkage @<:@ disabled@:>@ ] ) ] ,
265+ ,
266+ [ enable_piv_sm="no"]
267+ )
268+
262269AC_ARG_ENABLE (
263270 [ man] ,
264271 [ AS_HELP_STRING ( [ --disable-man] ,[ disable installation of manuals @<:@ enabled for none Windows@:>@ ] ) ] ,
@@ -854,6 +861,10 @@ else
854861 OPENPACE_LIBS=""
855862fi
856863
864+ if test "${enable_piv_sm}" = "yes"; then
865+ AC_DEFINE ( [ ENABLE_PIV_SM] , [ 1] , [ Enable PIV SM] )
866+ fi
867+
857868if test "${enable_openct}" = "yes"; then
858869 PKG_CHECK_MODULES(
859870 [ OPENCT] ,
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ app default {
237237 # piv_max_object_size = 16384;
238238 # May be set via environment: PIV_MAX_OBJECT_SIZE=16384
239239
240- # *NOTE* The following are only useble if OpenSC is built with CPPFLAGS=-DENABLE_PIV_SM
240+ # *NOTE* The following are only useble if OpenSC is configured with --enable-piv-sm
241241 # The names and locations are likely to change in the future
242242 # See: https://github.com/OpenSC/OpenSC/pull/2053/files#r1267388721
243243
You can’t perform that action at this time.
0 commit comments