From NEWS file of opensc package:
This library is now internal, only
used by opensc-pkcs11.so and command line tools. Header files are
no longer installed, library should not be used by other applications.
Please use generic PKCS#11 interface instead.
See attachment too.
--enable-opensc option to configure
This is a bit more complicated.
Disabling it is not an option, because the initial reason for developing OpenNX, was to provide a SmartCard-capable NX client. Which is very important here...
I'm currently checking different options (use libp11 from nxssh, using a statically linked opensc from the GUI, etc..)
Note: the GUI (especially the watchreader app) needs to be fast and does not do anything with SmardCard (PKCS11-wise) except checking for their presence (respectively removal). For that, i does not need to go thru a full PKCS11 context initialization which is painfully slow. Using opensc directly (until now) did exactly that. For nxssh, it's another story - it will have to use libp11 - which actually is'n a big problem, since there is already pkcs11-support in openssh.
So simply give me some time ...
-Fritz
In Fritz didn't fully decide yet, I would like to express my favor for having opensc support optional. There are certain cases where installing opensc is not an option (for various reasons...).