Revert r3612, the autoconf warning is correct and be the default in future

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3620 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
alonbl 2009-01-16 17:13:32 +00:00
parent 0876222c5f
commit 51824acab7
1 changed files with 3 additions and 3 deletions

View File

@ -503,11 +503,11 @@ if test "${enable_pcsc}" = "yes"; then
test -z "${PCSC_CFLAGS}" && PCSC_CFLAGS="-I/usr/include/PCSC"
fi
saved_CPPFLAGS="${CPPFLAGS}"
CPPFLAGS="${CPPFLAGS} ${PCSC_CFLAGS}"
saved_CFLAGS="${CFLAGS}"
CFLAGS="${CFLAGS} ${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])])
CPPFLAGS="${saved_CPPFLAGS}"
CFLAGS="${saved_CFLAGS}"
if test "${with_pcsc_provider}" = "detect"; then
case "${host}" in