Index: aclocal/dc_pcsc.m4 ================================================================== --- aclocal/dc_pcsc.m4 +++ aclocal/dc_pcsc.m4 @@ -6,10 +6,22 @@ ]) if test "${manualheaders}" != "no"; then CFLAGS="${CFLAGS} -I${manualheaders}" CPPFLAGS="${CPPFLAGS} -I${manualheaders}" + + AC_CHECK_HEADER(wintypes.h, [ + AC_DEFINE(HAVE_WINTYPES_H, [1], [Define if you have the PCSC-Lite header file (you should)]) + ]) + + AC_CHECK_HEADER(pcsclite.h, [ + AC_DEFINE(HAVE_PCSCLITE_H, [1], [Define if you have the PCSC-Lite header file (you should)]) + ]) + + AC_CHECK_HEADER(winscard.h, [ + AC_DEFINE(HAVE_WINSCARD_H, [1], [Define if you have the PCSC-Lite header file (you should)]) + ]) else DC_PCSC_HEADERS_SEARCH fi ]) Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -1,6 +1,6 @@ -AC_INIT(cackey, 0.5.14) +AC_INIT(cackey, 0.5.15) AC_CONFIG_HEADERS(config.h) dnl Locate standard tools AC_PROG_CC AC_PROG_MAKE_SET