I have some experience with Gentoo, so I know the compiler meaning of CFLAGS, but when I try to configure https://github.com/OpenSC/pam_pkcs11 :
# ./bootstrap&&./configure&&make clean&&make&&make install ... checking for winscard.h... no configure: error: winscard.h not found, install pcsc-lite, or use PCSC_CFLAGS=... ./configure
I do have pcsc though(repo version):
# dpkg -l pcscd Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-======================================-========================-========================-================================================================================== ii pcscd 1.8.10-1ubuntu1 amd64 Middleware to access a smart card using PC/SC (daemon side)
I don't want to install pcsc_lite though, because I have had a lot of trouble getting my smartcard reader to work and I don't really want to go through that again. That's why I'm interested in CFLAGS. Is there a way that I can point the
./compile to pcscd?