Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ATR parser path detect #82

Closed

Conversation

CoelacanthusHex
Copy link

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 <[email protected]>
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