Provide default system PCSC_CFLAGS on Mac OS X

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3611 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
martin 2009-01-15 20:01:52 +00:00
parent c64fd881e9
commit 86fe58e326
1 changed files with 7 additions and 0 deletions

View File

@ -491,6 +491,13 @@ fi
if test "${enable_pcsc}" = "yes"; then
AC_ARG_VAR([PCSC_CFLAGS], [C compiler flags for pcsc])
case "${host}" in
*-*-darwin*)
test -z "${PCSC_CFLAGS}" && PCSC_CFLAGS="-I/System/Library/Frameworks/PCSC.framework/Headers"
;;
esac
if test "${WIN32}" != "yes"; then
test -z "${PCSC_CFLAGS}" && PCSC_CFLAGS="-I/usr/include/PCSC"
fi