Hans Leidekker (@hans) commented about configure.ac:
esac fi
fi -WINE_NOTICE_WITH(pcsclite,[test "x$PCSCLITE_LIBS" = x || test "$ac_cv_header_PCSC_pcsclite_h" != "yes"], +WINE_NOTICE_WITH(pcsclite,[test "x$PCSCLITE_LIBS" = x],
Looks like you can remove the other header check too, as well as the relevant line from AC_CHECK_HEADERS.