A "syntax error" is usually not the expected error message if pkg-config can't find a module. But it may be that the properly installed libnfc will provide the LIBNFC
macro that configure purports to be unable to find.
You could try ./autogen.sh
and then re-run configure; that might help if the default shipped configure
script is bad (autogen.sh
regenerates configure
from configure.in
, provided you have the correct dependencies installed (autoconf, automake, GNU make, and, usually, libtool.)
If that doesn't work, you need to run ./configure --help and figure out the environment variables to specify to manually set the path to libnfc's headers and libraries. The paths to actually set in the environment will depend entirely on where (if anywhere) you installed libnfc... the headers are the .h files and the libs are the .dll files (or .a files if you're compiling statically).
Don't have specific experience with mfcuk
but autoconf stuff should work the same between packages... I do have a fair bit of experience with autoconf on Windows/MinGW32. So post back if you get stuck.