Skip to content

fix ATR parser path detect - #82

Closed
CoelacanthusHex wants to merge 1 commit into
LudovicRousseau:masterfrom
CoelacanthusHex:fix/ATRPARSER
Closed

CoelacanthusHex wants to merge 1 commit into
LudovicRousseau:masterfrom
CoelacanthusHex:fix/ATRPARSER

Conversation

@CoelacanthusHex

Copy link
Copy Markdown

In 57f1b8b, LudovicRousseau try to add a option to specify ATR parser command. But in logic of this commit, if no --enable-parser=foobar was specified (i.e. $ATRparser == no), configure.ac will ignore default path which was set in $ATR_PARSER and then lead ATR analyze feature of pcsc_scan to be lost. So I add a new branch: if $ATRparser is no and $ATR_PARSER is not no, it will use $ATR_PARSER. At same time, set ATRparser to ATR_PARSER to ensure stats at the end works correctly.

In LudovicRousseau@57f1b8b,
LudovicRousseau try to add a option to specify ATR parser command. But
in logic of this commit, if no --enable-parser=foobar was specified
(i.e. $ATRparser == no), configure.ac will ignore default path which was
set in $ATR_PARSER and then lead ATR analyze feature of pcsc_scan to be
lost. So I add a new branch: if $ATRparser is no and $ATR_PARSER is not
no, it will use $ATR_PARSER. At same time, set ATRparser to ATR_PARSER
to ensure stats at the end works correctly.

Signed-off-by: Coelacanthus <CoelacanthusHex@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant