Get rid of configure warnings:
{{{ configure: WARNING: winscard.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: winscard.h: proceeding with the compiler's result }}} git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3612 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
86fe58e326
commit
6f72e22b31
|
@ -502,11 +502,11 @@ if test "${enable_pcsc}" = "yes"; then
|
|||
test -z "${PCSC_CFLAGS}" && PCSC_CFLAGS="-I/usr/include/PCSC"
|
||||
fi
|
||||
|
||||
saved_CFLAGS="${CFLAGS}"
|
||||
CFLAGS="${CFLAGS} ${PCSC_CFLAGS}"
|
||||
saved_CPPFLAGS="${CPPFLAGS}"
|
||||
CPPFLAGS="${CPPFLAGS} ${PCSC_CFLAGS}"
|
||||
# We must cope with mingw32 that does not have winscard.h mingw64 has it.
|
||||
AC_CHECK_HEADERS([winscard.h],,[test "${WIN32}" != "yes" && AC_MSG_ERROR([winscard.h is required for pcsc])])
|
||||
CFLAGS="${saved_CFLAGS}"
|
||||
CPPFLAGS="${saved_CPPFLAGS}"
|
||||
|
||||
if test "${with_pcsc_provider}" = "detect"; then
|
||||
case "${host}" in
|
||||
|
|
Loading…
Reference in New Issue