Correctly handle PCSC header files on Mac OS X

Fixes Issue #195
This commit is contained in:
Ludovic Rousseau 2012-05-16 13:34:21 +00:00
parent 3737481262
commit 782b72e29f
2 changed files with 6 additions and 2 deletions

View file

@ -17,7 +17,7 @@ AC_DEFUN([LIBNFC_CHECK_PCSC],
if test x"$HAVE_PCSC" = "x0" ; then
AC_MSG_CHECKING(for PC/SC)
libpcsclite_LIBS="-Wl,-framework,PCSC"
libpcsclite_CFLAGS="-I/System/Library/Frameworks/PCSC.framework/Headers"
libpcsclite_CFLAGS=""
HAVE_PCSC=1
AC_MSG_RESULT(yes: darwin PC/SC framework)
fi